aw2.push
/
Mailing & SMS /
aw2.push
By Sooraj Raju. Posted on
Title |
: |
aw2.push |
Purpose |
: |
For sending push notification via FCM |
Syntax |
: |
|
[aw2.push android google_api_key="" device_tokens=""] { "title":"Hello World", "body":"Good Morning", } [/aw2.push] |
|
Input Parameters |
: |
android
google_api_key: (string) (Required) Server Key from firebase console
device_tokens: (string) (Required) FCM device tokens |
Return Value |
: |
(void) It won’t return anything |
Example 1 |
: |
Code |
: |
|
[aw2.push android google_api_key='AAAA02svMSI:###########' device_tokens='dwHwXhE3###############'] { "title":"Hello World", "body":"Good Morning" } [/aw2.push] |
|
Output |
: |
It will send a push notification to the android device which is having the FCM token while the app is in the background |
Description |
: |
Push notification via FCM |
|
Last Modified By Sooraj Raju.