What does it mean the “actual contents” of the notifications? I tried leaving it blank and typing a bunch of random things and still was able to receive the notification successfully.
A notification has 3 parts:
1 - A Title
2 - A Body, which I'd prefer to call an Alert
3 - A Payload which I'd prefer to call its content
Just to (hopefuly) clarify: when you receive the notification in the home screen you will see just the Title and the Body. The actual content (Payload) will only be shown when the notification is read/displayed
There are some particularities as how iOS and Android deal with the notifications depending if the App is open or closed at the moment the notification arrives. You should do some testing to find out the differences because I don't recall them all
1. Have you tried sending notifications to multiple devices within a single script or a single post to the FCM URL? Or is it only possible by sending multiple post request to the FCM URL?
Since each device has its unique TokenID there is no way (AFAK) to send the same notification with
a single post.
The script could be the same but you have to address each device by its own TokenID
2. Can I use the same way that we have done here to send push notifications to IOS or if not what would be a good/suitable way?
Yes and No.
Yes: The principle is the same in the sense that you need to get the TokenID for the device but you will also need to know if the device is running iOS or Android because there are different routines to send notifications to each device. I guess FB can be used for both platforms but I don't know how to do it and besides I understand there is some integration to be done on the iOS device and I doubt this could be done in Livecode.
No: Setting up PushNotifications in iOS is a completly different animal. There is a Lesson on that you should follow.
https://lessons.livecode.com/m/4069/l/5 ... s-with-ios
FYI I had to buy Livecode support in order to get it working for the first time...and before you ask I'm not sure I remember how to do it now