You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I'd been frustrated at not being able to get a tap on a notification in the background opening the app.
Turns out changing AndroidManifest.xml
<activity android:excludeFromRecents="true" android:exported="true" android:name="org.apache.cordova.firebase.OnNotificationReceiverActivity" android:noHistory="true" android:taskAffinity="" android:theme="@android:style/Theme.Translucent.NoTitleBar"/>
to
Works a treat.
BUT - the json sending to firebase needs to include
'click_action':'MYCLICKACTIVITY'
in the Android>notification section
No idea how to make a change/pull request.
Might someone smarter than me test its' replicable and do the honours please.
Beta Was this translation helpful? Give feedback.
All reactions