FCM can't run well in Android Kitkat and JellyBean (not sure about ICS)
@kroikie đang làm issue này rồi.
Từ ngày 4/12/2018.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
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.
- Ngôn ngữ chính
- Kotlin
- Star
- 9.3k
- Fork
- 7.4k
- Merge trung bình
- 7 ngày 9 giờ
- Pull request đã merge (30 ngày)
- 6
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của firebase/quickstart-android
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
firebase/quickstart-android#2756 · 1 bình luận ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
firebase/quickstart-android#2754 · 5 bình luận · 1 reaction ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 32/100
firebase/quickstart-android#2668 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
firebase/quickstart-android#2663 · 1 bình luận ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
firebase/quickstart-android#1669 · 3 bình luận ·
Tất cả issue của firebase/quickstart-android
Issue tương tự
-
android:plan main:plan packages:learn
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Needs Triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
ankidroid/Anki-Android#23453 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
afk-ok area:data-quality importer size:S
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
enorm-labs/event-junkie#5278 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
bazel-contrib/rules_kotlin#1846 ·
Maintainer thường phản hồi trong vòng 2 ngày