Ryan Grey
5168f96a32
Only store completionHandlers on iOS native side when user adds listener
...
Note the following cases. This commit is catering for case 3:
1. User is listening for onNotificationDisplayed and is manually calling
the completionHandler
- manually called completionHandler is removed
- automatically called completionHandler is guarded against on iOS
native side
2. User is listening for onNotificationDisplayed and is not calling the
completionHandler:
- automatically called completionHandler is removed
3. User is not listening for onNotificationDisplayed
- On rn side we can only automatically call completionHandler if the
user _is_ listening. This means we need to detect if the user is
listening or not.
2018-08-06 13:04:44 +01:00
Ryan Grey
0d14a5e3b3
add notificationId to logging
2018-08-06 12:59:43 +01:00
Ryan Grey
fac0767d5d
pass noop for android platform
2018-08-06 12:59:43 +01:00
Ryan Grey
b6885b0125
inject onNotificationDisplayed with completion handler
2018-08-06 12:59:43 +01:00
Ryan Grey
e6cd793f91
Add exported native function to complete handling of ios notification
2018-08-06 12:59:40 +01:00
Chris Bianca
801adabb27
[notifications] Add jsInitialised method to improve getInitialNotification
2018-03-30 10:31:06 +01:00
Chris Bianca
d101813b5f
[messaging][notifications] Make all methods return a promise where they didn’t previously
2018-03-28 11:02:39 +01:00
Chris Bianca
8a9033457d
[tests] Fix various test errors
2018-03-23 17:03:53 +00:00
Chris Bianca
7f90e485c8
[links] Refactor links to use builder classes
2018-03-23 13:24:31 +00:00
Chris Bianca
287ad216cf
[notifications] Fix flow type
2018-03-09 11:15:27 +00:00
Chris Bianca
e537955212
[notifications] Add support for android actions
2018-03-09 11:09:28 +00:00
Chris Bianca
57ffa9bd3e
[notifications] Fix some android issues with local notifications
2018-03-07 18:29:53 +00:00
Chris Bianca
7b9269fec5
[notifications] Rename onNotificationOpened
to onNotificationOpen
2018-03-06 18:20:49 +00:00
Chris Bianca
b9df258402
[notifications] Android channel and channel group support
2018-03-05 08:28:13 +00:00
Chris Bianca
ee3b2932ef
[notifications] Rename onPressed
to onOpened
2018-02-24 11:32:14 +00:00
Chris Bianca
2838bbc0cd
[notifications] Last part of iOS implementation
2018-02-23 15:34:00 +00:00
Chris Bianca
8e84dd576b
[notifications] Specific notificationPressed data type including action
2018-02-22 17:25:15 +00:00
Chris Bianca
303cb4c428
[notifications] Refactor for better support of separate messages
2018-02-22 15:52:24 +00:00
Chris Bianca
a244f17853
[fcm] More iOS event separation
2018-02-18 16:02:31 +00:00
Chris Bianca
cd0ef4e3b7
[notifications] Continue android implementation
2018-02-15 14:59:21 +00:00
Chris Bianca
6b911b207b
[notifications] Start iOS implementation of notifications
2018-02-14 09:07:29 +00:00
Chris Bianca
fb57dc5482
[notifications] First pass at notifications JS API
2018-02-09 17:00:03 +00:00
Chris Bianca
850f04914f
[fcm] Android instanceid and core fcm support; iOS instance and basic fcm support
2018-02-02 08:40:48 +00:00