@imatis/react-native-notifications 4.3.1-imatis.23 → 4.3.3-imatis.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. package/.detoxrc.json +37 -0
  2. package/CHANGELOG.gren.md +136 -76
  3. package/android/app/src/reactNative59/reactNative59.iml +11 -0
  4. package/android/app/src/reactNative60/reactNative60.iml +11 -0
  5. package/lib/android/.gradle/6.1.1/executionHistory/executionHistory.lock +0 -0
  6. package/lib/android/.gradle/6.1.1/fileHashes/fileHashes.bin +0 -0
  7. package/lib/android/.gradle/6.1.1/fileHashes/fileHashes.lock +0 -0
  8. package/lib/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  9. package/lib/android/.gradle/buildOutputCleanup/cache.properties +1 -1
  10. package/lib/android/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
  11. package/lib/android/.gradle/checksums/checksums.lock +0 -0
  12. package/lib/android/.gradle/checksums/md5-checksums.bin +0 -0
  13. package/lib/android/.gradle/checksums/sha1-checksums.bin +0 -0
  14. package/lib/android/app/src/main/java/com/wix/reactnativenotifications/RNNotificationsPackage.java +2 -3
  15. package/lib/android/app/src/main/java/com/wix/reactnativenotifications/core/JsIOHelper.java +4 -0
  16. package/lib/android/app/src/main/java/com/wix/reactnativenotifications/core/NotificationIntentAdapter.java +7 -7
  17. package/lib/android/app/src/main/java/com/wix/reactnativenotifications/core/notification/PushNotification.java +2 -2
  18. package/lib/android/local.properties +2 -2
  19. package/lib/dist/adapters/NativeEventsReceiver.d.ts +1 -1
  20. package/lib/dist/adapters/NativeEventsReceiver.js +2 -1
  21. package/lib/dist/events/EventsRegistry.test.js +10 -9
  22. package/lib/dist/events/EventsRegistryIOS.test.js +6 -4
  23. package/lib/ios/RNNotifications.xcodeproj/project.xcworkspace/xcuserdata/troy.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
  24. package/lib/src/adapters/NativeEventsReceiver.ts +1 -1
  25. package/lib/src/events/EventsRegistry.test.ts +11 -9
  26. package/lib/src/events/EventsRegistryIOS.test.ts +7 -4
  27. package/package-lock.json +13507 -0
  28. package/package.json +13 -30
  29. package/react-native.config.js +0 -1
  30. package/lib/android/.gradle/6.1.1/executionHistory/executionHistory.bin +0 -0
  31. package/lib/android/.gradle/6.1.1/fileContent/fileContent.lock +0 -0
  32. package/lib/android/.gradle/6.1.1/fileHashes/resourceHashesCache.bin +0 -0
  33. package/lib/android/.gradle/6.1.1/javaCompile/classAnalysis.bin +0 -0
  34. package/lib/android/.gradle/6.1.1/javaCompile/jarAnalysis.bin +0 -0
  35. package/lib/android/.gradle/6.1.1/javaCompile/javaCompile.lock +0 -0
  36. package/lib/android/.gradle/6.1.1/javaCompile/taskHistory.bin +0 -0
  37. package/lib/android/app/src/test/java/com/wix/reactnativenotifications/core/AppLaunchHelperTest.java +0 -117
  38. package/lib/android/app/src/test/java/com/wix/reactnativenotifications/core/InitialNotificationHolderTest.java +0 -59
  39. package/lib/android/app/src/test/java/com/wix/reactnativenotifications/core/JsIOHelperTest.java +0 -60
  40. package/lib/android/app/src/test/java/com/wix/reactnativenotifications/core/notification/PushNotificationTest.java +0 -381
  41. package/lib/android/app/src/test/java/com/wix/reactnativenotifications/core/notificationdrawer/PushNotificationsDrawerTest.java +0 -96
  42. package/lib/android/app/src/test/resources/robolectric.properties +0 -1
  43. package/lib/dist/adapters/NativeCommandsSender.mock.d.ts +0 -1
  44. package/lib/dist/adapters/NativeCommandsSender.mock.js +0 -4
  45. package/lib/dist/adapters/NativeEventsReceiver.mock.d.ts +0 -1
  46. package/lib/dist/adapters/NativeEventsReceiver.mock.js +0 -4
  47. package/lib/src/adapters/NativeCommandsSender.mock.ts +0 -1
  48. package/lib/src/adapters/NativeEventsReceiver.mock.ts +0 -1
package/.detoxrc.json ADDED
@@ -0,0 +1,37 @@
1
+ {
2
+ "testRunner": "jest",
3
+ "runnerConfig": "e2e/config.json",
4
+ "skipLegacyWorkersInjection": true,
5
+ "devices": {
6
+ "simulator": {
7
+ "type": "ios.simulator",
8
+ "device": {
9
+ "type": "iPhone 12 Pro Max"
10
+ }
11
+ }
12
+ },
13
+ "apps": {
14
+ "ios.release": {
15
+ "name": "RNNotifications",
16
+ "type": "ios.app",
17
+ "binaryPath": "example/ios/DerivedData/NotificationsExampleApp/Build/Products/Release-iphonesimulator/NotificationsExampleApp.app",
18
+ "build": "RCT_NO_LAUNCH_PACKAGER=true xcodebuild build -scheme NotificationsExampleApp_release -workspace example/ios/NotificationsExampleApp.xcworkspace -sdk iphonesimulator -configuration Release -derivedDataPath example/ios/DerivedData/NotificationsExampleApp ONLY_ACTIVE_ARCH=YES -quiet -UseModernBuildSystem=NO"
19
+ },
20
+ "ios.debug": {
21
+ "name": "RNNotificationsDebug",
22
+ "type": "ios.app",
23
+ "binaryPath": "example/ios/DerivedData/NotificationsExampleApp/Build/Products/Debug-iphonesimulator/NotificationsExampleApp.app",
24
+ "build": "RCT_NO_LAUNCH_PACKAGER=true xcodebuild build -scheme NotificationsExampleApp -workspace example/ios/NotificationsExampleApp.xcworkspace -sdk iphonesimulator -configuration Debug -derivedDataPath example/ios/DerivedData/NotificationsExampleApp ONLY_ACTIVE_ARCH=YES -quiet -UseModernBuildSystem=NO"
25
+ }
26
+ },
27
+ "configurations": {
28
+ "ios.sim.release": {
29
+ "device": "simulator",
30
+ "app": "ios.release"
31
+ },
32
+ "ios.sim.debug": {
33
+ "device": "simulator",
34
+ "app": "ios.debug"
35
+ }
36
+ }
37
+ }