201 Commits

Author SHA1 Message Date
Artal Druk
3bc86e3b7a 1.4.0 v1.4.0 2019-04-18 10:47:26 +03:00
Artal Druk
20269137c8 expose missing supportedEvents 2019-04-18 10:46:57 +03:00
Artal Druk
022fda3928 add requiresMainQueueSetup 2019-04-18 10:46:26 +03:00
Artal Druk
df5b89e8d9 example project: upgrade to RN 0.59 2019-04-18 10:46:04 +03:00
aboelbisher
498dd34b70 [WIP] iOS deprecated API replacement (#295)
* IOS deprecated API replacement
2019-03-18 11:24:55 +02:00
yogevbd
2e74b4d249 Revert "Fix push receiving from dead state"
This reverts commit 4cd72c4843.
2019-03-14 11:12:06 +02:00
Yogev Ben David
0bf5e42236 Merge pull request #291 from wix/1.1.24
Fixes isRegisteredForRemoteNotifications on iOS
2019-02-24 15:58:29 +02:00
Yogev Ben David
1fb887d93a Merge branch 'master' into 1.1.24 2019-02-24 15:58:05 +02:00
yogevbd
c093686804 Fixes isRegisteredForRemoteNotifications on iOS 2019-02-24 15:50:33 +02:00
yogevbd
731cc93bd4 Verify FCM notification intent 2019-02-04 17:28:46 +02:00
yogevbd
4cd72c4843 Fix push receiving from dead state 2019-02-03 22:12:47 +02:00
yogevbd
3676811e9b 1.2.4 2019-02-03 19:46:10 +02:00
yogevbd
8f807e80e0 Fixes FCM notifications 2019-02-03 19:45:41 +02:00
yogevbd
61d3d5fe4a 1.2.3 2019-02-03 18:45:40 +02:00
yogevbd
d05ab1ed67 Initialize FirebaseApp - #285 2019-01-30 11:49:44 +02:00
Yogev Ben David
6023c7b78e Update package.json 2019-01-29 11:07:54 +02:00
Yogev Ben David
f35acbdcac Update package.json 2019-01-29 11:03:13 +02:00
Yogev Ben David
c0b008e360 Merge pull request #274 from wix/fcmSupport
Migrate from GCM to FCM
2019-01-29 10:55:53 +02:00
Yogev Ben David
a67664d0a5 Update package.json 2018-12-12 15:37:24 +02:00
yogevbd
a87f4a2b8a Migrate GCM to FCM 2018-12-12 15:02:28 +02:00
yogevbd
77f672cd37 1.1.23 2018-12-11 10:25:19 +02:00
Yogev Ben David
5df5dad4ed Merge pull request #271 from wix/foregroundListener
Foreground listener
2018-12-11 10:22:59 +02:00
yogevbd
24bab8ab5c update docs 2018-12-10 19:51:58 +02:00
yogevbd
6cc55f7b19 Add notification received in foreground listener 2018-12-10 19:51:26 +02:00
yogevbd
4a3efcd602 1.1.22 2018-12-10 12:32:16 +02:00
Yogev Ben David
17dfab51ab Merge pull request #270 from wix/fix-bg-pn-treated-as-fg
fix background PN is received as foreground
2018-12-10 11:50:19 +02:00
Doron Pearl
aa7625ce39 fix background PN is received as foreground
for the first time. refs #268 
The `didReceiveRemoteNotification` checks for the current app state which will be active and hence wrongly emit the notification to JS as foreground. However at the exact time when the user opened the notification, the app was at the background hence this is a background notification by definition.

In other words, conceptually determining if the notification is background or foreground should NOT be based on the time it was consumed from the queue but on the time it was received. Practically, if it was queued, then the app must have been in the background ==> background notification.
2018-12-09 16:50:59 +02:00
Amit Davidi
6cc14dfb4c 1.1.21 2018-11-04 15:48:56 +02:00
Amit Davidi
c62ca0f6a6 Remove package lock 2018-11-04 15:48:51 +02:00
Guy Carmeli
07f72753de 1.1.20 2018-11-04 15:44:25 +02:00
Guy Carmeli
e76b6dd0b4 update example app to RN 0.57 2018-11-04 15:44:10 +02:00
Guy Carmeli
a4ff26dc29 Update aslant 2018-11-04 15:42:19 +02:00
Guy Carmeli
254539e064 Update example app
Update gradle files, nothing fancy.
2018-11-04 14:50:21 +02:00
Lev Vidrak
0e86357c12 Merge pull request #244 from RocketChat/master
[FIX] Android 8
2018-08-16 18:46:58 +03:00
Diego Mello
cb77df5a4d Update to SDK 27 2018-07-25 17:09:54 -03:00
Amit Davidi
2c71cd9192 Upgrade ios example proj deployment target 2018-02-27 16:16:49 +02:00
Yedidya Kennard
161650db9f 1.1.19 2018-02-25 16:41:06 +02:00
Yedidya Kennard
072db20301 1.1.18 2018-02-25 16:19:56 +02:00
Yedidya Kennard
93f257c96d Merge pull request #182 from tiborkr/patch-1
Update notificationsEvents.md
2018-02-25 16:17:05 +02:00
Yedidya Kennard
3c170df7de Merge pull request #186 from vehikl/feature/get-badge-count
Added method for getting the current iOS badge count
2018-02-25 16:16:38 +02:00
Yedidya Kennard
ade806e527 Merge pull request #191 from wix/initial_notification_ios
getInitialNotification implemented on iOS
2018-02-25 16:16:28 +02:00
Yedidya Kennard
2643b66f5e Merge pull request #148 from KnackTech/open-local-fix
iOS opening Local Notification crash fix
2018-02-25 16:16:19 +02:00
Yedidya Kennard
3f13f6f99a Get local notification too 2018-02-25 16:10:15 +02:00
Yedidya Kennard
5c796bf70e getInitialNotification implemented on iOS 2018-02-25 15:51:20 +02:00
Lucas Gladding
2aaaad99c3 Added method for getting the current badge count. 2018-02-15 22:40:40 -05:00
Tibor Kranjčec
80a18f9e74 Update notificationsEvents.md
Changes the documentation so the example is correct in the prevention of the memory leaks.

`.bind` will return a new version of the function on each call which means `removeEventListener` won't be able to find the previous listener and release it.
2018-02-01 11:16:09 +01:00
Amit Davidi
28a2811766 Upgrade lib and demo projects to RN 0.51 2018-01-11 14:27:26 +02:00
David Stoker
816b09e970 Revert "Add iOS version checks to prevent crashes on iOS 8"
This reverts commit 9a47c853ce.
2017-11-15 22:12:20 -05:00
David Stoker
9a47c853ce Add iOS version checks to prevent crashes on iOS 8 2017-11-15 22:04:11 -05:00
David Stoker
d8a3d25ba0 Fix setting of the openedLocalNotification to use the userInfo from the UILocalNotification if it exists instead of the UILocalNotification itself 2017-10-26 22:39:45 -04:00