Commit Graph

187 Commits

Author SHA1 Message Date
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
d4vidi
bd4d6b7b48 Remove old (broken) refs in README 2017-10-26 18:56:39 +03:00
d4vidi
2cb5d47641 Merge pull request #147 from wix/readme_segmentation
Break README into sub-sections in separate files with a ToC
2017-10-26 18:49:44 +03:00
Amit Davidi
fe30ae5e03 Break README into sub-sections in separate files with a ToC 2017-10-26 18:45:41 +03:00
d4vidi
0048968eb1 Merge pull request #132 from eliperkins/patch-1
Remove @providesModule
2017-10-26 12:55:55 +03:00
Amit Davidi
83d1386e13 v1.1.17 v1.1.17 2017-10-26 10:30:57 +03:00
d4vidi
0a350a12ea Merge pull request #96 from radko93/patch-2
Remove createJSModules @overide marker - RN 0.47 compatibility
2017-10-26 10:25:36 +03:00
Ran Greenberg
c45934545f Merge pull request #62 from Benjamin-Dobell/fcm-ios
Accept string device tokens
2017-10-24 20:19:18 +03:00
Eli Perkins
0cff6264ba Remove @providesModule
This Haste module is never used by the library, and only interferes with usage in Haste-based systems.
2017-10-03 14:27:44 -04:00
Ran Greenberg
15798eb34f 1.1.16 2017-08-26 09:24:16 +03:00
Ran Greenberg
aa1a7b9456 Merge pull request #116 from reberhardt7/add-silent-option
Add silent option to iOS localNotification
2017-08-26 09:23:39 +03:00
Ryan Eberhardt
358c1ec56a Add silent option to iOS localNotification
Add an option to suppress notification sound. Allows for in-app
notification mute
2017-08-24 12:23:34 -07:00
Yedidya Kennard
449c2f7777 1.1.15 2017-08-22 13:51:08 +03:00
Guy Carmeli
7f1845d042 Merge pull request #111 from wix/android_permission_check
Added support for checking permissions on android
2017-08-22 13:22:07 +03:00
Yedidya Kennard
7784008148 Added support for checking permissions on android 2017-08-22 12:59:35 +03:00