Commit 905a539
authored
FCM Token Listener application (#660)
Sometimes we need to use the FCM token, sync with server and more.
Today the token is sent to the JS, that prevents us from making custom native logic that deals with FCM token.
Changes done as small as possible, it is optional, Instance of Application class can implement the interface in order to receive the token itself to the native side.1 parent be6d93e commit 905a539
File tree
2 files changed
+14
-2
lines changed- lib/android/app/src/main/java/com/wix/reactnativenotifications/fcm
2 files changed
+14
-2
lines changedLines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | | - | |
| 78 | + | |
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
83 | 86 | | |
84 | 87 | | |
85 | 88 | | |
| |||
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
0 commit comments