react-native-firebase/ios/RNFirebase
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
..
admob Prevent crashes in 32-bit devices 2018-06-25 22:16:55 -07:00
analytics Fixed Deadlock 2018-06-08 14:44:48 -07:00
auth [ios] Firebase iOS v5 support 2018-05-16 17:22:47 +01:00
config Remove error log from RNFirebaseRemoteConfig 2018-02-15 19:07:15 +01:00
crash [crash][ios] no longer force a crash on report() 2018-04-13 15:07:21 +01:00
database [ios] Set separate dispatch queues for firestore and database 2018-05-15 10:02:18 +01:00
fabric/crashlytics [crashlytics][ios] fix header imports 2018-07-10 21:37:56 +01:00
firestore [firestore] Add support for `GetOptions` #1248 2018-07-03 16:03:43 +01:00
functions [ios][functions] finalise implementation 2018-05-06 15:36:03 +01:00
instanceid [iid][ios] temporarily remove Messaging dependency for v4.3.0 release until an outcome is agreed on original PR #1215 2018-07-10 22:15:50 +01:00
invites [invites] Add jsInitialised method to improve getInitialInvitation 2018-03-30 10:07:23 +01:00
links handle error 2018-07-10 00:16:57 +03:00
messaging [ios][messaging] Clear pending messages once sent to JS 2018-05-17 08:27:23 +01:00
notifications Only store completionHandlers on iOS native side when user adds listener 2018-08-06 13:04:44 +01:00
perf [perf][ios] Fix traceWithName 2017-11-09 15:39:25 +00:00
storage [ios][storage] fix #739 2018-07-14 23:34:57 +01:00
RNFirebase.h [ios] Fix conditional imports 2017-08-11 16:07:39 +01:00
RNFirebase.m Fixed Deadlock 2018-06-08 14:44:48 -07:00
RNFirebaseEvents.h [links] Tweak links event name 2018-03-22 14:56:15 +00:00
RNFirebaseUtil.h [fcm] Work in progress iOS message support 2018-02-02 12:05:51 +00:00
RNFirebaseUtil.m [fcm] Work in progress iOS message support 2018-02-02 12:05:51 +00:00