Sometimes push notifications don't come

0 votes
Hello there!
 
I have downloaded example with push notification service and have built it.
 
If application is open or just working in background I can get push notification, but sometimes it does not come.
 
Moreover I can't get notification when application is closed.
 
How do I fix it?
asked Jun 23, 2016 in Announcements by xerolp933 (22 points)

1 Answer

0 votes

Hi Xero,

Greetings!!!!!!

Sometime there may be a delay form Google side, so you can receive the same after a time interval.

We have recently updated our sample application with following enhancements.

  • You will be able to send extra data as Json format.
  • You can also configure for No notification in Bar if application is opened.
  • It will be able to show Notification if application is fully closed.

Please download latest Unity Push Sample.

Let me know if you have any queries regarding this.

Thanks

Vishnu Garg

 

 

answered Jun 24, 2016 by Vishnu Garg (663 points)
I have checked my app on another android device and the push notification does not come to that device too. So the problem is in my apk.
As you said - you can get the push notification when app is closed, so could you share your apk?
Please send me API,Secret and Google Project No so that I can share the same application with you. Or can replace the plugin folder with
http://cdn.shephertz.com/repository/files/1236b99b5930a6d469c4a1dd426d380e3875b8a9b1947177ab0cf813225ee234/792f53b56cba8a17fdf793cd721c3d62d2df140a/Plugin.zip
api key 44ed7160338675e020ba9170245be9b01551a6dd1b5223189f858c6a3e34c29e
secret key
29913616ab8826c24743787ecc8516cb4e49f3573265b78a625f993dbc7632a6
google no
938115766942
Please try with replacing the Plugin folder and make necessary changes in PushSample.cs file mean while I am sharing the the Android application. Download it from Drop-Box here is the link
https://www.dropbox.com/s/5fm2qt9jnjkcpl1/Client_Push_Test.apk?dl=0
Hi Vishnu,

As mentioned in your first comment to this question:

"We have recently updated our sample application with following enhancements.

You will be able to send extra data as Json format.
You can also configure for No notification in Bar if application is opened.
It will be able to show Notification if application is fully closed."

I downloaded the latest Unity Sample and checked the code but did not find the code for above three points. Can you please let me know the methods to be used for these three functionality ?

Thanks in advance
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
Migrate from Parse to ShepHertz App42
...