NS 8.2 - Android - `e.getMessage` is not a function on app launch
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- android, typescript
調査の方向性
指定された NativeScript と Android のバージョンで、main.ts の Sentry.init 呼び出しを使用して Android の起動失敗を再現します。node_modules/@nativescript-community/sentry/nssentry.android.js の 461 行目付近と、エントリーポイント startWithDsnString を調査します。アプリが getMessage エラーなしで起動し、Android で Sentry の初期化が機能すれば完了です。
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- TypeScript
- スター
- 18
- フォーク
- 12
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
nativescript-community/sentry のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 45/100
nativescript-community/sentry#29 · コメント 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
nativescript-community/sentry#23 · コメント 8 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 35/100
nativescript-community/sentry#22 · コメント 8 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 20/100
nativescript-community/sentry#13 · コメント 4 件 ·
nativescript-community/sentry の issue をすべて見る
似ている issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 78/100
lichess-org/api#678 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
PostHog/posthog.com#20628 ·
メンテナーはふだん 1 日以内に返信
-
bug status:Needs Triage
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
jupyterlab/jupyterlab#19964 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
agentscope-ai/QwenPaw#8064 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
area: notebooks-jupyter bug theme: new notebook frontend
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
posit-dev/positron#16347 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信