Black screen after opening a notification

0 votes

Hi, 

I have integrated the  UnityPushPlugin into my Unity project.

In my device (Samsung Galaxy S II, android version 4.0.3) whenever I receive a notification and I tap it in order to open the application, the screen that is displayed is black. I need to quit the app and re-open it.

This happens only when my application is running in the background.

Hope anyone can help me. Thank you.

Gabor

asked May 14, 2015 in App42 Cloud API-BaaS by gabor.gyorgy (16 points)
recategorized Aug 13, 2015 by sushil

1 Answer

0 votes
Hi Gabor,

Are you running the sample application or you have integrated it in your project. Please share some application logs, that help us to trace the exact problem..

Let me know if it helps.

Thanks

Vishnu Garg
answered May 14, 2015 by Vishnu Garg (674 points)
edited May 14, 2015 by Vishnu Garg
Hi Vishnu,

I have no log info/error available from the application while I`m clicking on the notification. I`ve added the Notification.FLAG_AUTO_CANCEL flag to the sendNotification() function and now it`s seems to be working.
Actually this property used to clear Notification. Have you defined the Activity name that should open when Notification clicked.
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on support@shephertz.com
...