I guess the only way is to record them on a back-end server. (5) I was just wondering if there was anyway to get a list of all registered users. That was the only time I saw the scheduled notification. The scheduled(now) message followed the test message. I once saw this notification when I sent a test message right after I sent the scheduled notification. The FMC says that it was sent(I assumed to all registered users) but I don't see it on the device. (4) Other than using the test button with specific token(s) you can schedule a notification without specifying any tokens. I the app is closed then when the app is opened it goes to the stub stack.ħ) I observed that the pushNotificationReceived message does not fire until preOpenStack is complete. If the app is open when the message is received the pushNotificationReceived message goes to the current main stack. If sending a notification all install should work can I also do this from an LCS script?ĥ) How do I get a list of all registered app installs?Ħ) Just a note: I use a stub stack model. I assume this is to all installs? I don't get the notification on the device. It does not show up on the notification although the preview shows it.(setLargeIcon()).ģ) I assume you (LC) picked the upper left icon ( setSmallIcon() ) ?Ĥ) On the FCM console I can just send the notification (not a test). FCM notifications just increments it by one like the LCS method.Ģ) On the FCM console there is an optional image field. I don't see a Badge option on the FCM console. A few of questionsġ) No matter what I set the Badge value to it just increments the icon on the device by one. I got the LCS notification stack working thanks to you and Simon. RevMail " ", "token" ,pMessageĮnd pushNotificationRegistered on pushNotificationReceived pMessageĪnswer "Push Notification:" & quote & pMessage & quote with "Okay" In this test scenario you may want to e-mail the token to yourself, possibly by updating the code as follows: on pushNotificationRegistered pMessageĪnswer "Registered:" & quote & pMessage & quote with "Okay" // Update the e-mail address as required The token displayed is specific to your device and you need to record it, so that you can send to the device from an application or a server. Once you start the application, you should receive a message that is similar to the one shown in this step. Add the following code to the LiveCode stack script: on pushNotificationRegistered pMessageĪnswer "Registered:" & quote & pMessage & quote with "Okay" When you have registered with Firebase and activated the service you can create a LiveCode stack that tries to register with the Push Notification Server.
0 Comments
Leave a Reply. |