FCM can't run well in Android Kitkat and JellyBean (not sure about ICS)
@kroikie ci sta già lavorando.
Dal 4/12/2018.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
My environment
- Android device: Various Device (emulator, some old android device that i borrow from friend i forgot to write down their device name, its come from lenovo)
- Android OS version: Jelly Beans and Kitkat
- Google Play Services version: already try to the most updated
- Firebase/Play Services SDK version: the most updated (4.2.0 for services, 16.0.6 for firebase core, 17.3.4 for firebase messaging)
My problem description:
I trigger a push notification in onMessageReceived, and the problem is the push notification on Android Kitkat and Below. When im trying to debug the phone, an error appear as "E/FirebaseInstanceId: Token retrieval failed: PHONE_REGISTRATION_ERROR". This is not happend in other os and device, they all run without problem.
Steps to reproduce:
- I think the description already clear
Observed Results:
- the onMessageReceived doesn't triggered/run when there is a new message incoming and when i try to debug in Android Studio the
E/FirebaseInstanceId: Token retrieval failed: PHONE_REGISTRATION_ERRORappear.
Expected Results:
- For FCM running in Android kitkat and below
Relevant Code:
Sorry, i doesn't know how to show the code, since its a privacy from my workplace. Maybe if you tell me which part of the code is important then i can try to show it.
- Lingua principale
- Kotlin
- Stelle
- 9.3k
- Fork
- 7.4k
- Merge medio
- 7g 9h
- PR unite (30g)
- 6
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
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 firebase/quickstart-android
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
firebase/quickstart-android#2756 · 1 commento ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
firebase/quickstart-android#2754 · 5 commenti · 1 reazione ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 32/100
firebase/quickstart-android#2668 ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
firebase/quickstart-android#2663 · 1 commento ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
firebase/quickstart-android#1669 · 3 commenti ·
Tutte le issue di firebase/quickstart-android
Issue simili
-
android:plan main:plan packages:learn
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
I maintainer di solito rispondono entro 1 giorno
-
Needs Triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
ankidroid/Anki-Android#23453 ·
I maintainer di solito rispondono entro 1 giorno
-
afk-ok area:data-quality importer size:S
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
enorm-labs/event-junkie#5278 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
bazel-contrib/rules_kotlin#1846 ·
I maintainer di solito rispondono entro 2 giorni