Commit Graph

140 Commits

Author SHA1 Message Date
@Salakar
dcef96cc70 chore(release): release packages
- @react-native-firebase/admob@7.0.1
 - @react-native-firebase/analytics@7.0.1
 - @react-native-firebase/app-types@6.7.2
 - @react-native-firebase/app@7.0.1
 - @react-native-firebase/auth@7.0.1
 - @react-native-firebase/crashlytics@7.0.1
 - @react-native-firebase/database@7.0.1
 - @react-native-firebase/dynamic-links@7.0.1
 - @react-native-firebase/firestore@7.0.1
 - @react-native-firebase/functions@7.0.1
 - @react-native-firebase/iid@7.0.1
 - @react-native-firebase/in-app-messaging@7.0.1
 - @react-native-firebase/messaging@7.0.1
 - @react-native-firebase/ml-natural-language@7.0.1
 - @react-native-firebase/ml-vision@7.0.1
 - @react-native-firebase/perf@7.0.1
 - @react-native-firebase/remote-config@7.0.1
 - @react-native-firebase/storage@7.0.1
 - @react-native-firebase/template@6.8.1
 - react-native-firebase-tests@7.0.1
2020-05-13 13:23:59 +00:00
Salakar
af05b7ec54 docs: format changelogs 2020-05-13 14:03:36 +01:00
Salakar
1af18d9c41 docs: cleanup changelogs 2020-05-13 12:43:40 +01:00
@Salakar
5cacc73db9 chore(release): release packages
- @react-native-firebase/admob@7.0.0
 - @react-native-firebase/analytics@7.0.0
 - @react-native-firebase/app@7.0.0
 - @react-native-firebase/auth@7.0.0
 - @react-native-firebase/crashlytics@7.0.0
 - @react-native-firebase/database@7.0.0
 - @react-native-firebase/dynamic-links@7.0.0
 - @react-native-firebase/firestore@7.0.0
 - @react-native-firebase/functions@7.0.0
 - @react-native-firebase/iid@7.0.0
 - @react-native-firebase/in-app-messaging@7.0.0
 - @react-native-firebase/messaging@7.0.0
 - @react-native-firebase/ml-natural-language@7.0.0
 - @react-native-firebase/ml-vision@7.0.0
 - @react-native-firebase/perf@7.0.0
 - @react-native-firebase/remote-config@7.0.0
 - @react-native-firebase/storage@7.0.0
 - react-native-firebase-tests@7.0.0
2020-05-13 01:17:32 +00:00
Steven Fuqua
9b294b3e16 feat(messaging): support loc keys on notification payloads (#3579) 2020-05-13 01:47:59 +01:00
Gustav Ahlberg
cd5cb23d63 fix(messaging): onNotificationOpenedApp callable return type (#3641) 2020-05-12 18:39:29 +01:00
Salakar
b74bee4220 Merge remote-tracking branch 'origin/master' 2020-05-08 08:28:42 +01:00
Salakar
d44f0d6c85 chore: include analytics pods
Part of #3575
2020-05-08 08:28:29 +01:00
Leonardo E. Dominguez
1d7cd28f85 fix: onTokenChange method causing app to crash (#3552)
Removed deprecation.

* fix: onTokenChange method causing app to crash

* fix: use token instead of token with string ancestor

Co-authored-by: Mike Diarmid <mike.diarmid@gmail.com>
2020-05-05 22:52:23 +01:00
dlockwo
35285f1655 feat(ios): podspecs now utilize CoreOnly instead of Core (#3575) 2020-05-05 20:38:45 +01:00
Mike Diarmid
252a4239e9 feat!: all packages should depend on core (#3613)
All packages now peer-depend on an explicit version of the `app` package.

BREAKING CHANGE: breaking change to mark new internal versioning requirements.
2020-05-05 20:25:08 +01:00
@Salakar
424b0da686 chore(release): publish [skip-ci]
- @react-native-firebase/admob@6.7.1
 - @react-native-firebase/analytics@6.7.1
 - @react-native-firebase/app-types@6.7.1
 - @react-native-firebase/app@6.7.1
 - @react-native-firebase/auth@6.7.1
 - @react-native-firebase/crashlytics@6.7.1
 - @react-native-firebase/database@6.7.1
 - @react-native-firebase/dynamic-links@6.7.1
 - @react-native-firebase/firestore@6.7.1
 - @react-native-firebase/functions@6.7.1
 - @react-native-firebase/iid@6.7.1
 - @react-native-firebase/in-app-messaging@6.7.1
 - @react-native-firebase/messaging@6.7.1
 - @react-native-firebase/ml-natural-language@6.7.1
 - @react-native-firebase/ml-vision@6.7.1
 - @react-native-firebase/perf@6.7.1
 - @react-native-firebase/remote-config@6.7.1
 - @react-native-firebase/storage@6.7.1
 - @react-native-firebase/template@6.7.1
 - react-native-firebase-tests@6.7.1
2020-04-22 16:45:24 +00:00
Salakar
edd9b0ae1e chore: remove gitHead from package.json 2020-04-22 17:44:01 +01:00
@Salakar
d536b93b42 chore(release): publish [skip-ci]
- @react-native-firebase/admob@6.7.0
 - @react-native-firebase/analytics@6.7.0
 - @react-native-firebase/app-types@6.7.0
 - @react-native-firebase/app@6.7.0
 - @react-native-firebase/auth@6.7.0
 - @react-native-firebase/crashlytics@6.7.0
 - @react-native-firebase/database@6.7.0
 - @react-native-firebase/dynamic-links@6.7.0
 - @react-native-firebase/firestore@6.7.0
 - @react-native-firebase/functions@6.7.0
 - @react-native-firebase/iid@6.7.0
 - @react-native-firebase/in-app-messaging@6.7.0
 - @react-native-firebase/messaging@6.7.0
 - @react-native-firebase/ml-natural-language@6.7.0
 - @react-native-firebase/ml-vision@6.7.0
 - @react-native-firebase/perf@6.7.0
 - @react-native-firebase/remote-config@6.7.0
 - @react-native-firebase/storage@6.7.0
 - @react-native-firebase/template@6.7.0
 - react-native-firebase-tests@6.7.0
2020-04-22 16:37:22 +00:00
@Salakar
cd4e3453d9 chore(release): publish [skip-ci]
- @react-native-firebase/admob@6.6.0
 - @react-native-firebase/analytics@6.6.0
 - @react-native-firebase/app-types@6.6.0
 - @react-native-firebase/app@6.6.0
 - @react-native-firebase/auth@6.6.0
 - @react-native-firebase/crashlytics@6.6.0
 - @react-native-firebase/database@6.6.0
 - @react-native-firebase/dynamic-links@6.6.0
 - @react-native-firebase/firestore@6.6.0
 - @react-native-firebase/functions@6.6.0
 - @react-native-firebase/iid@6.6.0
 - @react-native-firebase/in-app-messaging@6.6.0
 - @react-native-firebase/messaging@6.6.0
 - @react-native-firebase/ml-natural-language@6.6.0
 - @react-native-firebase/ml-vision@6.6.0
 - @react-native-firebase/perf@6.6.0
 - @react-native-firebase/remote-config@6.6.0
 - @react-native-firebase/storage@6.6.0
 - @react-native-firebase/template@6.6.0
 - react-native-firebase-tests@6.6.0
2020-04-22 16:15:53 +00:00
Mike Diarmid
e2c2d64d22 feat: independently version packages (#3513)
* feat: remove core version lock

* chore: v6.4.1

* chore: v6.4.1

* chore: configure lerna for independent versions

* chore: configure lerna for independent versions

* chore: only check docs folder

skipping elsewhere due to generated files such as changelogs
2020-04-22 15:48:13 +01:00
Mike Diarmid
a800cdbc81 fix(messaging,ios): keep original UNUserNotificationCenter dele… (#3427)
* 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>
2020-04-22 12:49:52 +01:00
Mike Diarmid
e427fcfd9b chore: github actions (#3472) 2020-04-17 14:54:16 +01:00
Mike Diarmid
67bbd30a34 chore: upgrade testing project to RN 0.62.x (#3433)
* 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

* -
2020-04-14 21:14:44 +01:00
Salakar
963e32cab5 chore(release): v6.4.0 2020-04-03 14:44:17 +01:00
Salakar
aa127b8444 chore(release): v6.4.0 2020-04-03 14:41:40 +01:00
Elliot Hesp
68c6bce140 chore(docs): migrate to new docs website (#3389) 2020-04-03 14:00:59 +01:00
Salakar
432ad63a6f refactor(docs): change links to new site 2020-04-03 14:00:00 +01:00
Mike Diarmid
530f8bbb51 feat(ios): allow static_framework usage via Podfile global (#3388)
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 +
2020-04-02 18:29:13 +01:00
Elliot Hesp
d66a6118f8 feat(messaging): ios & android messaging updates & fixes (#3339)
See PR #3339 for changes.

Co-authored-by: Salakar <mike.diarmid@gmail.com>
2020-03-27 00:06:30 +00:00
Elliot Hesp
cf0bbdcaf0 feature(messaging): android messaging upgrade (#3309)
* messaging receiver updates / initial notification handling

* Attach Notification to RemoteMessage

Co-authored-by: Mike Diarmid <mike.diarmid@gmail.com>
2020-03-17 11:51:36 +00:00
Kazuki
3b129dcc00 fix(messaging): allow RNFirebaseMessagingHeadlessTask to run in… (#3311) 2020-03-17 11:42:02 +00:00
russellwheatley
ea66c683ca fix(messaging): registerRemoteNotifictions 2020-03-12 18:04:57 +00:00
Ely Alvarado
bd4dc06a05 fix(messaging): fix remote notification tokens
* 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>
2020-03-12 14:27:19 +00:00
russellwheatley
6277c882c2 v6.3.4 2020-02-17 12:15:19 +00:00
russellwheatley
93c6b38f6d v6.3.4 2020-02-17 11:32:39 +00:00
Mike Diarmid
b4eaa39ea8 fix(android,build): conditionally check app dependency, fixes… (#3215) 2020-02-16 18:27:35 +00:00
Luis Rodriguez
f790630242 docs(messaging): fixed types incorrectly referencing firestore() #3201 2020-02-16 17:48:33 +00:00
Mike Hardy
fb763ebde2 fix(android,build): use correct plugin & BoM versions
* fix: bump invertase gradle plugin to 1.4
* fix: harmonize android dependencies on BoM 24.1.0
2020-02-16 17:44:13 +00:00
russellwheatley
b75cca2423 v6.3.3 2020-02-13 12:40:21 +00:00
russellwheatley
8f886bde15 v6.3.3 2020-02-13 12:39:03 +00:00
russellwheatley
b443588397 v6.3.2 2020-02-11 09:48:23 +00:00
russellwheatley
64bb3f3112 v6.3.2 2020-02-11 09:46:30 +00:00
russellwheatley
44b271c8b6 v6.3.1 2020-02-05 16:28:05 +00:00
russellwheatley
558abc7e29 v6.3.1 2020-02-05 16:26:28 +00:00
russellwheatley
7c746c04c0 6.3.0 2020-02-04 09:35:24 +00:00
russellwheatley
f61c858140 6.3.0 2020-02-04 09:22:49 +00:00
Anderson Addo
9105b1fab3 Updated type-test.ts to reflect new signature. 2020-01-21 13:27:23 -05:00
Anderson Addo
a2879b60fd Corrected typescript signature for setBackgroundMessageHandler
It wasn't specified that it should actually return a promise
2020-01-21 12:30:51 -05:00
Mike Diarmid
367d5ec2a6 Merge branch 'master' into fix-registerForRemoteNotifications-and-requestPermission 2020-01-20 16:24:00 +00:00
Sandro Machado
6a64c478dd docs(messaging): fix broken Firebase link (#3028)
Fix the link to the cloud messaging product on the README.md
2019-12-20 10:42:15 +00:00
Simone Carcone
9308e4348f requestAuthorizationWithOptions before registerForRemoteNotifications 2019-12-17 19:12:38 +01:00
Salakar
5ce2ee3548 chore(*): v6.2.0 2019-12-08 00:07:43 +00:00
Salakar
8ae094a2d5 chore(*): v6.2.0 2019-12-08 00:03:12 +00:00
Salakar
f15295bbd0 chore(*): v6.1.0 2019-11-26 04:26:30 +00:00