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