reactnative-plugin-appice 1.5.9 → 1.6.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.
- package/README.md +37 -37
- package/android/README.md +14 -14
- package/android/android.iml +150 -150
- package/android/build.gradle +152 -152
- package/android/gitignore +47 -47
- package/android/src/main/AndroidManifest.xml +234 -234
- package/android/src/main/java/com/reactlibrary/AppICEUtils.java +38 -38
- package/android/src/main/java/com/reactlibrary/AppIceReactPluginModule.java +473 -473
- package/android/src/main/java/com/reactlibrary/AppIceReactPluginPackage.java +28 -28
- package/android/src/main/java/com/reactlibrary/CampaignCampsReceiver.java +73 -73
- package/android/src/main/java/com/reactlibrary/InAppWebView.java +67 -67
- package/android/src/main/java/com/reactlibrary/NotificationEventService.java +62 -62
- package/example/App.js +148 -148
- package/example/Gemfile +6 -6
- package/example/__tests__/App-test.js +14 -14
- 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 +53 -53
- 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 +34 -34
- package/index.js +124 -124
- package/ios/AppICEReactEvent.h +23 -23
- package/ios/AppICEReactEvent.m +86 -77
- package/ios/AppIceReactPlugin.h +22 -22
- package/ios/AppIceReactPlugin.m +190 -191
- package/ios/AppIceReactPlugin.xcodeproj/project.pbxproj +364 -434
- 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.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/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 +40 -40
- package/reactnative-plugin-appice.podspec +30 -30
- package/ios/AppICESDK/appICE.momd/VersionInfo.plist +0 -0
- package/ios/AppICESDK/appICE.momd/appICE 2.mom +0 -0
- package/ios/AppICESDK/appICE.momd/appICE 3.mom +0 -0
- package/ios/AppICESDK/appICE.momd/appICE 4.mom +0 -0
- package/ios/AppICESDK/appICE.momd/appICE 4.omo +0 -0
- package/ios/AppICESDK/appICE.momd/appICE.mom +0 -0
- package/ios/AppICESDK/appICE.momd/appICE2.mom +0 -0
- package/ios/AppICESDK/appICEBundle.bundle/APPChildViewController.nib +0 -0
- package/ios/AppICESDK/appICEBundle.bundle/AppICE_btn.png +0 -0
- package/ios/AppICESDK/appICEBundle.bundle/Black button.png +0 -0
- package/ios/AppICESDK/appICEBundle.bundle/HAlfFooterNOTINAppViewController.nib +0 -0
- package/ios/AppICESDK/appICEBundle.bundle/HAlfHeaderINAppViewController.nib +0 -0
- package/ios/AppICESDK/appICEBundle.bundle/HAlfINAppViewController.nib +0 -0
- package/ios/AppICESDK/appICEBundle.bundle/INAppViewController.nib/objects-11.0+.nib +0 -0
- package/ios/AppICESDK/appICEBundle.bundle/INAppViewController.nib/runtime.nib +0 -0
- package/ios/AppICESDK/appICEBundle.bundle/Info.plist +0 -0
- package/ios/AppICESDK/appICEBundle.bundle/RatingViewController.nib +0 -0
- package/ios/AppICESDK/appICEBundle.bundle/SurveyViewController.nib +0 -0
- package/ios/AppICESDK/appICEBundle.bundle/checked.png +0 -0
- package/ios/AppICESDK/appICEBundle.bundle/close-button.png +0 -0
- package/ios/AppICESDK/appICEBundle.bundle/sound2.caf +0 -0
- package/ios/AppICESDK/appICEBundle.bundle/unchecked.png +0 -0
- package/ios/AppICESDK/include/iosAppiceSDK/AppICEInboxMessage.h +0 -43
- package/ios/AppICESDK/include/iosAppiceSDK/AppICEJSInterface.h +0 -21
- package/ios/AppICESDK/include/iosAppiceSDK/appICE.h +0 -190
- package/ios/AppICESDK/include/iosAppiceSDK/appICEUserDetails.h +0 -87
- package/ios/AppICESDK/include/iosAppiceSDK/isrgrootx1.der +0 -0
- package/ios/AppICESDK/include/iosAppiceSDK/lets-encrypt-r3.der +0 -0
- package/ios/AppICESDK/libiosAppiceSDK_v1.7.56.a +0 -0
package/android/build.gradle
CHANGED
|
@@ -1,152 +1,152 @@
|
|
|
1
|
-
// android/build.gradle
|
|
2
|
-
|
|
3
|
-
// based on:
|
|
4
|
-
//
|
|
5
|
-
// * https://github.com/facebook/react-native/blob/0.60-stable/template/android/build.gradle
|
|
6
|
-
// original location:
|
|
7
|
-
// - https://github.com/facebook/react-native/blob/0.58-stable/local-cli/templates/HelloWorld/android/build.gradle
|
|
8
|
-
//
|
|
9
|
-
// * https://github.com/facebook/react-native/blob/0.60-stable/template/android/app/build.gradle
|
|
10
|
-
// original location:
|
|
11
|
-
// - https://github.com/facebook/react-native/blob/0.58-stable/local-cli/templates/HelloWorld/android/app/build.gradle
|
|
12
|
-
|
|
13
|
-
def DEFAULT_COMPILE_SDK_VERSION = 33
|
|
14
|
-
def DEFAULT_BUILD_TOOLS_VERSION = '30.0.3'
|
|
15
|
-
def DEFAULT_MIN_SDK_VERSION = 16
|
|
16
|
-
def DEFAULT_TARGET_SDK_VERSION = 33
|
|
17
|
-
|
|
18
|
-
def safeExtGet(prop, fallback) {
|
|
19
|
-
rootProject.ext.has(prop) ? rootProject.ext.get(prop) : fallback
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
apply plugin: 'com.android.library'
|
|
23
|
-
|
|
24
|
-
buildscript {
|
|
25
|
-
// The Android Gradle plugin is only required when opening the android folder stand-alone.
|
|
26
|
-
// This avoids unnecessary downloads and potential conflicts when the library is included as a
|
|
27
|
-
// module dependency in an application project.
|
|
28
|
-
// ref: https://docs.gradle.org/current/userguide/tutorial_using_tasks.html#sec:build_script_external_dependencies
|
|
29
|
-
if (project == rootProject) {
|
|
30
|
-
repositories {
|
|
31
|
-
google()
|
|
32
|
-
jcenter()
|
|
33
|
-
}
|
|
34
|
-
dependencies {
|
|
35
|
-
classpath 'com.android.tools.build:gradle:3.4.3'
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
apply plugin: 'com.android.library'
|
|
41
|
-
|
|
42
|
-
android {
|
|
43
|
-
compileSdkVersion safeExtGet('compileSdkVersion', DEFAULT_COMPILE_SDK_VERSION)
|
|
44
|
-
buildToolsVersion safeExtGet('buildToolsVersion', DEFAULT_BUILD_TOOLS_VERSION)
|
|
45
|
-
defaultConfig {
|
|
46
|
-
minSdkVersion safeExtGet('minSdkVersion', DEFAULT_MIN_SDK_VERSION)
|
|
47
|
-
targetSdkVersion safeExtGet('targetSdkVersion', DEFAULT_TARGET_SDK_VERSION)
|
|
48
|
-
versionCode 2
|
|
49
|
-
versionName "2.0"
|
|
50
|
-
}
|
|
51
|
-
lintOptions {
|
|
52
|
-
abortOnError false
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
repositories {
|
|
57
|
-
// ref: https://www.baeldung.com/maven-local-repository
|
|
58
|
-
mavenLocal()
|
|
59
|
-
maven {
|
|
60
|
-
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
|
|
61
|
-
url "$rootDir/../node_modules/react-native/android"
|
|
62
|
-
}
|
|
63
|
-
maven {
|
|
64
|
-
// Android JSC is installed from npm
|
|
65
|
-
url "$rootDir/../node_modules/jsc-android/dist"
|
|
66
|
-
}
|
|
67
|
-
maven { url "https://jitpack.io" }
|
|
68
|
-
maven {
|
|
69
|
-
url "https://gitlab.com/api/v4/projects/10636887/packages/maven"
|
|
70
|
-
credentials(HttpHeaderCredentials) {
|
|
71
|
-
name = "Deploy-Token"
|
|
72
|
-
value = "S2WnyKYP_YpPxsBfeRtZ"
|
|
73
|
-
}
|
|
74
|
-
authentication {
|
|
75
|
-
header(HttpHeaderAuthentication)
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
google()
|
|
79
|
-
jcenter()
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
dependencies {
|
|
83
|
-
|
|
84
|
-
//noinspection GradleDynamicVersion
|
|
85
|
-
implementation 'com.facebook.react:react-native:+'
|
|
86
|
-
|
|
87
|
-
//google location
|
|
88
|
-
implementation "com.google.android.gms:play-services-location:21.0.1"
|
|
89
|
-
|
|
90
|
-
//google legacy support
|
|
91
|
-
implementation "androidx.legacy:legacy-support-v4:1.0.0"
|
|
92
|
-
|
|
93
|
-
// annotation
|
|
94
|
-
implementation "androidx.annotation:annotation:1.2.0"
|
|
95
|
-
|
|
96
|
-
//work manager
|
|
97
|
-
implementation "androidx.work:work-runtime:2.7.1"
|
|
98
|
-
|
|
99
|
-
// concurrent future
|
|
100
|
-
implementation "androidx.concurrent:concurrent-futures:1.1.0"
|
|
101
|
-
|
|
102
|
-
// segment extractor
|
|
103
|
-
implementation "com.android.installreferrer:installreferrer:2.2"
|
|
104
|
-
|
|
105
|
-
//firebase
|
|
106
|
-
implementation "com.google.firebase:firebase-messaging:23.0.6"
|
|
107
|
-
|
|
108
|
-
// maps
|
|
109
|
-
implementation "com.google.android.gms:play-services-maps:18.0.0"
|
|
110
|
-
implementation 'com.google.maps.android:android-maps-utils:2.3.0'
|
|
111
|
-
|
|
112
|
-
//lifecycle
|
|
113
|
-
implementation "androidx.lifecycle:lifecycle-extensions:2.2.0"
|
|
114
|
-
annotationProcessor "androidx.lifecycle:lifecycle-compiler:2.3.1"
|
|
115
|
-
|
|
116
|
-
//appice
|
|
117
|
-
implementation 'appice.io.android:sdk:2.5.61'
|
|
118
|
-
|
|
119
|
-
//glide
|
|
120
|
-
implementation "com.github.bumptech.glide:glide:4.11.0"
|
|
121
|
-
annotationProcessor 'com.github.bumptech.glide:compiler:4.11.0'
|
|
122
|
-
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
def configureReactNativePom(def pom) {
|
|
126
|
-
def packageJson = new groovy.json.JsonSlurper().parseText(file('../package.json').text)
|
|
127
|
-
|
|
128
|
-
pom.project {
|
|
129
|
-
name packageJson.title
|
|
130
|
-
artifactId packageJson.name
|
|
131
|
-
version = packageJson.version
|
|
132
|
-
group = "com.reactlibrary"
|
|
133
|
-
description packageJson.description
|
|
134
|
-
url packageJson.repository.baseUrl
|
|
135
|
-
|
|
136
|
-
licenses {
|
|
137
|
-
license {
|
|
138
|
-
name packageJson.license
|
|
139
|
-
url packageJson.repository.baseUrl + '/blob/master/' + packageJson.licenseFilename
|
|
140
|
-
distribution 'repo'
|
|
141
|
-
}
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
developers {
|
|
145
|
-
developer {
|
|
146
|
-
id packageJson.author.username
|
|
147
|
-
name packageJson.author.name
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
|
|
1
|
+
// android/build.gradle
|
|
2
|
+
|
|
3
|
+
// based on:
|
|
4
|
+
//
|
|
5
|
+
// * https://github.com/facebook/react-native/blob/0.60-stable/template/android/build.gradle
|
|
6
|
+
// original location:
|
|
7
|
+
// - https://github.com/facebook/react-native/blob/0.58-stable/local-cli/templates/HelloWorld/android/build.gradle
|
|
8
|
+
//
|
|
9
|
+
// * https://github.com/facebook/react-native/blob/0.60-stable/template/android/app/build.gradle
|
|
10
|
+
// original location:
|
|
11
|
+
// - https://github.com/facebook/react-native/blob/0.58-stable/local-cli/templates/HelloWorld/android/app/build.gradle
|
|
12
|
+
|
|
13
|
+
def DEFAULT_COMPILE_SDK_VERSION = 33
|
|
14
|
+
def DEFAULT_BUILD_TOOLS_VERSION = '30.0.3'
|
|
15
|
+
def DEFAULT_MIN_SDK_VERSION = 16
|
|
16
|
+
def DEFAULT_TARGET_SDK_VERSION = 33
|
|
17
|
+
|
|
18
|
+
def safeExtGet(prop, fallback) {
|
|
19
|
+
rootProject.ext.has(prop) ? rootProject.ext.get(prop) : fallback
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
apply plugin: 'com.android.library'
|
|
23
|
+
|
|
24
|
+
buildscript {
|
|
25
|
+
// The Android Gradle plugin is only required when opening the android folder stand-alone.
|
|
26
|
+
// This avoids unnecessary downloads and potential conflicts when the library is included as a
|
|
27
|
+
// module dependency in an application project.
|
|
28
|
+
// ref: https://docs.gradle.org/current/userguide/tutorial_using_tasks.html#sec:build_script_external_dependencies
|
|
29
|
+
if (project == rootProject) {
|
|
30
|
+
repositories {
|
|
31
|
+
google()
|
|
32
|
+
jcenter()
|
|
33
|
+
}
|
|
34
|
+
dependencies {
|
|
35
|
+
classpath 'com.android.tools.build:gradle:3.4.3'
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
apply plugin: 'com.android.library'
|
|
41
|
+
|
|
42
|
+
android {
|
|
43
|
+
compileSdkVersion safeExtGet('compileSdkVersion', DEFAULT_COMPILE_SDK_VERSION)
|
|
44
|
+
buildToolsVersion safeExtGet('buildToolsVersion', DEFAULT_BUILD_TOOLS_VERSION)
|
|
45
|
+
defaultConfig {
|
|
46
|
+
minSdkVersion safeExtGet('minSdkVersion', DEFAULT_MIN_SDK_VERSION)
|
|
47
|
+
targetSdkVersion safeExtGet('targetSdkVersion', DEFAULT_TARGET_SDK_VERSION)
|
|
48
|
+
versionCode 2
|
|
49
|
+
versionName "2.0"
|
|
50
|
+
}
|
|
51
|
+
lintOptions {
|
|
52
|
+
abortOnError false
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
repositories {
|
|
57
|
+
// ref: https://www.baeldung.com/maven-local-repository
|
|
58
|
+
mavenLocal()
|
|
59
|
+
maven {
|
|
60
|
+
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
|
|
61
|
+
url "$rootDir/../node_modules/react-native/android"
|
|
62
|
+
}
|
|
63
|
+
maven {
|
|
64
|
+
// Android JSC is installed from npm
|
|
65
|
+
url "$rootDir/../node_modules/jsc-android/dist"
|
|
66
|
+
}
|
|
67
|
+
maven { url "https://jitpack.io" }
|
|
68
|
+
maven {
|
|
69
|
+
url "https://gitlab.com/api/v4/projects/10636887/packages/maven"
|
|
70
|
+
credentials(HttpHeaderCredentials) {
|
|
71
|
+
name = "Deploy-Token"
|
|
72
|
+
value = "S2WnyKYP_YpPxsBfeRtZ"
|
|
73
|
+
}
|
|
74
|
+
authentication {
|
|
75
|
+
header(HttpHeaderAuthentication)
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
google()
|
|
79
|
+
jcenter()
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
dependencies {
|
|
83
|
+
|
|
84
|
+
//noinspection GradleDynamicVersion
|
|
85
|
+
implementation 'com.facebook.react:react-native:+'
|
|
86
|
+
|
|
87
|
+
//google location
|
|
88
|
+
implementation "com.google.android.gms:play-services-location:21.0.1"
|
|
89
|
+
|
|
90
|
+
//google legacy support
|
|
91
|
+
implementation "androidx.legacy:legacy-support-v4:1.0.0"
|
|
92
|
+
|
|
93
|
+
// annotation
|
|
94
|
+
implementation "androidx.annotation:annotation:1.2.0"
|
|
95
|
+
|
|
96
|
+
//work manager
|
|
97
|
+
implementation "androidx.work:work-runtime:2.7.1"
|
|
98
|
+
|
|
99
|
+
// concurrent future
|
|
100
|
+
implementation "androidx.concurrent:concurrent-futures:1.1.0"
|
|
101
|
+
|
|
102
|
+
// segment extractor
|
|
103
|
+
implementation "com.android.installreferrer:installreferrer:2.2"
|
|
104
|
+
|
|
105
|
+
//firebase
|
|
106
|
+
implementation "com.google.firebase:firebase-messaging:23.0.6"
|
|
107
|
+
|
|
108
|
+
// maps
|
|
109
|
+
implementation "com.google.android.gms:play-services-maps:18.0.0"
|
|
110
|
+
implementation 'com.google.maps.android:android-maps-utils:2.3.0'
|
|
111
|
+
|
|
112
|
+
//lifecycle
|
|
113
|
+
implementation "androidx.lifecycle:lifecycle-extensions:2.2.0"
|
|
114
|
+
annotationProcessor "androidx.lifecycle:lifecycle-compiler:2.3.1"
|
|
115
|
+
|
|
116
|
+
//appice
|
|
117
|
+
implementation 'appice.io.android:sdk:2.5.61-release'
|
|
118
|
+
|
|
119
|
+
//glide
|
|
120
|
+
implementation "com.github.bumptech.glide:glide:4.11.0"
|
|
121
|
+
annotationProcessor 'com.github.bumptech.glide:compiler:4.11.0'
|
|
122
|
+
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
def configureReactNativePom(def pom) {
|
|
126
|
+
def packageJson = new groovy.json.JsonSlurper().parseText(file('../package.json').text)
|
|
127
|
+
|
|
128
|
+
pom.project {
|
|
129
|
+
name packageJson.title
|
|
130
|
+
artifactId packageJson.name
|
|
131
|
+
version = packageJson.version
|
|
132
|
+
group = "com.reactlibrary"
|
|
133
|
+
description packageJson.description
|
|
134
|
+
url packageJson.repository.baseUrl
|
|
135
|
+
|
|
136
|
+
licenses {
|
|
137
|
+
license {
|
|
138
|
+
name packageJson.license
|
|
139
|
+
url packageJson.repository.baseUrl + '/blob/master/' + packageJson.licenseFilename
|
|
140
|
+
distribution 'repo'
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
developers {
|
|
145
|
+
developer {
|
|
146
|
+
id packageJson.author.username
|
|
147
|
+
name packageJson.author.name
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
|
package/android/gitignore
CHANGED
|
@@ -1,48 +1,48 @@
|
|
|
1
|
-
/build
|
|
2
|
-
# User-specific stuff:
|
|
3
|
-
.idea/workspace.xml
|
|
4
|
-
.idea/tasks.xml
|
|
5
|
-
.idea/dictionaries
|
|
6
|
-
.idea/vcs.xml
|
|
7
|
-
.idea/jsLibraryMappings.xml
|
|
8
|
-
|
|
9
|
-
# Sensitive or high-churn files:
|
|
10
|
-
.idea/dataSources.ids
|
|
11
|
-
.idea/dataSources.xml
|
|
12
|
-
.idea/dataSources.local.xml
|
|
13
|
-
.idea/sqlDataSources.xml
|
|
14
|
-
.idea/dynamic.xml
|
|
15
|
-
.idea/uiDesigner.xml
|
|
16
|
-
|
|
17
|
-
# Gradle:
|
|
18
|
-
.idea/gradle.xml
|
|
19
|
-
.idea/libraries
|
|
20
|
-
|
|
21
|
-
# Mongo Explorer plugin:
|
|
22
|
-
.idea/mongoSettings.xml
|
|
23
|
-
|
|
24
|
-
## File-based project format:
|
|
25
|
-
*.iws
|
|
26
|
-
|
|
27
|
-
## Plugin-specific files:
|
|
28
|
-
|
|
29
|
-
# IntelliJ
|
|
30
|
-
/out/
|
|
31
|
-
|
|
32
|
-
# mpeltonen/sbt-idea plugin
|
|
33
|
-
.idea_modules/
|
|
34
|
-
|
|
35
|
-
# JIRA plugin
|
|
36
|
-
atlassian-ide-plugin.xml
|
|
37
|
-
|
|
38
|
-
# Crashlytics plugin (for Android Studio and IntelliJ)
|
|
39
|
-
com_crashlytics_export_strings.xml
|
|
40
|
-
crashlytics.properties
|
|
41
|
-
crashlytics-build.properties
|
|
42
|
-
fabric.properties
|
|
43
|
-
|
|
44
|
-
### Intellij Patch ###
|
|
45
|
-
# Comment Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-215987721
|
|
46
|
-
|
|
47
|
-
# *.iml
|
|
1
|
+
/build
|
|
2
|
+
# User-specific stuff:
|
|
3
|
+
.idea/workspace.xml
|
|
4
|
+
.idea/tasks.xml
|
|
5
|
+
.idea/dictionaries
|
|
6
|
+
.idea/vcs.xml
|
|
7
|
+
.idea/jsLibraryMappings.xml
|
|
8
|
+
|
|
9
|
+
# Sensitive or high-churn files:
|
|
10
|
+
.idea/dataSources.ids
|
|
11
|
+
.idea/dataSources.xml
|
|
12
|
+
.idea/dataSources.local.xml
|
|
13
|
+
.idea/sqlDataSources.xml
|
|
14
|
+
.idea/dynamic.xml
|
|
15
|
+
.idea/uiDesigner.xml
|
|
16
|
+
|
|
17
|
+
# Gradle:
|
|
18
|
+
.idea/gradle.xml
|
|
19
|
+
.idea/libraries
|
|
20
|
+
|
|
21
|
+
# Mongo Explorer plugin:
|
|
22
|
+
.idea/mongoSettings.xml
|
|
23
|
+
|
|
24
|
+
## File-based project format:
|
|
25
|
+
*.iws
|
|
26
|
+
|
|
27
|
+
## Plugin-specific files:
|
|
28
|
+
|
|
29
|
+
# IntelliJ
|
|
30
|
+
/out/
|
|
31
|
+
|
|
32
|
+
# mpeltonen/sbt-idea plugin
|
|
33
|
+
.idea_modules/
|
|
34
|
+
|
|
35
|
+
# JIRA plugin
|
|
36
|
+
atlassian-ide-plugin.xml
|
|
37
|
+
|
|
38
|
+
# Crashlytics plugin (for Android Studio and IntelliJ)
|
|
39
|
+
com_crashlytics_export_strings.xml
|
|
40
|
+
crashlytics.properties
|
|
41
|
+
crashlytics-build.properties
|
|
42
|
+
fabric.properties
|
|
43
|
+
|
|
44
|
+
### Intellij Patch ###
|
|
45
|
+
# Comment Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-215987721
|
|
46
|
+
|
|
47
|
+
# *.iml
|
|
48
48
|
# modules.xml
|