Yanick Bélanger
ce39abf9c0
fix(messaging): added missing from property in Remote Message type ( #4030 )
...
[publish]
Co-authored-by: Mike Diarmid <mike.diarmid@gmail.com >
2020-08-03 10:43:18 +01:00
Russell Wheatley
bf0611f10d
refactor!: remove flow types ( #3954 )
...
* chore(*): removed flow types
* chore(app): rm app-types package
2020-07-30 10:12:16 +01:00
Russell Wheatley
7e9d252853
refactor: remove deprecated code ( #3953 )
...
* chore(storage): rm downloadFile api
* chore(messaging): rm deprecated methods
* chore(dynamic-links): rm createDynamicLink
* chore(dynamic-links): rm createShortDynamicLink
* rm isRegisteredForRemoteNotifications
* chore(app): rm deprecrated util.paths
* chore: remove comment
2020-07-23 15:36:26 +01:00
Anderson Addo
cb15a284de
docs: setBackgroundMessageHandler isn't Android-only ( #3892 )
2020-07-07 07:18:10 +01:00
Mike Hardy
0b87a15de0
fix(types): add sentTime to FirebaseMessagingTypes.RemoteMessage ( #3885 )
...
[publish]
2020-07-06 10:12:00 +01:00
Zohaad97
c8f7c31802
feat: support critical alert permissions ( #3852 )
2020-06-30 05:02:58 +01: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
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
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
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
Luis Rodriguez
f790630242
docs(messaging): fixed types incorrectly referencing firestore() #3201
2020-02-16 17:48:33 +00: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
Salakar
53f0788c61
docs(messaging): add docs for #2657
2019-11-26 03:22:09 +00:00
Salakar
1940d6c8fb
fix(messaging): deprecate onTokenRefresh(event => event.token) fixes #2889
2019-11-25 21:19:29 +00:00
Salakar
e14680adde
refactor(linting): fix linting issue
2019-11-24 17:14:54 +00:00
Cameron Knight
f0e614f485
fix(messaging): typo in isRegisteredForRemoteNotifications ( #2645 )
...
This changes the access of `native.isRegisteredForRemoteNotifcations` (missing `i`) to `native.isRegisteredForRemoteNotifications`, which matches the string defined in https://github.com/invertase/react-native-firebase/blob/master/packages/messaging/ios/RNFBMessaging/RNFBMessagingModule.m#L58
This also fixes the coercion of falsy values to `true`, which would have occurred if `native.isAutoInitEnabled` or `native.isRegisteredForRemoteNotifications` were initially `false`.
2019-11-23 17:28:30 +00:00
Salakar
a33fd146a0
[types] rework default export types for each module (should fix #2648 )
2019-10-07 06:32:26 +01:00
Alexandre Segura
b3665dbe0c
Fix wrong AsyncStorage method name.
2019-10-06 00:39:53 +02:00
ehesp
579ac7d6f8
[ts] update named exports
2019-09-16 12:25:48 +01:00
ehesp
f153b7fa04
[ts] messaging
2019-09-16 11:08:18 +01:00
Ilja Daderko
b40d44c57e
Move commons into /app ( #2486 )
...
* stash
* move commons into the app
2019-08-14 13:42:08 +03:00
Mike Diarmid
4bafa29ea3
[dynamic-links][messaging] bug fixes & additional tests for onLink/getInitialLink ( #2452 )
2019-08-07 15:49:03 +01:00
Salakar
02aa55a19a
[tests] linting fixes
2019-08-02 21:19:15 +01:00
Elliot Hesp
5df8ed2f92
[v6] refactor messaging & more tests ( #2423 )
2019-07-31 20:10:24 +01:00
Salakar
f429699990
- [dependencies][android] remove all Firebase SDKs in favour of Firebase BoM
...
- [android] upgrade to Android X
- [android] upgrade gradle wrapper to v5.4.1
- [android][ios][tests] remove manual packages & enable auto-linking
- [tests][internal] upgrade tests project to RN 60
- [ios] temporarily remove framework support in pods - broken in RN 60 - see https://github.com/facebook/react-native/issues/25349
- [linting] switch to use rn community linting rules
2019-07-30 03:59:04 +01:00
Salakar
6b943a7439
[messaging][internals] rename MessagingRemoteMessage -> RemoteMessageBuilder
2019-07-18 13:14:09 +01:00
Salakar
12288f036c
[types][messaging] add additional docs
2019-07-18 12:05:50 +01:00
Salakar
a26731436e
[types][messaging] add additional docs
2019-07-18 12:02:12 +01:00
Salakar
47d175a0dd
[types][messaging] add additional docs
2019-07-18 11:38:59 +01:00
Salakar
a9ada474ac
[types][messaging] add android notes
2019-07-18 11:12:20 +01:00
Salakar
d207983938
[types][messaging] fix types
2019-07-16 20:02:59 +01:00
Salakar
e2fc785e16
[types][messaging] typo
2019-07-16 13:40:43 +01:00
Salakar
142aa8ae83
[types][messaging] fix onMessage & deleteToken types
2019-07-16 13:38:45 +01:00
Salakar
9823442e74
[docs][messaging] use correct platform comment tags
2019-07-16 11:48:48 +01:00
Salakar
0e9ed631b9
[types] add FirebaseJsonConfig types
2019-07-15 02:40:55 +01:00
Salakar
6bcb678c29
[types][messaging] rework types
2019-07-15 01:27:40 +01:00
Salakar
4c42863aab
[types][messaging] add SendErrorEvent type
2019-07-12 17:06:54 +01:00
Salakar
ed2c58f033
[ci] fix linting issues
2019-07-12 15:25:17 +01:00
Mike Diarmid
85672a479a
v6 Implement Cloud Messaging ( #2330 )
2019-07-12 14:06:43 +01:00