@screeb/react-native 0.8.8 → 0.8.9

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.
@@ -124,6 +124,6 @@ def kotlin_version = getExtOrDefault('kotlinVersion')
124
124
  dependencies {
125
125
  // noinspection GradleDynamicVersion
126
126
  api 'com.facebook.react:react-native:+'
127
- implementation "app.screeb.sdk:survey:1.10.4"
127
+ implementation "app.screeb.sdk:survey:1.10.5"
128
128
  implementation "org.jetbrains.kotlin:kotlin-stdlib:1.7.0"
129
129
  }
@@ -104,7 +104,7 @@ class ScreebModuleModule(reactContext: ReactApplicationContext) :
104
104
  }
105
105
 
106
106
  @ReactMethod
107
- fun startSurvey(surveyId: String, allowMultipleResponses: Boolean, hiddenFields: ReadableMap? = null) {
107
+ fun startSurvey(surveyId: String, allowMultipleResponses: Boolean? = true, hiddenFields: ReadableMap? = null) {
108
108
  Log.e("ScreebModule", "Called startSurvey : $surveyId")
109
109
  var map: HashMap<String, Any>? = null
110
110
  if (hiddenFields != null) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@screeb/react-native",
3
- "version": "0.8.8",
3
+ "version": "0.8.9",
4
4
  "description": "A react-native module to integrate Screeb mobile sdk for Android and/or iOS.",
5
5
  "scripts": {
6
6
  "lint": "eslint \"**/*.{js,ts,tsx}\"",
@@ -51,4 +51,4 @@
51
51
  "react": "*",
52
52
  "react-native": "*"
53
53
  }
54
- }
54
+ }
@@ -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", '~> 1.10.2'
19
+ s.dependency "Screeb", '~> 1.10.3'
20
20
  end