@sency/react-native-smkit-ui 2.2.2 → 2.3.0

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.
@@ -95,13 +95,13 @@ dependencies {
95
95
  implementation "com.facebook.react:react-android"
96
96
  implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
97
97
 
98
- implementation("com.sency.smkitui:smkitui:1.6.5") {
98
+ implementation("com.sency.smkitui:smkitui:1.6.6") {
99
99
  exclude group: 'com.facebook.fbjni', module: 'fbjni-java-only'
100
100
  // // Don't exclude native libraries
101
101
  // exclude group: 'com.facebook.react', module: 'react-native'
102
102
  }
103
- implementation "com.sency.smkit:smkit:1.6.5"
104
- implementation "com.sency.smbase.nativeclient:smbase-native-client:1.6.5"
103
+ implementation "com.sency.smkit:smkit:1.6.6"
104
+ implementation "com.sency.smbase.nativeclient:smbase-native-client:1.6.6"
105
105
 
106
106
  // Gson
107
107
  implementation 'com.google.code.gson:gson:2.9.0'
@@ -13,7 +13,6 @@ import com.facebook.react.bridge.WritableNativeMap
13
13
  import com.facebook.react.modules.core.DeviceEventManagerModule
14
14
  import com.google.gson.Gson
15
15
  import com.google.gson.GsonBuilder
16
- import com.google.gson.Strictness
17
16
  import com.sency.smbase.nativeclient.model.FormFeedbackType
18
17
  import com.sency.smkit.PoseModelChoice
19
18
  import com.sency.smkitui.SMKitUI
@@ -962,7 +961,7 @@ class SmkitUiLibraryModule(reactContext: ReactApplicationContext) :
962
961
  .registerTypeAdapter(WFPExerciseData::class.java, WFPExerciseDataSerializer())
963
962
  .registerTypeAdapter(WFPSummary::class.java, WFPSummarySerializer())
964
963
  .registerTypeAdapter(FeedbackSerializer::class.java, FeedbackSerializer())
965
- .setStrictness(Strictness.LENIENT)
964
+ .setLenient()
966
965
  .create()
967
966
  }
968
967
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sency/react-native-smkit-ui",
3
- "version": "2.2.2",
3
+ "version": "2.3.0",
4
4
  "description": "React Native library for SMKit UI - Advanced fitness assessments and workout programs with AI-powered motion detection and real-time performance tracking",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",
@@ -15,9 +15,9 @@ Pod::Spec.new do |s|
15
15
  s.source = { :git => "https://github.com/sency-ai/smkit-ui-react-native-demo.git", :tag => "#{s.version}" }
16
16
 
17
17
  s.source_files = "ios/**/*.{h,m,mm,swift}"
18
- s.dependency "SMKitUI", "= 1.9.1"
18
+ s.dependency "SMKitUI", "= 1.9.7"
19
19
  # Required so the bridge can reference InstructionVideoConfig and VideoDisplayMode (defined in SMKit).
20
- s.dependency "SMKit", "= 1.9.1"
20
+ s.dependency "SMKit", "= 1.9.7"
21
21
 
22
22
  # Use install_modules_dependencies helper to install the dependencies if React Native version >=0.71.0.
23
23
  # See https://github.com/facebook/react-native/blob/febf6b7f33fdb4904669f99d795eba4c0f95d7bf/scripts/cocoapods/new_architecture.rb#L79.