* fix(messaging,ios): keep original UNUserNotificationCenter delegate
Keeps a reference to any original UNUserNotificationCenter delegates that are set before we replace the delegate with out own implementation. Internally we will also call the original delegate if our code does not already handle the delegate call. This should keep compatibility with other RN modules that set the delegate.
* v6.4.1-alpha.0
* Revert "v6.4.1-alpha.0"
This reverts commit b355a86a
* feat: automatically register with APNs
* docs: typos
* fix: forward delegate call to FIRAuth
Fixes / supersedes #3425
* fix(messaging): add activity check to getInitialNotification (#3495)
* fix(messaging): add activity check to getInitialNotification
* fix(messaging): add activity check to getInitialNotification
* Update .spellcheck.dict.txt
Co-authored-by: Mike Diarmid <mike.diarmid@gmail.com>
Co-authored-by: Elliot Hesp <elliot.hesp@gmail.com>
* chore: upgrade testing project to RN 0.62.x
* add placeholder flow script for CI
* update jet to fix iOS issue
* revert typedoc version (latest version not working)
* add `react-native-port-patcher` back in - port still being ignored by RN so patching manually
* add `react-native-port-patcher` back in - port still being ignored by RN so patching manually
* temporarily use iphone x for detox until CI servers upgraded
* -
* Update package.json
* Update on.e2e.js
* Update orderByValue.e2e.js
* Update on.e2e.js
* Update init.js
* -
First pass at addressing #3253 to allow release in 6.4.0. For v7.0.0 we should make the default value true along with the RN min version set to 0.61.x +
* feat(storage): snapshot prop on Task. put is Task
* removed this._task from StorageReference
* Apply suggestions from code review
not awaiting promise
Co-Authored-By: Mike Diarmid <mike.diarmid@gmail.com>
Co-authored-by: Mike Diarmid <mike.diarmid@gmail.com>
* Don't abort registerForRemoteNotifications
The native call to `registerForRemoteNotifications` shouldn't be aborted even if `isRegisteredForRemoteNotifications` returns `true`. This is because after successful registration on the first boot, on successive boots the app `isRegisteredForRemoteNotifications` will return true, and then `registerForRemoteNotifications` won't be called again and therefore the APNSToken will never be set (because it is only set on the `didRegisterForRemoteNotificationsWithDeviceToken` swizzled by the `FIRMessagingRemoteNotificationsProxy`)
* Set APNSToken on didRegisterForRemoteNotificationsWithDevicetoken
This is what `FIRMessagingRemoteNotificationsProxy` does, and doing it here seems to avoid the race condition caused by `didRegisterForRemoteNotificationsWithDeviceToken` here being executed first and resolving the promise before the token is set (at least on iOS 12). It doesn't do any damage anyway to do it here first anyway.
Co-authored-by: Russell Wheatley <russellwheatley85@gmail.com>