Commit Graph

350 Commits

Author SHA1 Message Date
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
wixmobile
a6a5472d2b Update package.json version to 2.1.7 and generate CHANGELOG.gren.md [ci skip] 2019-12-14 12:42:37 -05:00
Rotem Mizrachi-Meidan
e980745d91 Update Robolectric setup (#422)
* Update dependencies and specifically robolectric setup to stop leaking the setup script to dependant projects.

* deleted deprecated script prepare-robolectric
2.1.7 2.1.6-snapshot.60
2019-12-14 19:21:28 +02:00
wixmobile
fbd964e70b Update package.json version to 2.1.6 and generate CHANGELOG.gren.md [ci skip] 2019-11-21 06:43:53 -05:00
roiberlin
c4535d682e add RNNotificationCenterMulticast (#411) 2.1.6 2.1.5-snapshot.57 2019-11-20 17:43:57 +02:00
wixmobile
9145155dd9 Update package.json version to 2.1.5 and generate CHANGELOG.gren.md [ci skip] 2019-10-28 07:56:01 -04:00
Yogev Ben David
cdddf35ff2 Allow cancel delivered notification with tag (#402)
* Allow cancel local notification with tag

* Rename to cancelDeliveredNotification
2.1.5 2.1.4-snapshot.54
2019-10-28 13:42:56 +02:00
wixmobile
319c567600 Update package.json version to 2.1.4 and generate CHANGELOG.gren.md [ci skip] 2019-10-28 05:04:46 -04:00
wixmobile
232d10fe3d Update package.json version to 2.1.4-beta.0 and generate CHANGELOG.gren.md [ci skip] 2.1.4 2019-10-27 18:58:13 -04:00
Yogev Ben David
feec43139a Remove all delivered notifications support for android (#401) 2.1.4-beta.0 3.0.0-beta.1-snapshot.49 2019-10-28 00:17:30 +02:00
Yogev Ben David
95d1a399de Remove vibrate permissions maxSdkVersion, fix example project on android (#388) 2.1.3-snapshot.40 2019-10-02 13:29:20 +03:00
Yogev Ben David
51097b28ad Xcode 11 support in CI (#384)
* Run detox e2e tests on iPhone 11

* Run detox e2e tests on iPhone 11

* Run detox e2e tests on iPhone 11

* Link CallKit framework for iOS 11

* Upgrade detox@14.x.x

* Add CallKit to example project frameworks
2.1.3-snapshot.39
2019-09-25 21:39:21 +03:00
wixmobile
d65dc4f60f Update package.json version to 2.1.3 and generate CHANGELOG.gren.md [ci skip] 2019-09-22 07:54:28 -04:00
yogevbd
88bc7c127f Fix release script 2.1.3 2.1.0-snapshot.34 2019-09-22 14:26:56 +03:00
yogevbd
8de8983a4c Fix changelog fileName 3.0.0-alpha.0-snapshot.30 2019-09-22 13:11:26 +03:00
Carlos Alcazar
a1510bae1b Fixing white square icon and annotation error (#379)
* Fixing issue with notification showing as a white square for application icons that do not follow the notification icon Standard. Should be a non breaking change as the fall back should pull the application icon if it's not defined

* Not sure how long this error has been here but we are importing the wrong thing. We should be importing NonNull as importing Nullable causes a build error. The RN 60 flavor of the file is importing the NonNull

* Updating documentation for the Icon

* Fixing image name and updating documentation

* Update installation.md

Forgot one more place to update the file name
3.0.0-alpha.0-snapshot.28
2019-09-22 12:57:23 +03:00
Yogev Ben David
f421c5127e Autogenerate changelog using github-release-notes (#382)
* Auto generate changelog

* Update .github/main.workflow

* Add skip-changelog as a valid PR label
3.0.0-alpha.0-snapshot.27
2019-09-22 12:51:56 +03:00
yogevbd
ccc188581b Fix main.workflow 3.0.0-alpha.0-snapshot.26 2019-09-20 18:29:04 +03:00
yogevbd
2a5a492bd7 Add .github/main.workflow 3.0.0-alpha.0-snapshot.25 2019-09-20 18:23:14 +03:00
Yogev Ben David
6e726d1dc2 Update and rename main.yml to require-label.yml 3.0.0-alpha.0-snapshot.24 2019-09-20 03:48:59 +03:00
Yogev Ben David
258d9386a7 Update CHANGELOG.md 2019-09-15 20:13:05 +03:00
yogevbd
ee9e798dc4 Fix realese script 3.0.0-alpha.0-snapshot.22 2019-09-15 16:41:31 +03:00
wixmobile
09dd16d68a Update package.json version to 2.1.0 [ci skip] 2019-09-14 16:01:39 -04:00
yogevbd
711963449c Update CHANGELOG.md 2.1.0-snapshot.13 2.1.0 2.0.6-snapshot.11 2019-09-14 22:37:49 +03:00
Yogev Ben David
0fdabd3e43 React Native 0.60 Support (#375)
* Add react-native@0.60.* support

* Change variant name

* Update installation docs

* Fix example project

* Update installation.md
2.0.6-snapshot.10
2019-09-14 22:28:33 +03:00
Yogev Ben David
71607f71ce Add empty build script for CI usage (#363) 2.0.6-snapshot.9 2019-08-14 11:15:23 +03:00
yogevbd
0b0fdb5021 Remove prerelease script 2.0.6-snapshot.8 2019-08-13 19:22:03 +03:00
yogevbd
38c053e270 Add release script 2019-08-13 19:08:15 +03:00
yogevbd
42902b8677 Add release script 2019-08-13 18:00:53 +03:00
yogevbd
20891e75e2 Add test-js script 2019-08-13 16:22:09 +03:00
yogevbd
b2c4281fd6 Add clean script 2019-08-13 16:00:05 +03:00
Yogev Ben David
e4455d1926 Unify iOS e2e and unit tests in CI (#361)
* Unite ios tests

* fix workflows

* Rename jobs

* Run ios unit tests before e2e
2019-08-13 15:13:10 +03:00
Yogev Ben David
7526f5640b Update installation.md 2019-08-12 16:24:36 +03:00
Yogev Ben David
e434c62055 Remove GCM leftovers (#359)
* Remove GCM leftovers, fix typos

* Print android unit tests output
2019-08-12 16:23:29 +03:00
yogevbd
b4030449f0 2.0.6 2019-08-12 15:07:41 +03:00
Yogev Ben David
8d67097938 Update CHANGELOG.md 2019-08-12 15:05:29 +03:00
yogevbd
d6750ab5ae Remove gradle cache files 2019-08-12 14:55:50 +03:00
Yogev Ben David
1652c7fa5d Merge pull request #358 from wix/betterIntentHandling
Resolve intent by extra key and not by `google.message_id` string
2019-08-12 14:52:31 +03:00
yogevbd
5056657a6b Handle intent by extra key and not by google.message_id string 2019-08-12 14:34:20 +03:00
yogevbd
f8296ddd1e 2.0.5 2019-08-11 23:23:10 +03:00
Yogev Ben David
4247c317be Merge pull request #357 from wix/revert-349-removeVerifyNotification
Revert "Remove verify notification, Closes #296"
2019-08-11 23:22:31 +03:00
Yogev Ben David
0b70828ca3 Revert "Remove verify notification, Closes #296" 2019-08-11 23:21:05 +03:00
yogevbd
106c78c9f9 Updated .npmignore 2019-08-09 23:30:36 +03:00
yogevbd
061fae4c58 2.0.4 2019-08-09 23:14:53 +03:00
yogevbd
21c684dbb7 Fix missing badge in silent notification payload with no aps.alert 2019-08-09 23:14:13 +03:00
Yogev Ben David
1d5f6b2db4 Merge pull request #354 from wix/testCoverage
Add test coverage on iOS
2019-08-03 23:51:42 +03:00
Yogev Ben David
4674f8ecce Merge pull request #352 from wix/parallelism
Parallelise tests
2019-07-31 10:37:03 +03:00
yogevbd
e0dce9fa47 Parallelise tests 2019-07-31 10:19:15 +03:00
yogevbd
dbf046ef68 Add test coverage for iOS 2019-07-30 23:09:59 +03:00
Yogev Ben David
df79658ef5 Merge pull request #351 from wix/ciUnitTests
Migration to circleCI
2019-07-30 23:08:14 +03:00