reactnative-plugin-appice 1.7.28 → 1.7.29
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.
- package/README.md +37 -37
- package/android/README.md +14 -14
- package/android/build.gradle +138 -158
- package/android/gitignore +47 -47
- package/android/gradle/wrapper/gradle-wrapper.properties +5 -5
- package/android/gradlew +234 -234
- package/android/local.properties +8 -8
- package/android/src/main/AndroidManifest.xml +120 -164
- package/android/src/main/java/com/{reactlibrary → appice/react}/AppICEUtils.java +274 -274
- package/android/src/main/java/com/{reactlibrary → appice/react}/AppIceReactPluginModule.java +778 -778
- package/android/src/main/java/com/{reactlibrary → appice/react}/AppIceReactPluginPackage.java +28 -28
- package/android/src/main/java/com/{reactlibrary → appice/react}/CampaignCampsReceiver.java +56 -56
- package/android/src/main/java/com/{reactlibrary → appice/react}/EnumConstants.java +282 -282
- package/android/src/main/java/com/{reactlibrary → appice/react}/NotificationEventService.java +59 -59
- package/android/src/main/java/com/{reactlibrary → appice/react}/StringConstants.java +24 -24
- package/campaign.js +25 -25
- package/example/App.js +332 -332
- package/example/Gemfile +6 -6
- package/example/PageA.tsx +15 -15
- package/example/__tests__/App-test.js +14 -14
- package/example/ancilliary.js +486 -486
- package/example/android/app/_BUCK +55 -55
- package/example/android/app/build.gradle +320 -320
- package/example/android/app/build_defs.bzl +19 -19
- package/example/android/app/proguard-rules.pro +10 -10
- package/example/android/app/src/debug/AndroidManifest.xml +13 -13
- package/example/android/app/src/debug/java/com/example/ReactNativeFlipper.java +73 -73
- package/example/android/app/src/main/AndroidManifest.xml +72 -72
- package/example/android/app/src/main/java/com/example/MainActivity.java +48 -48
- package/example/android/app/src/main/java/com/example/MainApplication.java +91 -91
- package/example/android/app/src/main/java/com/example/newarchitecture/MainApplicationReactNativeHost.java +116 -116
- package/example/android/app/src/main/java/com/example/newarchitecture/components/MainComponentsRegistry.java +36 -36
- package/example/android/app/src/main/java/com/example/newarchitecture/modules/MainApplicationTurboModuleManagerDelegate.java +48 -48
- package/example/android/app/src/main/jni/Android.mk +48 -48
- package/example/android/app/src/main/jni/MainApplicationModuleProvider.cpp +24 -24
- package/example/android/app/src/main/jni/MainApplicationModuleProvider.h +16 -16
- package/example/android/app/src/main/jni/MainApplicationTurboModuleManagerDelegate.cpp +45 -45
- package/example/android/app/src/main/jni/MainApplicationTurboModuleManagerDelegate.h +38 -38
- package/example/android/app/src/main/jni/MainComponentsRegistry.cpp +61 -61
- package/example/android/app/src/main/jni/MainComponentsRegistry.h +32 -32
- package/example/android/app/src/main/jni/OnLoad.cpp +11 -11
- package/example/android/app/src/main/res/drawable/rn_edit_text_material.xml +36 -36
- package/example/android/app/src/main/res/values/strings.xml +3 -3
- package/example/android/app/src/main/res/values/styles.xml +9 -9
- package/example/android/build.gradle +73 -73
- package/example/android/gradle/wrapper/gradle-wrapper.properties +5 -5
- package/example/android/gradle.properties +40 -40
- package/example/android/gradlew +234 -234
- package/example/android/settings.gradle +11 -11
- package/example/app.json +3 -3
- package/example/babel.config.js +3 -3
- package/example/index.js +9 -9
- package/example/ios/Podfile +44 -44
- package/example/ios/Podfile.lock +561 -561
- package/example/ios/_xcode.env +11 -11
- package/example/ios/example/AppDelegate.h +8 -8
- package/example/ios/example/AppDelegate.mm +174 -174
- package/example/ios/example/Images.xcassets/AppIcon.appiconset/Contents.json +53 -53
- package/example/ios/example/Images.xcassets/Contents.json +6 -6
- package/example/ios/example/Info.plist +62 -62
- package/example/ios/example/LaunchScreen.storyboard +47 -47
- package/example/ios/example/example.entitlements +8 -8
- package/example/ios/example/main.m +10 -10
- package/example/ios/example.xcodeproj/project.pbxproj +712 -712
- package/example/ios/example.xcodeproj/xcshareddata/xcschemes/example.xcscheme +88 -88
- package/example/ios/example.xcworkspace/contents.xcworkspacedata +10 -10
- package/example/ios/example.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -8
- package/example/ios/exampleTests/Info.plist +24 -24
- package/example/ios/exampleTests/exampleTests.m +66 -66
- package/example/metro.config.js +17 -17
- package/example/package.json +36 -36
- package/example/yarn.lock +7176 -7176
- package/index.js +590 -590
- package/ios/AppICEReactEvent.h +23 -23
- package/ios/AppICEReactEvent.m +86 -86
- package/ios/AppIceReactPlugin.h +65 -65
- package/ios/AppIceReactPlugin.m +683 -683
- package/ios/AppIceReactPlugin.xcodeproj/project.pbxproj +364 -364
- package/ios/AppIceReactPlugin.xcodeproj/project.xcworkspace/contents.xcworkspacedata +4 -4
- package/ios/AppIceReactPlugin.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -8
- package/ios/AppIceReactPlugin.xcodeproj/xcuserdata/Adi.xcuserdatad/xcschemes/xcschememanagement.plist +14 -14
- package/ios/AppIceReactPlugin.xcodeproj/xcuserdata/artherajesh.xcuserdatad/xcschemes/xcschememanagement.plist +14 -14
- package/ios/AppIceReactPlugin.xcworkspace/contents.xcworkspacedata +10 -10
- package/ios/AppIceReactPlugin.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -8
- package/ios/Podfile +10 -10
- package/ios/Podfile.lock +3 -3
- package/ios/Pods/Manifest.lock +3 -3
- package/ios/Pods/Pods.xcodeproj/project.pbxproj +395 -395
- package/ios/Pods/Pods.xcodeproj/xcuserdata/Adi.xcuserdatad/xcschemes/Pods-AppIceReactPlugin.xcscheme +58 -58
- package/ios/Pods/Pods.xcodeproj/xcuserdata/Adi.xcuserdatad/xcschemes/xcschememanagement.plist +18 -18
- package/ios/Pods/Pods.xcodeproj/xcuserdata/artherajesh.xcuserdatad/xcschemes/xcschememanagement.plist +14 -14
- package/ios/Pods/Target Support Files/Pods-AppIceReactPlugin/Pods-AppIceReactPlugin-Info.plist +26 -26
- package/ios/Pods/Target Support Files/Pods-AppIceReactPlugin/Pods-AppIceReactPlugin-acknowledgements.markdown +3 -3
- package/ios/Pods/Target Support Files/Pods-AppIceReactPlugin/Pods-AppIceReactPlugin-acknowledgements.plist +29 -29
- package/ios/Pods/Target Support Files/Pods-AppIceReactPlugin/Pods-AppIceReactPlugin-dummy.m +5 -5
- package/ios/Pods/Target Support Files/Pods-AppIceReactPlugin/Pods-AppIceReactPlugin-umbrella.h +16 -16
- package/ios/Pods/Target Support Files/Pods-AppIceReactPlugin/Pods-AppIceReactPlugin.debug.xcconfig +6 -6
- package/ios/Pods/Target Support Files/Pods-AppIceReactPlugin/Pods-AppIceReactPlugin.modulemap +6 -6
- package/ios/Pods/Target Support Files/Pods-AppIceReactPlugin/Pods-AppIceReactPlugin.release.xcconfig +6 -6
- package/package.json +6 -9
- package/reactnative-plugin-appice.podspec +30 -30
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
<resources>
|
|
2
|
-
|
|
3
|
-
<!-- Base application theme. -->
|
|
4
|
-
<style name="AppTheme" parent="Theme.AppCompat.DayNight.NoActionBar">
|
|
5
|
-
<!-- Customize your theme here. -->
|
|
6
|
-
<item name="android:editTextBackground">@drawable/rn_edit_text_material</item>
|
|
7
|
-
</style>
|
|
8
|
-
|
|
9
|
-
</resources>
|
|
1
|
+
<resources>
|
|
2
|
+
|
|
3
|
+
<!-- Base application theme. -->
|
|
4
|
+
<style name="AppTheme" parent="Theme.AppCompat.DayNight.NoActionBar">
|
|
5
|
+
<!-- Customize your theme here. -->
|
|
6
|
+
<item name="android:editTextBackground">@drawable/rn_edit_text_material</item>
|
|
7
|
+
</style>
|
|
8
|
+
|
|
9
|
+
</resources>
|
|
@@ -1,73 +1,73 @@
|
|
|
1
|
-
import org.apache.tools.ant.taskdefs.condition.Os
|
|
2
|
-
|
|
3
|
-
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
|
4
|
-
|
|
5
|
-
buildscript {
|
|
6
|
-
ext {
|
|
7
|
-
buildToolsVersion = "34.0.0"
|
|
8
|
-
minSdkVersion = 21
|
|
9
|
-
compileSdkVersion = 34
|
|
10
|
-
targetSdkVersion = 34
|
|
11
|
-
|
|
12
|
-
if (System.properties['os.arch'] == "aarch64") {
|
|
13
|
-
// For M1 Users we need to use the NDK 24 which added support for aarch64
|
|
14
|
-
ndkVersion = "24.0.8215888"
|
|
15
|
-
} else {
|
|
16
|
-
// Otherwise we default to the side-by-side NDK version from AGP.
|
|
17
|
-
ndkVersion = "21.4.7075529"
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
repositories {
|
|
21
|
-
google()
|
|
22
|
-
mavenCentral()
|
|
23
|
-
maven {
|
|
24
|
-
url "https://gitlab.com/api/v4/projects/10636887/packages/maven"
|
|
25
|
-
credentials(HttpHeaderCredentials) {
|
|
26
|
-
name = "Deploy-Token"
|
|
27
|
-
value = "gldt-ayJbLQtEd-nfQG6puvoD"
|
|
28
|
-
}
|
|
29
|
-
authentication {
|
|
30
|
-
header(HttpHeaderAuthentication)
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
dependencies {
|
|
35
|
-
classpath("com.android.tools.build:gradle:7.1.1")
|
|
36
|
-
classpath("com.facebook.react:react-native-gradle-plugin")
|
|
37
|
-
classpath("de.undercouch:gradle-download-task:5.0.1")
|
|
38
|
-
// NOTE: Do not place your application dependencies here; they belong
|
|
39
|
-
// in the individual module build.gradle files
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
allprojects {
|
|
44
|
-
repositories {
|
|
45
|
-
maven {
|
|
46
|
-
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
|
|
47
|
-
url("$rootDir/../node_modules/react-native/android")
|
|
48
|
-
}
|
|
49
|
-
maven {
|
|
50
|
-
// Android JSC is installed from npm
|
|
51
|
-
url("$rootDir/../node_modules/jsc-android/dist")
|
|
52
|
-
}
|
|
53
|
-
mavenCentral {
|
|
54
|
-
// We don't want to fetch react-native from Maven Central as there are
|
|
55
|
-
// older versions over there.
|
|
56
|
-
content {
|
|
57
|
-
excludeGroup "com.facebook.react"
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
google()
|
|
61
|
-
maven { url 'https://www.jitpack.io' }
|
|
62
|
-
maven {
|
|
63
|
-
url "https://gitlab.com/api/v4/projects/10636887/packages/maven"
|
|
64
|
-
credentials(HttpHeaderCredentials) {
|
|
65
|
-
name = "Deploy-Token"
|
|
66
|
-
value = "PJMsxXdArqsmqDx4x5B6"
|
|
67
|
-
}
|
|
68
|
-
authentication {
|
|
69
|
-
header(HttpHeaderAuthentication)
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
}
|
|
1
|
+
import org.apache.tools.ant.taskdefs.condition.Os
|
|
2
|
+
|
|
3
|
+
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
|
4
|
+
|
|
5
|
+
buildscript {
|
|
6
|
+
ext {
|
|
7
|
+
buildToolsVersion = "34.0.0"
|
|
8
|
+
minSdkVersion = 21
|
|
9
|
+
compileSdkVersion = 34
|
|
10
|
+
targetSdkVersion = 34
|
|
11
|
+
|
|
12
|
+
if (System.properties['os.arch'] == "aarch64") {
|
|
13
|
+
// For M1 Users we need to use the NDK 24 which added support for aarch64
|
|
14
|
+
ndkVersion = "24.0.8215888"
|
|
15
|
+
} else {
|
|
16
|
+
// Otherwise we default to the side-by-side NDK version from AGP.
|
|
17
|
+
ndkVersion = "21.4.7075529"
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
repositories {
|
|
21
|
+
google()
|
|
22
|
+
mavenCentral()
|
|
23
|
+
maven {
|
|
24
|
+
url "https://gitlab.com/api/v4/projects/10636887/packages/maven"
|
|
25
|
+
credentials(HttpHeaderCredentials) {
|
|
26
|
+
name = "Deploy-Token"
|
|
27
|
+
value = "gldt-ayJbLQtEd-nfQG6puvoD"
|
|
28
|
+
}
|
|
29
|
+
authentication {
|
|
30
|
+
header(HttpHeaderAuthentication)
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
dependencies {
|
|
35
|
+
classpath("com.android.tools.build:gradle:7.1.1")
|
|
36
|
+
classpath("com.facebook.react:react-native-gradle-plugin")
|
|
37
|
+
classpath("de.undercouch:gradle-download-task:5.0.1")
|
|
38
|
+
// NOTE: Do not place your application dependencies here; they belong
|
|
39
|
+
// in the individual module build.gradle files
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
allprojects {
|
|
44
|
+
repositories {
|
|
45
|
+
maven {
|
|
46
|
+
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
|
|
47
|
+
url("$rootDir/../node_modules/react-native/android")
|
|
48
|
+
}
|
|
49
|
+
maven {
|
|
50
|
+
// Android JSC is installed from npm
|
|
51
|
+
url("$rootDir/../node_modules/jsc-android/dist")
|
|
52
|
+
}
|
|
53
|
+
mavenCentral {
|
|
54
|
+
// We don't want to fetch react-native from Maven Central as there are
|
|
55
|
+
// older versions over there.
|
|
56
|
+
content {
|
|
57
|
+
excludeGroup "com.facebook.react"
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
google()
|
|
61
|
+
maven { url 'https://www.jitpack.io' }
|
|
62
|
+
maven {
|
|
63
|
+
url "https://gitlab.com/api/v4/projects/10636887/packages/maven"
|
|
64
|
+
credentials(HttpHeaderCredentials) {
|
|
65
|
+
name = "Deploy-Token"
|
|
66
|
+
value = "PJMsxXdArqsmqDx4x5B6"
|
|
67
|
+
}
|
|
68
|
+
authentication {
|
|
69
|
+
header(HttpHeaderAuthentication)
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
distributionBase=GRADLE_USER_HOME
|
|
2
|
-
distributionPath=wrapper/dists
|
|
3
|
-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-all.zip
|
|
4
|
-
zipStoreBase=GRADLE_USER_HOME
|
|
5
|
-
zipStorePath=wrapper/dists
|
|
1
|
+
distributionBase=GRADLE_USER_HOME
|
|
2
|
+
distributionPath=wrapper/dists
|
|
3
|
+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-all.zip
|
|
4
|
+
zipStoreBase=GRADLE_USER_HOME
|
|
5
|
+
zipStorePath=wrapper/dists
|
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
# Project-wide Gradle settings.
|
|
2
|
-
|
|
3
|
-
# IDE (e.g. Android Studio) users:
|
|
4
|
-
# Gradle settings configured through the IDE *will override*
|
|
5
|
-
# any settings specified in this file.
|
|
6
|
-
|
|
7
|
-
# For more details on how to configure your build environment visit
|
|
8
|
-
# http://www.gradle.org/docs/current/userguide/build_environment.html
|
|
9
|
-
|
|
10
|
-
# Specifies the JVM arguments used for the daemon process.
|
|
11
|
-
# The setting is particularly useful for tweaking memory settings.
|
|
12
|
-
# Default value: -Xmx512m -XX:MaxMetaspaceSize=256m
|
|
13
|
-
org.gradle.jvmargs=-Xmx2048m -XX:MaxMetaspaceSize=512m
|
|
14
|
-
|
|
15
|
-
# When configured, Gradle will run in incubating parallel mode.
|
|
16
|
-
# This option should only be used with decoupled projects. More details, visit
|
|
17
|
-
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
|
|
18
|
-
# org.gradle.parallel=true
|
|
19
|
-
|
|
20
|
-
# AndroidX package structure to make it clearer which packages are bundled with the
|
|
21
|
-
# Android operating system, and which are packaged with your app's APK
|
|
22
|
-
# https://developer.android.com/topic/libraries/support-library/androidx-rn
|
|
23
|
-
android.useAndroidX=true
|
|
24
|
-
# Automatically convert third-party libraries to use AndroidX
|
|
25
|
-
android.enableJetifier=true
|
|
26
|
-
|
|
27
|
-
# Version of flipper SDK to use with React Native
|
|
28
|
-
FLIPPER_VERSION=0.125.0
|
|
29
|
-
|
|
30
|
-
# Use this property to specify which architecture you want to build.
|
|
31
|
-
# You can also override it from the CLI using
|
|
32
|
-
# ./gradlew <task> -PreactNativeArchitectures=x86_64
|
|
33
|
-
reactNativeArchitectures=armeabi-v7a,arm64-v8a,x86,x86_64
|
|
34
|
-
|
|
35
|
-
# Use this property to enable support to the new architecture.
|
|
36
|
-
# This will allow you to use TurboModules and the Fabric render in
|
|
37
|
-
# your application. You should enable this flag either if you want
|
|
38
|
-
# to write custom TurboModules/Fabric components OR use libraries that
|
|
39
|
-
# are providing them.
|
|
40
|
-
newArchEnabled=false
|
|
1
|
+
# Project-wide Gradle settings.
|
|
2
|
+
|
|
3
|
+
# IDE (e.g. Android Studio) users:
|
|
4
|
+
# Gradle settings configured through the IDE *will override*
|
|
5
|
+
# any settings specified in this file.
|
|
6
|
+
|
|
7
|
+
# For more details on how to configure your build environment visit
|
|
8
|
+
# http://www.gradle.org/docs/current/userguide/build_environment.html
|
|
9
|
+
|
|
10
|
+
# Specifies the JVM arguments used for the daemon process.
|
|
11
|
+
# The setting is particularly useful for tweaking memory settings.
|
|
12
|
+
# Default value: -Xmx512m -XX:MaxMetaspaceSize=256m
|
|
13
|
+
org.gradle.jvmargs=-Xmx2048m -XX:MaxMetaspaceSize=512m
|
|
14
|
+
|
|
15
|
+
# When configured, Gradle will run in incubating parallel mode.
|
|
16
|
+
# This option should only be used with decoupled projects. More details, visit
|
|
17
|
+
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
|
|
18
|
+
# org.gradle.parallel=true
|
|
19
|
+
|
|
20
|
+
# AndroidX package structure to make it clearer which packages are bundled with the
|
|
21
|
+
# Android operating system, and which are packaged with your app's APK
|
|
22
|
+
# https://developer.android.com/topic/libraries/support-library/androidx-rn
|
|
23
|
+
android.useAndroidX=true
|
|
24
|
+
# Automatically convert third-party libraries to use AndroidX
|
|
25
|
+
android.enableJetifier=true
|
|
26
|
+
|
|
27
|
+
# Version of flipper SDK to use with React Native
|
|
28
|
+
FLIPPER_VERSION=0.125.0
|
|
29
|
+
|
|
30
|
+
# Use this property to specify which architecture you want to build.
|
|
31
|
+
# You can also override it from the CLI using
|
|
32
|
+
# ./gradlew <task> -PreactNativeArchitectures=x86_64
|
|
33
|
+
reactNativeArchitectures=armeabi-v7a,arm64-v8a,x86,x86_64
|
|
34
|
+
|
|
35
|
+
# Use this property to enable support to the new architecture.
|
|
36
|
+
# This will allow you to use TurboModules and the Fabric render in
|
|
37
|
+
# your application. You should enable this flag either if you want
|
|
38
|
+
# to write custom TurboModules/Fabric components OR use libraries that
|
|
39
|
+
# are providing them.
|
|
40
|
+
newArchEnabled=false
|