Would it be possible to obtain the push notification project ID within the application (Monaca backend)?
I am currently creating an app that uses Monaca to receive push notifications.
Push notifications enabled monaca's management API so that push notifications can be made from external servers, and we were able to confirm that the app received notifications.
"On the external server side, the ""Push Notification Project ID"" is hard-coded, but we would like to obtain application-specific information from the app side as dynamically as possible to make the server side's push notification transmission process generic."
If the application can obtain the push notification project ID, we can send it to the server when the application is started, but if anyone knows that, could you please let us know the information?
"Or, if the app can get an ID that identifies the app (package name on Android), the server can keep the ""push notification project ID"" in DB and get the ID as a key, but I couldn't find a way to get the package name."monaca push-notification
I contacted the Monaca team and they said that there is no API to dynamically get the push notification project ID.It seems that we have no choice but to do hard coding as user8358 does.
339 Understanding the Meaning of mpm prefork Settings
339 Scrap text information after the "View More" button when searching in the Yahoo! News search window
340 Memory layouts learned in theory don't work out as expected when actually printed as addresses.
356 Unity Virtual Stick Does Not Return to Center When You Release Your Finger
© 2023 OneMinuteCode. All rights reserved.