@screeb/react-native 2.1.16 → 2.1.18

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.
@@ -123,6 +123,6 @@ def kotlin_version = getExtOrDefault('kotlinVersion')
123
123
  dependencies {
124
124
  // noinspection GradleDynamicVersion
125
125
  api 'com.facebook.react:react-native:+'
126
- implementation "app.screeb.sdk:survey:2.1.13"
126
+ api "app.screeb.sdk:survey:2.1.17"
127
127
  implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.8.22"
128
128
  }
@@ -28,7 +28,7 @@ class ScreebModuleModule(reactContext: ReactApplicationContext) :
28
28
  @ReactMethod
29
29
  fun initSdk(channelId: String, userId: String?, properties: ReadableMap?, hooks: ReadableMap?, initOptions: ReadableMap?, language: String?) {
30
30
  Log.d("ScreebModule", "Called initSdk : $userId")
31
- Screeb.setSecondarySDK("react-native", "2.1.16")
31
+ Screeb.setSecondarySDK("react-native", "2.1.18")
32
32
  var mapHooks:HashMap<String, Any>? = null
33
33
  if (hooks != null) {
34
34
  mapHooks = hashMapOf<String, Any>()
@@ -13,7 +13,7 @@ class ScreebModule: RCTEventEmitter {
13
13
  initOptions initOptions_: [String: Any]?,
14
14
  language language_: String?
15
15
  ) {
16
- Screeb.setSecondarySDK(name: "react-native", version: "2.1.16")
16
+ Screeb.setSecondarySDK(name: "react-native", version: "2.1.18")
17
17
  var map: [String: AnyEncodable?] = [:]
18
18
  if (properties_ != nil) {
19
19
  map = self.mapToAnyEncodable(map: properties_!)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@screeb/react-native",
3
- "version": "2.1.16",
3
+ "version": "2.1.18",
4
4
  "description": "Continuous Product Discovery",
5
5
  "scripts": {
6
6
  "clean": "rm -rf lib/",
@@ -11,7 +11,13 @@
11
11
  "main": "lib/commonjs/index.js",
12
12
  "module": "lib/module/index.js",
13
13
  "source": "src/index.tsx",
14
- "keywords": ["react-native", "ios", "android", "screeb", "survey"],
14
+ "keywords": [
15
+ "react-native",
16
+ "ios",
17
+ "android",
18
+ "screeb",
19
+ "survey"
20
+ ],
15
21
  "files": [
16
22
  "src",
17
23
  "lib",
@@ -16,5 +16,5 @@ Pod::Spec.new do |s|
16
16
  s.source_files = "ios/**/*.{h,m,mm,swift}"
17
17
 
18
18
  s.dependency "React-Core"
19
- s.dependency "Screeb", '~> 2.1.11'
19
+ s.dependency "Screeb", '~> 2.1.14'
20
20
  end