[@nativescript/firebase-messaging] FIS_AUTH_ERROR on Android
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 25/100
- issue の種類
- バグ
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- android, firebase, typescript
- 領域
- mobile-dev
調査の方向性
まず、main.ts と firebaseServices.ts に示されているバージョンと呼び出しを使って FIS_AUTH_ERROR を再現し、その後 google-services.json を含む Firebase Android 設定を調査します。設定または統合の原因を特定し、messaging().getToken() が報告されたエラーなしでトークンを返すことを確認できれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Hi, I am trying to use @nativescript/firebase-messaging and I cannot get it working.
"@nativescript/core": "^8.3.5",
"@nativescript/android": "~8.3.1" also not working with "@nativescript/android": "~8.2.0"
Here is my code
// main.ts
firebase().initializeApp()
.then((app: FirebaseApp) => {
console.log("Firebase init done!");
firebase().messaging().showNotificationsWhenInForeground = true;
firebase().crashlytics().setCrashlyticsCollectionEnabled(true);
}).catch((error: Error) => {
console.log("Firebase init failed", error);
});
// firebaseServices.ts
const messaging = firebase().messaging();
messaging.getToken()
.then((token: string) => {
console.log("Token", token);
}).catch((e: Error) => {
console.log("Token error: ", e);
});
So, when I try to get the PN token, I got this error.
Error: java.util.concurrent.ExecutionException: java.io.IOException: FIS_AUTH_ERROR
I have tried re-install packages & re-download google-services.json etc. Still have the same here.
Please any help?
- 主要言語
- TypeScript
- スター
- 62
- フォーク
- 53
- 平均マージ
- 8日 4時間
- マージ済み PR(30日)
- 2
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
NativeScript/firebase のほかの issue
-
難易度 3/5 1〜2日 初心者へのやさしさ 48/100
NativeScript/firebase#292 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
NativeScript/firebase#289 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
NativeScript/firebase#288 · リアクション 4 件 ·
-
bug ios
NativeScript/firebase#287 · 担当者 1 名 ·
-
Uh-Oh Shazam オープン
難易度 4/5 3〜5日 初心者へのやさしさ 20/100
NativeScript/firebase#286 ·
NativeScript/firebase の issue をすべて見る
似ている issue
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
難易度 1/5 1時間未満 初心者へのやさしさ 95/100
-
Ecosystem: ClawMetry — the Qwen Code reader is now free and open source (follow-up to #9294 / #9338) オープンcategory/integration priority/P3 scope/documentation status/ready-for-human type/feature-request
難易度 1/5 1時間未満 初心者へのやさしさ 84/100
-
area:auth FE mvp P3
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
klasolsson81/jobbliggaren#1788 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
get-convex/migrations#69 ·
-
accessibility angular bug good first issue typescript ux
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
apache/fineract-backoffice-ui#584 · コメント 1 件 ·