Hi Jns,
Greetings!!! Hope you are doing good.
You need not to call onMessage function , its already handled in the plugin script provided by the sample itself wheneever Push receives it send it to Unity., As you are getting the push message on install and App open.
As you are successfully receiving push message on Notification bar, I have need some details like:
-
Are you trying with the sample or integrated the same in your project.
-
If integrateing in your project are you changing scene or game Object.
Actually Push Notification is sent to that game Object fromAndroid Native side.If you share the logcat logs then it will be really help us to trace the problem.
Let me know the deatils.
Thanks
Vishnu Garg