Commit c8b7909
committed
test(messaging): sendFCM function that reflects a TokenMessage
- requires a TokenMessage, and just sends the Message to the device
addressed by the token in the message
- optionally can have a delay so you can put a test app in background
or kill it or similar after calling the API
For security purposes:
- Tested this with an incorrect google-services.json / plist and the function
call simply fails
- Tested this with an incorrect package name and the function all also simply fails
- Tested it with a correct package name and you can send on android, but on iOS there
is still a lot of Apple developer account / app work to do, so that fails.1 parent f32414d commit c8b7909
2 files changed
+29
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
0 commit comments