after update to 4.3.3 can't receive any push notification in DefaultBroadcastReceiver
See original GitHub issueafter update to 4.3.3 can’t receive any push notification in DefaultBroadcastReceiver
i do my custom DefaultBroadcastReceiver FirebasePushModule.activate(); builder.setInboundPushHandlingEnabled(false); builder.setShowLocalNotifications(true);
<receiver android:name=".push.BroadcastReceiver" android:enabled="true" android:exported="true" android:permission="com.google.android.c2dm.permission.SEND"> <intent-filter> <action android:name="com.google.android.c2dm.intent.RECEIVE" /> <category android:name="com.newline.multe" /> </intent-filter> </receiver>
<meta-data
android:name="com.google.firebase.messaging.default_notification_icon"
android:resource="@drawable/ic_launcher"
tools:replace="android:resource" />
<meta-data
android:name="com.google.firebase.messaging.default_notification_color"
android:resource="@color/colorAccent"
tools:replace="android:resource" />
Issue Analytics
- State:
- Created 5 years ago
- Comments:10 (7 by maintainers)
Top Results From Across the Web
Android GCM (push notification): device doesn't receive ...
I just tested this using the airbop-client and I can confirm that the onReceive() method was not called after the app was force...
Read more >NotificationListenerService - Android Developers
A service that receives calls from the system when new notifications are posted or ... Notification was canceled due to an assistant adjustment...
Read more >Firebase Cloud Messaging for Android: Sending Push ...
Before receiving any push notifications in your app, there's a series of steps you'll need to configure in the Firebase console.
Read more >Android Push - CleverTap Developer Docs
There are two ways to implement push notifications on a device. Default CleverTap Implementation - This is the easiest way to implement push...
Read more >Android Step-By-Step - Oracle Help Center
Place the following SDK-specific build rules below the default Android Studio contents ... and sets up users to receive push notifications PushIOManager.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@bensmiley @dogacsenol
thanks but some time don’t receive any notification and in firebase console (functions) have an error
Error: data must only contain string values at FirebaseMessagingError.Error (native) at FirebaseMessagingError.FirebaseError [as constructor] (/user_code/node_modules/firebase-admin/lib/utils/error.js:39:28) at FirebaseMessagingError.PrefixedFirebaseError [as constructor] (/user_code/node_modules/firebase-admin/lib/utils/error.js:85:28) at new FirebaseMessagingError (/user_code/node_modules/firebase-admin/lib/utils/error.js:241:16) at /user_code/node_modules/firebase-admin/lib/messaging/messaging.js:95:19 at Array.forEach (native) at validateStringMap (/user_code/node_modules/firebase-admin/lib/messaging/messaging.js:93:22) at validateMessage (/user_code/node_modules/firebase-admin/lib/messaging/messaging.js:322:5) at Messaging.send (/user_code/node_modules/firebase-admin/lib/messaging/messaging.js:461:9) at getUserIds.then (/user_code/index.js:220:39)
Resolved in e6431b5 and
4.3.6
. The new push script fixes the bug in the case that a user doesn’t have a name set. Also, going forward, users will be given a name on signup.