21 Commits

Author SHA1 Message Date
yogevbd
4e6f4d82c8 Fix e2e 2020-01-17 17:08:45 +02:00
yogevbd
e48dd02e5b Add tests coverage 2020-01-17 15:57:50 +02:00
yogevbd
adc97c36f4 Rename registerRemoteNotificationReceived to registerNotificationReceived 2020-01-17 15:26:47 +02:00
yogevbd
b54ba78b89 Rename registerRemoteNotificationOpened to registerNotificationOpened 2020-01-17 15:25:25 +02:00
yogevbd
8c50adb8f3 Add handling for both foreground and background received notification 2020-01-17 15:24:57 +02:00
Artal Druk
45d1f57a9f fix notification received event sent when the app is in the background. we need to add a new event for background receive 2020-01-16 16:02:14 +02:00
Artal Druk
fdd4fe40f5 when notifying notification data to JS, wrap in a map 2020-01-16 16:02:14 +02:00
Artal Druk
8c428ebcc7 fix token parameter to be wrapped in a map when sending to JS 2020-01-16 16:02:14 +02:00
Artal Druk
325e892eae separate notification dto identifier implementation 2020-01-16 16:02:14 +02:00
Yogev Ben David
006e4ab86f V3 (#437)
* Add typescript support

* Add unit tests

* Splits requestPermissionsWithCategories to two functions

* Done converting the js part to typescript

* typescript WIP

* Fix unit

* Fix e2e

* Identical API for Android and iOS

* Fix bundle

* build typescript before test-e2e-ios

* build typescript before test-e2e-ios

* Add docousaurus documentation

* Fix rebase from master

* Move android and ios folders into lib folder

* Split Notification.ts, Fix android example module

* Add test coverage for Notification.ts, clean old js files

* Updated docs

* Move ios and android commands to designated classes

* Remove package.json unused packages

* Fix e2e

* Fix docs, remove circleci config file

* 3.0.0-alpha.0

* Update README.md

* Fix js tests

* Add missing flavors

* Update release script

* Add pretest scripts

* Update release script

* Revert manual version change

* Fix release build

* Gradle resolve react-native version flavor

* Fix documentation website

* Add identical registerRemoteNotifications api for iOS and Android

* Finish API documentation

* Merge from master branch

* Fix build

* Remove NOTIFICATION_RECEIVED_FOREGROUND_EVENT_NAME

* Fix iOS example project

* Split specific iOS events, Update docs

* Add subscription documentation guide

* Add Local Notifications documentation guide

* Fix handling actions, Add event handling documentation guide

* Fix platforms logo

* Fix iOS unit tests

* Update package.json version to 3.0.0-beta.0 and generate CHANGELOG.gren.md [ci skip]

* Fix documentation

* Add prerelease script

* Update package.json version to 3.0.0-beta.1 and generate CHANGELOG.gren.md [ci skip]

* Add npm run docusaurus

* Add removeAllDeliveredNotifications support for both iOS and Android

* Add CI tag support

* Fix podspec

* Update iOS installation

* Fix android installation

* fix build.gradle rn package.json path

* Fix iOS

* Add NotificationFactory

* Fix tests

* Fix resolving gradle react native version

* find rn package.json by checking if the file exists instead of an exception in JsonSlurper

* Fix e2e

* Update package.json version to 3.0.0-beta.2 and generate CHANGELOG.gren.md [ci skip]

* Rename setBadgesCount to setBadgeCount

* add ios and android Notifications object getters

* Update package.json version to 3.0.0-beta.3 and generate CHANGELOG.gren.md [ci skip]

* Fix android token registration

* Update package.json version to 3.0.0-beta.4 and generate CHANGELOG.gren.md [ci skip]

Co-authored-by: wixmobile <41264282+wixmobile@users.noreply.github.com>
Co-authored-by: Artal Druk <artald@wix.com>
2020-01-15 17:13:07 +02:00
Yogev Ben David
cdddf35ff2 Allow cancel delivered notification with tag (#402)
* Allow cancel local notification with tag

* Rename to cancelDeliveredNotification
2019-10-28 13:42:56 +02:00
Yogev Ben David
feec43139a Remove all delivered notifications support for android (#401) 2019-10-28 00:17:30 +02:00
yogevbd
21c684dbb7 Fix missing badge in silent notification payload with no aps.alert 2019-08-09 23:14:13 +03:00
yogevbd
800669120b Remove consumeBackgroundQueue api 2019-07-10 21:22:16 +03:00
yogevbd
25b5baf86f Add e2e tests and final adjustments 2019-07-10 20:57:06 +03:00
yogevbd
6ff0424032 Fix payload 2019-07-09 17:57:14 +03:00
yogevbd
c97e559ad5 Fix unit tests 2019-07-09 14:45:17 +03:00
yogevbd
138636054e Fix pushKit 2019-07-09 13:10:31 +03:00
yogevbd
f0f0b0e0d1 WIP 2019-07-09 02:00:55 +03:00
yogevbd
235cffd8a4 WIP 2019-07-09 00:42:38 +03:00
yogevbd
10730bed07 Refactor, split code, upgrade react 2019-07-07 12:41:53 +03:00