NS 8.2 - Android - `e.getMessage` is not a function on app launch
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Estancado
- Stack tecnológico
- android, typescript
- Área
- mobile-dev, observability
Línea de trabajo
Reproduce el fallo de inicio de Android utilizando la llamada a Sentry.init en main.ts con las versiones indicadas de NativeScript y Android. Inspecciona node_modules/@nativescript-community/sentry/nssentry.android.js alrededor de la línea 461 y el punto de entrada startWithDsnString; se considera terminado cuando la aplicación se inicia sin el error getMessage y la inicialización de Sentry funciona en Android.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- TypeScript
- Estrellas
- 18
- Forks
- 12
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de nativescript-community/sentry
-
Cannot set sentryGradleVersionAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 45/100
nativescript-community/sentry#29 · 1 comentario ·
-
No sourcemap in SentryAbierto
Dificultad 4/5 3-5 días Aptitud para principiantes 25/100
nativescript-community/sentry#23 · 8 comentarios ·
-
Can't set other options in initAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 35/100
nativescript-community/sentry#22 · 8 comentarios ·
-
Sentry.close() does not workAbierto
Dificultad 3/5 1-2 días Aptitud para principiantes 35/100
-
Dificultad 4/5 3-5 días Aptitud para principiantes 20/100
nativescript-community/sentry#13 · 4 comentarios ·
Todos los issues de nativescript-community/sentry
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 77/100
TomerAberbach/profiler-md#733 ·
Los mantenedores suelen responder en 1 día
-
bug priority: medium
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
brentspine/brents-toasts#143 ·
-
🐛 bug 🗺️ DB Models & Ops
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
LibreChat-AI/LibreChat#17214 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
Wavvon/Wavvon-clients#136 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
umami-software/umami#4637 ·
Los mantenedores suelen responder en 3 días