@survicate/react-native-survicate 3.0.1 → 3.0.3
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
CHANGED
package/android/build.gradle
CHANGED
|
@@ -51,6 +51,11 @@ public class SurvicateBindingsModule extends ReactContextBaseJavaModule {
|
|
|
51
51
|
Survicate.init(reactContext);
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
+
@ReactMethod
|
|
55
|
+
public void initializeSdk() {
|
|
56
|
+
Survicate.init(reactContext);
|
|
57
|
+
}
|
|
58
|
+
|
|
54
59
|
@ReactMethod
|
|
55
60
|
public void reset() {
|
|
56
61
|
Survicate.reset();
|
package/ios/SurvicateBindings.m
CHANGED
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": "3.0.
|
|
4
|
+
"version": "3.0.3",
|
|
5
5
|
"description": "React Native bindings for Survicate Mobile SDK",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"scripts": {
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
},
|
|
10
10
|
"repository": {
|
|
11
11
|
"type": "git",
|
|
12
|
-
"url": "git+https://github.com/Survicate/react-native-
|
|
13
|
-
"baseUrl": "https://github.com/Survicate/react-native-
|
|
12
|
+
"url": "git+https://github.com/Survicate/survicate-react-native-sdk.git",
|
|
13
|
+
"baseUrl": "https://github.com/Survicate/survicate-react-native-sdk"
|
|
14
14
|
},
|
|
15
15
|
"keywords": [
|
|
16
16
|
"react-native"
|
|
@@ -23,11 +23,11 @@
|
|
|
23
23
|
"licenseFilename": "LICENSE",
|
|
24
24
|
"readmeFilename": "README.md",
|
|
25
25
|
"peerDependencies": {
|
|
26
|
-
"react": ">=16.8.
|
|
27
|
-
"react-native": ">=0.
|
|
26
|
+
"react": ">=16.8.6",
|
|
27
|
+
"react-native": ">=0.60.0"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"react": "
|
|
31
|
-
"react-native": "
|
|
30
|
+
"react": "18.2.0",
|
|
31
|
+
"react-native": "0.72.4"
|
|
32
32
|
}
|
|
33
33
|
}
|
|
@@ -9,18 +9,18 @@ Pod::Spec.new do |s|
|
|
|
9
9
|
s.description = <<-DESC
|
|
10
10
|
React Native bindings for Survicate Mobile SDK
|
|
11
11
|
DESC
|
|
12
|
-
s.homepage = "https://github.com/Survicate/react-native-
|
|
12
|
+
s.homepage = "https://github.com/Survicate/survicate-react-native-sdk"
|
|
13
13
|
s.license = "MIT"
|
|
14
14
|
# s.license = { :type => "MIT", :file => "FILE_LICENSE" }
|
|
15
15
|
s.authors = { "Survicate" => "help@survicate.com" }
|
|
16
16
|
s.platforms = { :ios => "10.0" }
|
|
17
|
-
s.source = { :git => "https://github.com/Survicate/react-native-
|
|
17
|
+
s.source = { :git => "https://github.com/Survicate/survicate-react-native-sdk.git", :tag => "#{s.version}" }
|
|
18
18
|
|
|
19
19
|
s.source_files = "ios/**/*.{h,m,swift}"
|
|
20
20
|
s.requires_arc = true
|
|
21
21
|
|
|
22
22
|
s.dependency "React"
|
|
23
|
-
s.dependency "Survicate", "3.0.
|
|
23
|
+
s.dependency "Survicate", "3.0.2"
|
|
24
24
|
# ...
|
|
25
25
|
# s.dependency "..."
|
|
26
26
|
end
|