@survicate/react-native-survicate 1.1.12 → 1.1.16

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.
@@ -12,7 +12,7 @@
12
12
 
13
13
  def DEFAULT_COMPILE_SDK_VERSION = 31
14
14
  def DEFAULT_BUILD_TOOLS_VERSION = '31.0.0'
15
- def DEFAULT_MIN_SDK_VERSION = 16
15
+ def DEFAULT_MIN_SDK_VERSION = 21
16
16
  def DEFAULT_TARGET_SDK_VERSION = 31
17
17
 
18
18
  def safeExtGet(prop, fallback) {
@@ -74,55 +74,5 @@ repositories {
74
74
  dependencies {
75
75
  //noinspection GradleDynamicVersion
76
76
  implementation 'com.facebook.react:react-native:+' // From node_modules
77
- implementation 'com.survicate:survicate-sdk:1.6.5'
78
- }
79
-
80
- afterEvaluate { project ->
81
- // some Gradle build hooks ref:
82
- // https://www.oreilly.com/library/view/gradle-beyond-the/9781449373801/ch03.html
83
- task androidJavadoc(type: Javadoc) {
84
- source = android.sourceSets.main.java.srcDirs
85
- classpath += files(android.bootClasspath)
86
- project.getConfigurations().getByName('implementation').setCanBeResolved(true)
87
- classpath += files(project.getConfigurations().getByName('implementation').asList())
88
- include '**/*.java'
89
- }
90
-
91
- task androidJavadocJar(type: Jar, dependsOn: androidJavadoc) {
92
- archiveClassifier = 'javadoc'
93
- from androidJavadoc.destinationDir
94
- }
95
-
96
- task androidSourcesJar(type: Jar) {
97
- archiveClassifier = 'sources'
98
- from android.sourceSets.main.java.srcDirs
99
- include '**/*.java'
100
- }
101
-
102
- android.libraryVariants.all { variant ->
103
- def compileTask
104
- if (variant.hasProperty('javaCompileProvider')){
105
- compileTask = variant.javaCompileProvider.get()
106
- }else{
107
- compileTask = variant.javaCompile
108
- }
109
-
110
- def name = variant.name.capitalize()
111
- task "jar${name}"(type: Jar, dependsOn: compileTask) {
112
- from compileTask.destinationDir
113
- }
114
- }
115
-
116
- artifacts {
117
- archives androidSourcesJar
118
- archives androidJavadocJar
119
- }
120
-
121
- publishing {
122
- publications {
123
- maven(MavenPublication) {
124
- artifact androidSourcesJar
125
- }
126
- }
127
- }
77
+ implementation 'com.survicate:survicate-sdk:1.7.0'
128
78
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@survicate/react-native-survicate",
3
3
  "title": "React Native Survicate Bindings",
4
- "version": "1.1.12",
4
+ "version": "1.1.16",
5
5
  "description": "React Native bindings for Survicate Mobile SDK",
6
6
  "main": "index.js",
7
7
  "scripts": {
@@ -20,7 +20,7 @@ Pod::Spec.new do |s|
20
20
  s.requires_arc = true
21
21
 
22
22
  s.dependency "React"
23
- s.dependency "Survicate", "1.8.1"
23
+ s.dependency "Survicate", "1.8.2"
24
24
  # ...
25
25
  # s.dependency "..."
26
26
  end