Unity-Technologies / NotificationsSamples

Sample project for Unity Notifications
Other
283 stars 50 forks source link

Android - Doesn't show my app when clicking on a notification #17

Closed momone50 closed 5 years ago

momone50 commented 5 years ago

Hi, Notifications are fired and i can see them, but when i click on it, it should open my app. But it doesn't.

Android 5.0, Acer Iconia

Thanks

lucas-9510 commented 5 years ago

I have same issue, did you found some solution please?

momone50 commented 5 years ago

Hi, in my case, was due to Firebase Cloud Messaging, messing with android manifest (because of Custom Activity). The last version of the Unity Notification package gives you an option to overcome the problem. You can now choose a Custom Android ctivity Name. If you have the same problem, you can put this in the field : com.google.firebase.MessagingUnityPlayerActivity

momone50 commented 5 years ago

2019-08-21 15_34_12-Window

momone50 commented 5 years ago

I'm using the Unity Notification Package not the Wrapper you can find on Github. Don't know if it change something. Plugin version : 1.0.3

lucas-9510 commented 5 years ago

Thank you very much. I solved.