NS 8.2 - Android - `e.getMessage` is not a function on app launch
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 35/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- android, typescript
- Ambito
- mobile-dev, observability
Direzione di ricerca
Riproduci il fallimento dell’avvio di Android utilizzando la chiamata Sentry.init in main.ts con le versioni indicate di NativeScript e Android. Ispeziona node_modules/@nativescript-community/sentry/nssentry.android.js intorno alla riga 461 e l’entry point startWithDsnString; il lavoro è completato quando l’app si avvia senza l’errore getMessage e l’inizializzazione di Sentry funziona su Android.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Make sure to check the demo app(s) for sample usage
Make sure to check the existing issues in this repository
If the demo apps cannot help and there is no issue for your problem, tell us about it
Please, ensure your title is less than 63 characters long and starts with a capital
letter.
Which platform(s) does your issue occur on?
- Android
- Android versions - API 31
- emulator - Pixel 2 API 31 Android 12.0
Please, provide the following version numbers that your issue occurs with:
- CLI: 8.2.2
- Cross-platform modules: (check the 'version' attribute in the
node_modules/tns-core-modules/package.jsonfile in your project) - Runtime(s):
"@nativescript/android": "8.2.2",
"@nativescript/ios": "8.2.1",
"@nativescript/types": "8.2.0",
- Plugin(s): (look for the version numbers in the
package.jsonfile of your
project and paste your dependencies and devDependencies here)
I've tried with the following version of this plugin with the same results:
- 3.1.0
- 3.1.1
- 3.1.2
Please, tell us how to recreate the issue in as much detail as possible.
Describe the steps to reproduce it.
Sentry.init({
dsn: SentryConfig.dsn,
});
Inside of the main.ts file, runs and uploads messages to Sentry on iOS.
On Android I get the following error on launch:
Unhandled Promise rejection: e.getMessage is not a function ; Zone: <root> ; Task: null ; Value: TypeError: e.getMessage is not a function TypeError: e.getMessage is not a function
JS: at file: app/webpack:/mobile/node_modules/@nativescript-community/sentry/nssentry.android.js:461:84
JS: at new ZoneAwarePromise (file: app/webpack:/mobile/node_modules/zone.js/fesm2015/zone.js:1427:0)
JS: at Object.startWithDsnString (file: app/webpack:/mobile/node_modules/@nativescript-community/sentry/nssentry.android.js:317:15)
JS: at new NativescriptBackend (file: app/webpack:/mobile/node_modules/@nativescript-community/sentry/backend.js:15:12)
JS: at new BaseClient (file: app/webpack:/mobile/node_modules/@sentry/core/esm/baseclient.js:51:0)
JS: at new NativescriptClient (file: app/webpack:/mobile/node_modules/@nativescript-community/sentry/client.js:16:0)
JS: at initAndBind (file: app/webpack:/mobile/node_modules/@sentry/core/esm/sdk.js:17:0)
Is there any code involved?
- provide a code example to recreate the problem
- (EVEN BETTER) provide a .zip with application or refer to a repository with application where the problem is reproducible.
- Lingua principale
- TypeScript
- Stelle
- 18
- Fork
- 12
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di nativescript-community/sentry
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 45/100
nativescript-community/sentry#29 · 1 commento ·
-
No sourcemap in SentryAperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
nativescript-community/sentry#23 · 8 commenti ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 35/100
nativescript-community/sentry#22 · 8 commenti ·
-
Sentry.close() does not workAperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 20/100
nativescript-community/sentry#13 · 4 commenti ·
Tutte le issue di nativescript-community/sentry
Issue simili
-
Mend: dependency security vulnerability untriaged
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
opensearch-project/security-dashboards-plugin#2545 ·
I maintainer di solito rispondono entro 1 giorno
-
Add: Dream TR SDApertacheck:passed streams:add
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
I maintainer di solito rispondono entro 1 giorno
-
doctor integrity sample scans soft-deleted pages on Postgres (batch path has no deleted_at filter)Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 72/100
SocialGouv/egapro#4672 · 1 commento ·
I maintainer di solito rispondono entro 2 giorni
-
area:agents area:tui bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
anthropics/claude-code#98358 ·
I maintainer di solito rispondono entro 1 giorno