reactnative-plugin-appice 1.6.0 → 1.6.2

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 (124) hide show
  1. package/README.md +37 -37
  2. package/android/README.md +14 -14
  3. package/android/android.iml +150 -150
  4. package/android/build.gradle +152 -152
  5. package/android/gitignore +47 -47
  6. package/android/src/main/AndroidManifest.xml +234 -234
  7. package/android/src/main/java/com/reactlibrary/AppICEUtils.java +38 -38
  8. package/android/src/main/java/com/reactlibrary/AppIceReactPluginModule.java +503 -473
  9. package/android/src/main/java/com/reactlibrary/AppIceReactPluginPackage.java +28 -28
  10. package/android/src/main/java/com/reactlibrary/CampaignCampsReceiver.java +73 -73
  11. package/android/src/main/java/com/reactlibrary/InAppWebView.java +67 -67
  12. package/android/src/main/java/com/reactlibrary/NotificationEventService.java +62 -62
  13. package/example/App.js +148 -148
  14. package/example/Gemfile +6 -6
  15. package/example/__tests__/App-test.js +14 -14
  16. package/example/android/app/_BUCK +55 -55
  17. package/example/android/app/build.gradle +320 -320
  18. package/example/android/app/build_defs.bzl +19 -19
  19. package/example/android/app/proguard-rules.pro +10 -10
  20. package/example/android/app/src/debug/AndroidManifest.xml +13 -13
  21. package/example/android/app/src/debug/java/com/example/ReactNativeFlipper.java +73 -73
  22. package/example/android/app/src/main/AndroidManifest.xml +72 -72
  23. package/example/android/app/src/main/java/com/example/MainActivity.java +48 -48
  24. package/example/android/app/src/main/java/com/example/MainApplication.java +91 -91
  25. package/example/android/app/src/main/java/com/example/newarchitecture/MainApplicationReactNativeHost.java +116 -116
  26. package/example/android/app/src/main/java/com/example/newarchitecture/components/MainComponentsRegistry.java +36 -36
  27. package/example/android/app/src/main/java/com/example/newarchitecture/modules/MainApplicationTurboModuleManagerDelegate.java +48 -48
  28. package/example/android/app/src/main/jni/Android.mk +48 -48
  29. package/example/android/app/src/main/jni/MainApplicationModuleProvider.cpp +24 -24
  30. package/example/android/app/src/main/jni/MainApplicationModuleProvider.h +16 -16
  31. package/example/android/app/src/main/jni/MainApplicationTurboModuleManagerDelegate.cpp +45 -45
  32. package/example/android/app/src/main/jni/MainApplicationTurboModuleManagerDelegate.h +38 -38
  33. package/example/android/app/src/main/jni/MainComponentsRegistry.cpp +61 -61
  34. package/example/android/app/src/main/jni/MainComponentsRegistry.h +32 -32
  35. package/example/android/app/src/main/jni/OnLoad.cpp +11 -11
  36. package/example/android/app/src/main/res/drawable/rn_edit_text_material.xml +36 -36
  37. package/example/android/app/src/main/res/values/strings.xml +3 -3
  38. package/example/android/app/src/main/res/values/styles.xml +9 -9
  39. package/example/android/build.gradle +53 -53
  40. package/example/android/gradle/wrapper/gradle-wrapper.properties +5 -5
  41. package/example/android/gradle.properties +40 -40
  42. package/example/android/gradlew +234 -234
  43. package/example/android/settings.gradle +11 -11
  44. package/example/app.json +3 -3
  45. package/example/babel.config.js +3 -3
  46. package/example/index.js +9 -9
  47. package/example/ios/Podfile +44 -44
  48. package/example/ios/Podfile.lock +561 -561
  49. package/example/ios/_xcode.env +11 -11
  50. package/example/ios/example/AppDelegate.h +8 -8
  51. package/example/ios/example/AppDelegate.mm +174 -174
  52. package/example/ios/example/Images.xcassets/AppIcon.appiconset/Contents.json +53 -53
  53. package/example/ios/example/Images.xcassets/Contents.json +6 -6
  54. package/example/ios/example/Info.plist +62 -62
  55. package/example/ios/example/LaunchScreen.storyboard +47 -47
  56. package/example/ios/example/example.entitlements +8 -8
  57. package/example/ios/example/main.m +10 -10
  58. package/example/ios/example.xcodeproj/project.pbxproj +712 -712
  59. package/example/ios/example.xcodeproj/xcshareddata/xcschemes/example.xcscheme +88 -88
  60. package/example/ios/example.xcworkspace/contents.xcworkspacedata +10 -10
  61. package/example/ios/example.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -8
  62. package/example/ios/exampleTests/Info.plist +24 -24
  63. package/example/ios/exampleTests/exampleTests.m +66 -66
  64. package/example/metro.config.js +17 -17
  65. package/example/package.json +34 -34
  66. package/index.js +181 -124
  67. package/ios/AppICEReactEvent.h +23 -23
  68. package/ios/AppICEReactEvent.m +86 -77
  69. package/ios/AppIceReactPlugin.h +22 -22
  70. package/ios/AppIceReactPlugin.m +214 -191
  71. package/ios/AppIceReactPlugin.xcodeproj/project.pbxproj +364 -434
  72. package/ios/AppIceReactPlugin.xcodeproj/project.xcworkspace/contents.xcworkspacedata +4 -4
  73. package/ios/AppIceReactPlugin.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -8
  74. package/ios/AppIceReactPlugin.xcodeproj/xcuserdata/Adi.xcuserdatad/xcschemes/xcschememanagement.plist +14 -14
  75. package/ios/AppIceReactPlugin.xcodeproj/xcuserdata/user214879.xcuserdatad/xcschemes/xcschememanagement.plist +14 -0
  76. package/ios/AppIceReactPlugin.xcworkspace/contents.xcworkspacedata +10 -10
  77. package/ios/AppIceReactPlugin.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -8
  78. package/ios/AppIceReactPlugin.xcworkspace/xcuserdata/user214879.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
  79. package/ios/Podfile +10 -10
  80. package/ios/Podfile.lock +3 -3
  81. package/ios/Pods/Manifest.lock +3 -3
  82. package/ios/Pods/Pods.xcodeproj/project.pbxproj +395 -395
  83. package/ios/Pods/Pods.xcodeproj/xcuserdata/Adi.xcuserdatad/xcschemes/Pods-AppIceReactPlugin.xcscheme +58 -58
  84. package/ios/Pods/Pods.xcodeproj/xcuserdata/Adi.xcuserdatad/xcschemes/xcschememanagement.plist +18 -18
  85. package/ios/Pods/Pods.xcodeproj/xcuserdata/user214879.xcuserdatad/xcschemes/xcschememanagement.plist +14 -0
  86. package/ios/Pods/Target Support Files/Pods-AppIceReactPlugin/Pods-AppIceReactPlugin-Info.plist +26 -26
  87. package/ios/Pods/Target Support Files/Pods-AppIceReactPlugin/Pods-AppIceReactPlugin-acknowledgements.markdown +3 -3
  88. package/ios/Pods/Target Support Files/Pods-AppIceReactPlugin/Pods-AppIceReactPlugin-acknowledgements.plist +29 -29
  89. package/ios/Pods/Target Support Files/Pods-AppIceReactPlugin/Pods-AppIceReactPlugin-dummy.m +5 -5
  90. package/ios/Pods/Target Support Files/Pods-AppIceReactPlugin/Pods-AppIceReactPlugin-umbrella.h +16 -16
  91. package/ios/Pods/Target Support Files/Pods-AppIceReactPlugin/Pods-AppIceReactPlugin.debug.xcconfig +6 -6
  92. package/ios/Pods/Target Support Files/Pods-AppIceReactPlugin/Pods-AppIceReactPlugin.modulemap +6 -6
  93. package/ios/Pods/Target Support Files/Pods-AppIceReactPlugin/Pods-AppIceReactPlugin.release.xcconfig +6 -6
  94. package/package.json +40 -40
  95. package/reactnative-plugin-appice.podspec +30 -30
  96. package/ios/AppICESDK/appICE.momd/VersionInfo.plist +0 -0
  97. package/ios/AppICESDK/appICE.momd/appICE 2.mom +0 -0
  98. package/ios/AppICESDK/appICE.momd/appICE 3.mom +0 -0
  99. package/ios/AppICESDK/appICE.momd/appICE 4.mom +0 -0
  100. package/ios/AppICESDK/appICE.momd/appICE 4.omo +0 -0
  101. package/ios/AppICESDK/appICE.momd/appICE.mom +0 -0
  102. package/ios/AppICESDK/appICE.momd/appICE2.mom +0 -0
  103. package/ios/AppICESDK/appICEBundle.bundle/APPChildViewController.nib +0 -0
  104. package/ios/AppICESDK/appICEBundle.bundle/AppICE_btn.png +0 -0
  105. package/ios/AppICESDK/appICEBundle.bundle/Black button.png +0 -0
  106. package/ios/AppICESDK/appICEBundle.bundle/HAlfFooterNOTINAppViewController.nib +0 -0
  107. package/ios/AppICESDK/appICEBundle.bundle/HAlfHeaderINAppViewController.nib +0 -0
  108. package/ios/AppICESDK/appICEBundle.bundle/HAlfINAppViewController.nib +0 -0
  109. package/ios/AppICESDK/appICEBundle.bundle/INAppViewController.nib/objects-11.0+.nib +0 -0
  110. package/ios/AppICESDK/appICEBundle.bundle/INAppViewController.nib/runtime.nib +0 -0
  111. package/ios/AppICESDK/appICEBundle.bundle/Info.plist +0 -0
  112. package/ios/AppICESDK/appICEBundle.bundle/RatingViewController.nib +0 -0
  113. package/ios/AppICESDK/appICEBundle.bundle/SurveyViewController.nib +0 -0
  114. package/ios/AppICESDK/appICEBundle.bundle/checked.png +0 -0
  115. package/ios/AppICESDK/appICEBundle.bundle/close-button.png +0 -0
  116. package/ios/AppICESDK/appICEBundle.bundle/sound2.caf +0 -0
  117. package/ios/AppICESDK/appICEBundle.bundle/unchecked.png +0 -0
  118. package/ios/AppICESDK/include/iosAppiceSDK/AppICEInboxMessage.h +0 -43
  119. package/ios/AppICESDK/include/iosAppiceSDK/AppICEJSInterface.h +0 -21
  120. package/ios/AppICESDK/include/iosAppiceSDK/appICE.h +0 -190
  121. package/ios/AppICESDK/include/iosAppiceSDK/appICEUserDetails.h +0 -87
  122. package/ios/AppICESDK/include/iosAppiceSDK/isrgrootx1.der +0 -0
  123. package/ios/AppICESDK/include/iosAppiceSDK/lets-encrypt-r3.der +0 -0
  124. package/ios/AppICESDK/libiosAppiceSDK_v1.7.56.a +0 -0
@@ -1,58 +1,58 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <Scheme
3
- LastUpgradeVersion = "1100"
4
- version = "1.3">
5
- <BuildAction
6
- parallelizeBuildables = "YES"
7
- buildImplicitDependencies = "YES">
8
- <BuildActionEntries>
9
- <BuildActionEntry
10
- buildForTesting = "YES"
11
- buildForRunning = "YES"
12
- buildForProfiling = "YES"
13
- buildForArchiving = "YES"
14
- buildForAnalyzing = "YES">
15
- <BuildableReference
16
- BuildableIdentifier = "primary"
17
- BlueprintIdentifier = "AD0E24300ED9C21DC6164401125ABDCE"
18
- BuildableName = "Pods_AppIceReactPlugin.framework"
19
- BlueprintName = "Pods-AppIceReactPlugin"
20
- ReferencedContainer = "container:Pods.xcodeproj">
21
- </BuildableReference>
22
- </BuildActionEntry>
23
- </BuildActionEntries>
24
- </BuildAction>
25
- <TestAction
26
- buildConfiguration = "Debug"
27
- selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
28
- selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
29
- shouldUseLaunchSchemeArgsEnv = "YES">
30
- <Testables>
31
- </Testables>
32
- </TestAction>
33
- <LaunchAction
34
- buildConfiguration = "Debug"
35
- selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
36
- selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
37
- launchStyle = "0"
38
- useCustomWorkingDirectory = "NO"
39
- ignoresPersistentStateOnLaunch = "NO"
40
- debugDocumentVersioning = "YES"
41
- debugServiceExtension = "internal"
42
- allowLocationSimulation = "YES">
43
- </LaunchAction>
44
- <ProfileAction
45
- buildConfiguration = "Release"
46
- shouldUseLaunchSchemeArgsEnv = "YES"
47
- savedToolIdentifier = ""
48
- useCustomWorkingDirectory = "NO"
49
- debugDocumentVersioning = "YES">
50
- </ProfileAction>
51
- <AnalyzeAction
52
- buildConfiguration = "Debug">
53
- </AnalyzeAction>
54
- <ArchiveAction
55
- buildConfiguration = "Release"
56
- revealArchiveInOrganizer = "YES">
57
- </ArchiveAction>
58
- </Scheme>
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <Scheme
3
+ LastUpgradeVersion = "1100"
4
+ version = "1.3">
5
+ <BuildAction
6
+ parallelizeBuildables = "YES"
7
+ buildImplicitDependencies = "YES">
8
+ <BuildActionEntries>
9
+ <BuildActionEntry
10
+ buildForTesting = "YES"
11
+ buildForRunning = "YES"
12
+ buildForProfiling = "YES"
13
+ buildForArchiving = "YES"
14
+ buildForAnalyzing = "YES">
15
+ <BuildableReference
16
+ BuildableIdentifier = "primary"
17
+ BlueprintIdentifier = "AD0E24300ED9C21DC6164401125ABDCE"
18
+ BuildableName = "Pods_AppIceReactPlugin.framework"
19
+ BlueprintName = "Pods-AppIceReactPlugin"
20
+ ReferencedContainer = "container:Pods.xcodeproj">
21
+ </BuildableReference>
22
+ </BuildActionEntry>
23
+ </BuildActionEntries>
24
+ </BuildAction>
25
+ <TestAction
26
+ buildConfiguration = "Debug"
27
+ selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
28
+ selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
29
+ shouldUseLaunchSchemeArgsEnv = "YES">
30
+ <Testables>
31
+ </Testables>
32
+ </TestAction>
33
+ <LaunchAction
34
+ buildConfiguration = "Debug"
35
+ selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
36
+ selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
37
+ launchStyle = "0"
38
+ useCustomWorkingDirectory = "NO"
39
+ ignoresPersistentStateOnLaunch = "NO"
40
+ debugDocumentVersioning = "YES"
41
+ debugServiceExtension = "internal"
42
+ allowLocationSimulation = "YES">
43
+ </LaunchAction>
44
+ <ProfileAction
45
+ buildConfiguration = "Release"
46
+ shouldUseLaunchSchemeArgsEnv = "YES"
47
+ savedToolIdentifier = ""
48
+ useCustomWorkingDirectory = "NO"
49
+ debugDocumentVersioning = "YES">
50
+ </ProfileAction>
51
+ <AnalyzeAction
52
+ buildConfiguration = "Debug">
53
+ </AnalyzeAction>
54
+ <ArchiveAction
55
+ buildConfiguration = "Release"
56
+ revealArchiveInOrganizer = "YES">
57
+ </ArchiveAction>
58
+ </Scheme>
@@ -1,18 +1,18 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
- <plist version="1.0">
4
- <dict>
5
- <key>SchemeUserState</key>
6
- <dict>
7
- <key>Pods-AppIceReactPlugin.xcscheme</key>
8
- <dict>
9
- <key>isShown</key>
10
- <false/>
11
- <key>orderHint</key>
12
- <integer>0</integer>
13
- </dict>
14
- </dict>
15
- <key>SuppressBuildableAutocreation</key>
16
- <dict/>
17
- </dict>
18
- </plist>
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>SchemeUserState</key>
6
+ <dict>
7
+ <key>Pods-AppIceReactPlugin.xcscheme</key>
8
+ <dict>
9
+ <key>isShown</key>
10
+ <false/>
11
+ <key>orderHint</key>
12
+ <integer>0</integer>
13
+ </dict>
14
+ </dict>
15
+ <key>SuppressBuildableAutocreation</key>
16
+ <dict/>
17
+ </dict>
18
+ </plist>
@@ -0,0 +1,14 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>SchemeUserState</key>
6
+ <dict>
7
+ <key>Pods-AppIceReactPlugin.xcscheme_^#shared#^_</key>
8
+ <dict>
9
+ <key>orderHint</key>
10
+ <integer>1</integer>
11
+ </dict>
12
+ </dict>
13
+ </dict>
14
+ </plist>
@@ -1,26 +1,26 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
- <plist version="1.0">
4
- <dict>
5
- <key>CFBundleDevelopmentRegion</key>
6
- <string>en</string>
7
- <key>CFBundleExecutable</key>
8
- <string>${EXECUTABLE_NAME}</string>
9
- <key>CFBundleIdentifier</key>
10
- <string>${PRODUCT_BUNDLE_IDENTIFIER}</string>
11
- <key>CFBundleInfoDictionaryVersion</key>
12
- <string>6.0</string>
13
- <key>CFBundleName</key>
14
- <string>${PRODUCT_NAME}</string>
15
- <key>CFBundlePackageType</key>
16
- <string>FMWK</string>
17
- <key>CFBundleShortVersionString</key>
18
- <string>1.0.0</string>
19
- <key>CFBundleSignature</key>
20
- <string>????</string>
21
- <key>CFBundleVersion</key>
22
- <string>${CURRENT_PROJECT_VERSION}</string>
23
- <key>NSPrincipalClass</key>
24
- <string></string>
25
- </dict>
26
- </plist>
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>CFBundleDevelopmentRegion</key>
6
+ <string>en</string>
7
+ <key>CFBundleExecutable</key>
8
+ <string>${EXECUTABLE_NAME}</string>
9
+ <key>CFBundleIdentifier</key>
10
+ <string>${PRODUCT_BUNDLE_IDENTIFIER}</string>
11
+ <key>CFBundleInfoDictionaryVersion</key>
12
+ <string>6.0</string>
13
+ <key>CFBundleName</key>
14
+ <string>${PRODUCT_NAME}</string>
15
+ <key>CFBundlePackageType</key>
16
+ <string>FMWK</string>
17
+ <key>CFBundleShortVersionString</key>
18
+ <string>1.0.0</string>
19
+ <key>CFBundleSignature</key>
20
+ <string>????</string>
21
+ <key>CFBundleVersion</key>
22
+ <string>${CURRENT_PROJECT_VERSION}</string>
23
+ <key>NSPrincipalClass</key>
24
+ <string></string>
25
+ </dict>
26
+ </plist>
@@ -1,3 +1,3 @@
1
- # Acknowledgements
2
- This application makes use of the following third party libraries:
3
- Generated by CocoaPods - https://cocoapods.org
1
+ # Acknowledgements
2
+ This application makes use of the following third party libraries:
3
+ Generated by CocoaPods - https://cocoapods.org
@@ -1,29 +1,29 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
- <plist version="1.0">
4
- <dict>
5
- <key>PreferenceSpecifiers</key>
6
- <array>
7
- <dict>
8
- <key>FooterText</key>
9
- <string>This application makes use of the following third party libraries:</string>
10
- <key>Title</key>
11
- <string>Acknowledgements</string>
12
- <key>Type</key>
13
- <string>PSGroupSpecifier</string>
14
- </dict>
15
- <dict>
16
- <key>FooterText</key>
17
- <string>Generated by CocoaPods - https://cocoapods.org</string>
18
- <key>Title</key>
19
- <string></string>
20
- <key>Type</key>
21
- <string>PSGroupSpecifier</string>
22
- </dict>
23
- </array>
24
- <key>StringsTable</key>
25
- <string>Acknowledgements</string>
26
- <key>Title</key>
27
- <string>Acknowledgements</string>
28
- </dict>
29
- </plist>
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>PreferenceSpecifiers</key>
6
+ <array>
7
+ <dict>
8
+ <key>FooterText</key>
9
+ <string>This application makes use of the following third party libraries:</string>
10
+ <key>Title</key>
11
+ <string>Acknowledgements</string>
12
+ <key>Type</key>
13
+ <string>PSGroupSpecifier</string>
14
+ </dict>
15
+ <dict>
16
+ <key>FooterText</key>
17
+ <string>Generated by CocoaPods - https://cocoapods.org</string>
18
+ <key>Title</key>
19
+ <string></string>
20
+ <key>Type</key>
21
+ <string>PSGroupSpecifier</string>
22
+ </dict>
23
+ </array>
24
+ <key>StringsTable</key>
25
+ <string>Acknowledgements</string>
26
+ <key>Title</key>
27
+ <string>Acknowledgements</string>
28
+ </dict>
29
+ </plist>
@@ -1,5 +1,5 @@
1
- #import <Foundation/Foundation.h>
2
- @interface PodsDummy_Pods_AppIceReactPlugin : NSObject
3
- @end
4
- @implementation PodsDummy_Pods_AppIceReactPlugin
5
- @end
1
+ #import <Foundation/Foundation.h>
2
+ @interface PodsDummy_Pods_AppIceReactPlugin : NSObject
3
+ @end
4
+ @implementation PodsDummy_Pods_AppIceReactPlugin
5
+ @end
@@ -1,16 +1,16 @@
1
- #ifdef __OBJC__
2
- #import <UIKit/UIKit.h>
3
- #else
4
- #ifndef FOUNDATION_EXPORT
5
- #if defined(__cplusplus)
6
- #define FOUNDATION_EXPORT extern "C"
7
- #else
8
- #define FOUNDATION_EXPORT extern
9
- #endif
10
- #endif
11
- #endif
12
-
13
-
14
- FOUNDATION_EXPORT double Pods_AppIceReactPluginVersionNumber;
15
- FOUNDATION_EXPORT const unsigned char Pods_AppIceReactPluginVersionString[];
16
-
1
+ #ifdef __OBJC__
2
+ #import <UIKit/UIKit.h>
3
+ #else
4
+ #ifndef FOUNDATION_EXPORT
5
+ #if defined(__cplusplus)
6
+ #define FOUNDATION_EXPORT extern "C"
7
+ #else
8
+ #define FOUNDATION_EXPORT extern
9
+ #endif
10
+ #endif
11
+ #endif
12
+
13
+
14
+ FOUNDATION_EXPORT double Pods_AppIceReactPluginVersionNumber;
15
+ FOUNDATION_EXPORT const unsigned char Pods_AppIceReactPluginVersionString[];
16
+
@@ -1,6 +1,6 @@
1
- GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
2
- PODS_BUILD_DIR = ${BUILD_DIR}
3
- PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
4
- PODS_PODFILE_DIR_PATH = ${SRCROOT}/.
5
- PODS_ROOT = ${SRCROOT}/Pods
6
- USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES
1
+ GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
2
+ PODS_BUILD_DIR = ${BUILD_DIR}
3
+ PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
4
+ PODS_PODFILE_DIR_PATH = ${SRCROOT}/.
5
+ PODS_ROOT = ${SRCROOT}/Pods
6
+ USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES
@@ -1,6 +1,6 @@
1
- framework module Pods_AppIceReactPlugin {
2
- umbrella header "Pods-AppIceReactPlugin-umbrella.h"
3
-
4
- export *
5
- module * { export * }
6
- }
1
+ framework module Pods_AppIceReactPlugin {
2
+ umbrella header "Pods-AppIceReactPlugin-umbrella.h"
3
+
4
+ export *
5
+ module * { export * }
6
+ }
@@ -1,6 +1,6 @@
1
- GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
2
- PODS_BUILD_DIR = ${BUILD_DIR}
3
- PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
4
- PODS_PODFILE_DIR_PATH = ${SRCROOT}/.
5
- PODS_ROOT = ${SRCROOT}/Pods
6
- USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES
1
+ GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
2
+ PODS_BUILD_DIR = ${BUILD_DIR}
3
+ PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
4
+ PODS_PODFILE_DIR_PATH = ${SRCROOT}/.
5
+ PODS_ROOT = ${SRCROOT}/Pods
6
+ USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES
package/package.json CHANGED
@@ -1,40 +1,40 @@
1
- {
2
- "name": "reactnative-plugin-appice",
3
- "version": "1.6.0",
4
- "description": "appICE React Native SDK",
5
- "main": "index.js",
6
- "files": [
7
- "README.md",
8
- "example",
9
- "android",
10
- "index.js",
11
- "ios",
12
- "reactnative-plugin-appice.podspec"
13
- ],
14
- "scripts": {
15
- "test": "echo \"Error: no test specified\" && exit 1"
16
- },
17
- "repository": {
18
- "type": "git",
19
- "url": "git+https://github.com/github_account/AppICEReactLibrary.git",
20
- "baseUrl": "https://github.com/github_account/AppICEReactLibrary"
21
- },
22
- "keywords": [
23
- "react-native"
24
- ],
25
- "author": {
26
- "name": "AppICE",
27
- "email": "it@semusi.com"
28
- },
29
- "license": "MIT",
30
- "licenseFilename": "LICENSE",
31
- "readmeFilename": "README.md",
32
- "peerDependencies": {
33
- "react": "^16.8.1",
34
- "react-native": ">=0.60.0-rc.0 <1.0.x"
35
- },
36
- "devDependencies": {
37
- "react": "^16.9.0",
38
- "react-native": "^0.61.5"
39
- }
40
- }
1
+ {
2
+ "name": "reactnative-plugin-appice",
3
+ "version": "1.6.2",
4
+ "description": "appICE React Native SDK",
5
+ "main": "index.js",
6
+ "files": [
7
+ "README.md",
8
+ "example",
9
+ "android",
10
+ "index.js",
11
+ "ios",
12
+ "reactnative-plugin-appice.podspec"
13
+ ],
14
+ "scripts": {
15
+ "test": "echo \"Error: no test specified\" && exit 1"
16
+ },
17
+ "repository": {
18
+ "type": "git",
19
+ "url": "git+https://github.com/github_account/AppICEReactLibrary.git",
20
+ "baseUrl": "https://github.com/github_account/AppICEReactLibrary"
21
+ },
22
+ "keywords": [
23
+ "react-native"
24
+ ],
25
+ "author": {
26
+ "name": "AppICE",
27
+ "email": "it@semusi.com"
28
+ },
29
+ "license": "MIT",
30
+ "licenseFilename": "LICENSE",
31
+ "readmeFilename": "README.md",
32
+ "peerDependencies": {
33
+ "react": "^16.8.1",
34
+ "react-native": ">=0.60.0-rc.0 <1.0.x"
35
+ },
36
+ "devDependencies": {
37
+ "react": "^16.9.0",
38
+ "react-native": "^0.61.5"
39
+ }
40
+ }
@@ -1,30 +1,30 @@
1
- require "json"
2
-
3
- package = JSON.parse(File.read(File.join(__dir__, "package.json")))
4
-
5
- Pod::Spec.new do |s|
6
- s.name = "reactnative-plugin-appice"
7
- s.version = package["version"]
8
- s.summary = package["description"]
9
- s.description = <<-DESC
10
- reactnative-plugin-appice
11
- DESC
12
- s.homepage = "https://github.com/github_account/AppICEReactLibrary"
13
- # brief license entry:
14
- s.license = "MIT"
15
- # optional - use expanded license entry instead:
16
- # s.license = { :type => "MIT", :file => "LICENSE" }
17
- s.authors = { "AppICE" => "it@semusi.com" }
18
-
19
- s.platforms = { :ios => "8.0" }
20
- s.source = { :git => "https://github.com/github_account/AppICEReactLibrary.git", :tag => "#{s.version}" }
21
-
22
- s.source_files = "ios/**/*.{h,c,m,swift}"
23
- s.requires_arc = true
24
-
25
- s.dependency "React"
26
- s.dependency "AppICE-IOS-SDK"
27
- # ...
28
- # s.dependency "..."
29
- end
30
-
1
+ require "json"
2
+
3
+ package = JSON.parse(File.read(File.join(__dir__, "package.json")))
4
+
5
+ Pod::Spec.new do |s|
6
+ s.name = "reactnative-plugin-appice"
7
+ s.version = package["version"]
8
+ s.summary = package["description"]
9
+ s.description = <<-DESC
10
+ reactnative-plugin-appice
11
+ DESC
12
+ s.homepage = "https://github.com/github_account/AppICEReactLibrary"
13
+ # brief license entry:
14
+ s.license = "MIT"
15
+ # optional - use expanded license entry instead:
16
+ # s.license = { :type => "MIT", :file => "LICENSE" }
17
+ s.authors = { "AppICE" => "it@semusi.com" }
18
+
19
+ s.platforms = { :ios => "8.0" }
20
+ s.source = { :git => "https://github.com/github_account/AppICEReactLibrary.git", :tag => "#{s.version}" }
21
+
22
+ s.source_files = "ios/**/*.{h,c,m,swift}"
23
+ s.requires_arc = true
24
+
25
+ s.dependency "React"
26
+ s.dependency "AppICE-IOS-SDK"
27
+ # ...
28
+ # s.dependency "..."
29
+ end
30
+
@@ -1,43 +0,0 @@
1
- //
2
- // AppICEInboxMessage.h
3
- // iosAppiceSDK
4
- //
5
- // Created by Mac on 12/20/19.
6
- // Copyright © 2019 Semusi. All rights reserved.
7
- // Aditya Sharma
8
-
9
- #import <Foundation/Foundation.h>
10
-
11
- NS_ASSUME_NONNULL_BEGIN
12
-
13
- @interface AppICEInboxMessage : NSObject
14
-
15
- //extern const int ALL;
16
-
17
- @property (strong, nonatomic) NSString *messageId;
18
- @property (strong, nonatomic) NSString *messageMid;
19
- @property (strong, nonatomic) NSString *messageImage;
20
- @property (strong, nonatomic) NSString *messageBody;
21
- @property (strong, nonatomic) NSString *messageTitle;
22
- @property (strong, nonatomic) NSString *messageStatus;
23
- @property (strong, nonatomic) NSString *messageLanguage;
24
- @property (strong, nonatomic) NSString *messageCampid;
25
- @property (strong, nonatomic) NSMutableDictionary *customData;
26
- @property (nonatomic) double messageExpiryTime;
27
- @property (strong, nonatomic) NSString *campType;
28
-
29
-
30
- +(AppICEInboxMessage*)instanceFromDictionary:(NSDictionary *)aDictionary;
31
-
32
- //- (void)setAttributesFromDictionary:(NSDictionary *)aDictionary;
33
- - (void)setAttributesFromDictionary:(NSDictionary *)aDictionary :(AppICEInboxMessage*)instance;
34
- +(NSString*)toJson:(NSMutableArray*)inbox;
35
-
36
- -(NSMutableDictionary*)mediaData:(NSString *)mediaKey;
37
- -(NSString*)mediaUrl:(NSDictionary*)mediaData;
38
- -(NSString*)mediaType:(NSDictionary*)mediaData;
39
- -(NSString*)mediaThumbnail:(NSDictionary*)mediaData;
40
- @end
41
-
42
-
43
- NS_ASSUME_NONNULL_END
@@ -1,21 +0,0 @@
1
- //
2
- // AppICEJSInterface.h
3
- // iosAppiceSDK
4
- //
5
- // Created by AIRBOOK on 02/03/22.
6
- // Copyright © 2022 Semusi. All rights reserved.
7
- //
8
-
9
- #import <Foundation/Foundation.h>
10
- #import <WebKit/WebKit.h>
11
-
12
- NS_ASSUME_NONNULL_BEGIN
13
-
14
- @interface AppICEJSInterface : NSObject <WKScriptMessageHandler>
15
- @property (nonatomic, strong) WKUserContentController *userContentController;
16
- - (instancetype)init;
17
-
18
-
19
- @end
20
-
21
- NS_ASSUME_NONNULL_END