Unable to start receiver com.google.firebase.iid.FirebaseInstanceIdInternalReceiver android Oreo
Hello I am using GCM for push notification, i am getting lot of crashes on Android O
WakefulBroadcastReceiver.java line 99
android.support.v4.content.WakefulBroadcastReceiver.startWakefulService
I am not using FCM for push notification, kindly help me out to fix this issue in Android O. Following is the stacktrace of the error in fabric.
Fatal Exception: java.lang.RuntimeException: Unable to start receiver com.google.firebase.iid.FirebaseInstanceIdInternalReceiver: java.lang.IllegalStateException: Not allowed to start service Intent { act=com.google.firebase.INSTANCE_ID_EVENT pkg=com.tapmad.tapmadtv cmp=com.tapmad.tapmadtv/com.google.firebase.iid.FirebaseInstanceIdService (has extras) }: app is in background uid UidRecord{b7ea475 u0a216 RCVR bg:+1m30s74ms idle procs:1 seq(0,0,0)}
at android.app.ActivityThread.handleReceiver(ActivityThread.java:3399)
at android.app.ActivityThread.-wrap18(Unknown Source)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1780)
at android.os.Handler.dispatchMessage(Handler.java:105)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6944)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:327)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1374)
android google-cloud-messaging android-8.0-oreo
|
show 3 more comments
Hello I am using GCM for push notification, i am getting lot of crashes on Android O
WakefulBroadcastReceiver.java line 99
android.support.v4.content.WakefulBroadcastReceiver.startWakefulService
I am not using FCM for push notification, kindly help me out to fix this issue in Android O. Following is the stacktrace of the error in fabric.
Fatal Exception: java.lang.RuntimeException: Unable to start receiver com.google.firebase.iid.FirebaseInstanceIdInternalReceiver: java.lang.IllegalStateException: Not allowed to start service Intent { act=com.google.firebase.INSTANCE_ID_EVENT pkg=com.tapmad.tapmadtv cmp=com.tapmad.tapmadtv/com.google.firebase.iid.FirebaseInstanceIdService (has extras) }: app is in background uid UidRecord{b7ea475 u0a216 RCVR bg:+1m30s74ms idle procs:1 seq(0,0,0)}
at android.app.ActivityThread.handleReceiver(ActivityThread.java:3399)
at android.app.ActivityThread.-wrap18(Unknown Source)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1780)
at android.os.Handler.dispatchMessage(Handler.java:105)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6944)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:327)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1374)
android google-cloud-messaging android-8.0-oreo
show full log please
– Har Kal
Nov 23 '18 at 8:16
updated.. please have a look
– Jhaman Das
Nov 23 '18 at 8:26
can you show your manifest file
– Har Kal
Nov 23 '18 at 8:29
what part of manifest i would show you because file is too long. let me know the part
– Jhaman Das
Nov 23 '18 at 8:31
show the part which is responsible for handling notifications and gcm id and also their classes
– Har Kal
Nov 23 '18 at 8:36
|
show 3 more comments
Hello I am using GCM for push notification, i am getting lot of crashes on Android O
WakefulBroadcastReceiver.java line 99
android.support.v4.content.WakefulBroadcastReceiver.startWakefulService
I am not using FCM for push notification, kindly help me out to fix this issue in Android O. Following is the stacktrace of the error in fabric.
Fatal Exception: java.lang.RuntimeException: Unable to start receiver com.google.firebase.iid.FirebaseInstanceIdInternalReceiver: java.lang.IllegalStateException: Not allowed to start service Intent { act=com.google.firebase.INSTANCE_ID_EVENT pkg=com.tapmad.tapmadtv cmp=com.tapmad.tapmadtv/com.google.firebase.iid.FirebaseInstanceIdService (has extras) }: app is in background uid UidRecord{b7ea475 u0a216 RCVR bg:+1m30s74ms idle procs:1 seq(0,0,0)}
at android.app.ActivityThread.handleReceiver(ActivityThread.java:3399)
at android.app.ActivityThread.-wrap18(Unknown Source)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1780)
at android.os.Handler.dispatchMessage(Handler.java:105)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6944)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:327)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1374)
android google-cloud-messaging android-8.0-oreo
Hello I am using GCM for push notification, i am getting lot of crashes on Android O
WakefulBroadcastReceiver.java line 99
android.support.v4.content.WakefulBroadcastReceiver.startWakefulService
I am not using FCM for push notification, kindly help me out to fix this issue in Android O. Following is the stacktrace of the error in fabric.
Fatal Exception: java.lang.RuntimeException: Unable to start receiver com.google.firebase.iid.FirebaseInstanceIdInternalReceiver: java.lang.IllegalStateException: Not allowed to start service Intent { act=com.google.firebase.INSTANCE_ID_EVENT pkg=com.tapmad.tapmadtv cmp=com.tapmad.tapmadtv/com.google.firebase.iid.FirebaseInstanceIdService (has extras) }: app is in background uid UidRecord{b7ea475 u0a216 RCVR bg:+1m30s74ms idle procs:1 seq(0,0,0)}
at android.app.ActivityThread.handleReceiver(ActivityThread.java:3399)
at android.app.ActivityThread.-wrap18(Unknown Source)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1780)
at android.os.Handler.dispatchMessage(Handler.java:105)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6944)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:327)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1374)
android google-cloud-messaging android-8.0-oreo
android google-cloud-messaging android-8.0-oreo
edited Nov 23 '18 at 8:26
Jhaman Das
asked Nov 23 '18 at 8:11
Jhaman DasJhaman Das
733620
733620
show full log please
– Har Kal
Nov 23 '18 at 8:16
updated.. please have a look
– Jhaman Das
Nov 23 '18 at 8:26
can you show your manifest file
– Har Kal
Nov 23 '18 at 8:29
what part of manifest i would show you because file is too long. let me know the part
– Jhaman Das
Nov 23 '18 at 8:31
show the part which is responsible for handling notifications and gcm id and also their classes
– Har Kal
Nov 23 '18 at 8:36
|
show 3 more comments
show full log please
– Har Kal
Nov 23 '18 at 8:16
updated.. please have a look
– Jhaman Das
Nov 23 '18 at 8:26
can you show your manifest file
– Har Kal
Nov 23 '18 at 8:29
what part of manifest i would show you because file is too long. let me know the part
– Jhaman Das
Nov 23 '18 at 8:31
show the part which is responsible for handling notifications and gcm id and also their classes
– Har Kal
Nov 23 '18 at 8:36
show full log please
– Har Kal
Nov 23 '18 at 8:16
show full log please
– Har Kal
Nov 23 '18 at 8:16
updated.. please have a look
– Jhaman Das
Nov 23 '18 at 8:26
updated.. please have a look
– Jhaman Das
Nov 23 '18 at 8:26
can you show your manifest file
– Har Kal
Nov 23 '18 at 8:29
can you show your manifest file
– Har Kal
Nov 23 '18 at 8:29
what part of manifest i would show you because file is too long. let me know the part
– Jhaman Das
Nov 23 '18 at 8:31
what part of manifest i would show you because file is too long. let me know the part
– Jhaman Das
Nov 23 '18 at 8:31
show the part which is responsible for handling notifications and gcm id and also their classes
– Har Kal
Nov 23 '18 at 8:36
show the part which is responsible for handling notifications and gcm id and also their classes
– Har Kal
Nov 23 '18 at 8:36
|
show 3 more comments
0
active
oldest
votes
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53442814%2funable-to-start-receiver-com-google-firebase-iid-firebaseinstanceidinternalrecei%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53442814%2funable-to-start-receiver-com-google-firebase-iid-firebaseinstanceidinternalrecei%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
show full log please
– Har Kal
Nov 23 '18 at 8:16
updated.. please have a look
– Jhaman Das
Nov 23 '18 at 8:26
can you show your manifest file
– Har Kal
Nov 23 '18 at 8:29
what part of manifest i would show you because file is too long. let me know the part
– Jhaman Das
Nov 23 '18 at 8:31
show the part which is responsible for handling notifications and gcm id and also their classes
– Har Kal
Nov 23 '18 at 8:36