@sency/react-native-smkit-ui 2.2.1 → 2.2.2
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 +218 -65
- package/android/build.gradle +3 -1
- package/android/src/main/java/com/smkituilibrary/SmkitUiLibraryModule.kt +237 -3
- package/android/src/main/java/com/smkituilibrary/mapper/SMMapper.kt +70 -10
- package/android/src/main/java/com/smkituilibrary/model/SMKitExercise.kt +40 -0
- package/android/src/main/java/com/smkituilibrary/model/SMKitWorkout.kt +8 -0
- package/android/src/main/java/com/smkituilibrary/model/SMKitWorkoutConfig.kt +2 -0
- package/android/src/main/java/com/smkituilibrary/model/SMUserData.kt +5 -1
- package/ios/SMKitUIManager.mm +33 -11
- package/ios/SMKitUIManager.swift +237 -36
- package/lib/commonjs/SMWorkout.js +239 -177
- package/lib/commonjs/SMWorkout.js.map +1 -1
- package/lib/commonjs/index.js +187 -5
- package/lib/commonjs/index.js.map +1 -1
- package/lib/module/SMWorkout.js +232 -181
- package/lib/module/SMWorkout.js.map +1 -1
- package/lib/module/index.js +165 -5
- package/lib/module/index.js.map +1 -1
- package/package.json +2 -2
- package/react-native-smkit-ui.podspec +2 -2
- package/src/SMWorkout.tsx +353 -176
- package/src/index.tsx +167 -8
- package/android/build/intermediates/compile_r_class_jar/debug/generateDebugRFile/R.jar +0 -0
- package/android/build/intermediates/compile_symbol_list/debug/generateDebugRFile/R.txt +0 -0
- package/android/build/intermediates/incremental/debug/packageDebugResources/compile-file-map.properties +0 -1
- package/android/build/intermediates/incremental/debug/packageDebugResources/merger.xml +0 -2
- package/android/build/intermediates/incremental/mergeDebugJniLibFolders/merger.xml +0 -2
- package/android/build/intermediates/local_only_symbol_list/debug/parseDebugLocalResources/R-def.txt +0 -2
- package/android/build/intermediates/nested_resources_validation_report/debug/generateDebugResources/nestedResourcesValidationReport.txt +0 -1
- package/android/build/intermediates/symbol_list_with_package_name/debug/generateDebugRFile/package-aware-r.txt +0 -1
package/lib/module/index.js
CHANGED
|
@@ -89,7 +89,7 @@ export function startWorkoutProgram(workoutConfig, modifications) {
|
|
|
89
89
|
* @param {SMWorkoutLibrary} language - The language that you would like to set.
|
|
90
90
|
*/
|
|
91
91
|
export function setSessionLanguage(language) {
|
|
92
|
-
SMKitUIManager.setSessionLanguage(language);
|
|
92
|
+
return SMKitUIManager.setSessionLanguage(language);
|
|
93
93
|
}
|
|
94
94
|
|
|
95
95
|
/**
|
|
@@ -106,7 +106,7 @@ export function setPhoneCalibrationLanguage(language) {
|
|
|
106
106
|
* @param {SMWorkoutLibrary.EndExercisePreferences} endExercisePreferences - The closure target to set.
|
|
107
107
|
*/
|
|
108
108
|
export function setEndExercisePreferences(endExercisePreferences) {
|
|
109
|
-
SMKitUIManager.setEndExercisePreferences(endExercisePreferences);
|
|
109
|
+
return SMKitUIManager.setEndExercisePreferences(endExercisePreferences);
|
|
110
110
|
}
|
|
111
111
|
|
|
112
112
|
/**
|
|
@@ -114,7 +114,7 @@ export function setEndExercisePreferences(endExercisePreferences) {
|
|
|
114
114
|
* @param {SMWorkoutLibrary.CounterPreferences} counterPreferences - The counter preferences to set.
|
|
115
115
|
*/
|
|
116
116
|
export function setCounterPreferences(counterPreferences) {
|
|
117
|
-
SMKitUIManager.setCounterPreferences(counterPreferences);
|
|
117
|
+
return SMKitUIManager.setCounterPreferences(counterPreferences);
|
|
118
118
|
}
|
|
119
119
|
|
|
120
120
|
/**
|
|
@@ -155,7 +155,8 @@ export function setPauseTypes(types) {
|
|
|
155
155
|
}
|
|
156
156
|
|
|
157
157
|
/**
|
|
158
|
-
* Allows the SDK audio to mix with external app audio
|
|
158
|
+
* Allows the SDK audio to mix with external app audio.
|
|
159
|
+
* Android support depends on the native SMKit UI version and resolves as a no-op when unavailable.
|
|
159
160
|
* @param {boolean} enabled
|
|
160
161
|
*/
|
|
161
162
|
export function setAllowAudioMixing(enabled) {
|
|
@@ -163,7 +164,8 @@ export function setAllowAudioMixing(enabled) {
|
|
|
163
164
|
}
|
|
164
165
|
|
|
165
166
|
/**
|
|
166
|
-
* Shows an in-session button to switch audio source
|
|
167
|
+
* Shows an in-session button to switch audio source.
|
|
168
|
+
* Android support depends on the native SMKit UI version and resolves as a no-op when unavailable.
|
|
167
169
|
* @param {boolean} enabled
|
|
168
170
|
*/
|
|
169
171
|
export function setShowExternalAudioControl(enabled) {
|
|
@@ -177,4 +179,162 @@ export function setShowExternalAudioControl(enabled) {
|
|
|
177
179
|
export function setAccuratePoseEstimation(enabled) {
|
|
178
180
|
return SMKitUIManager.setAccuratePoseEstimation(enabled);
|
|
179
181
|
}
|
|
182
|
+
|
|
183
|
+
/**
|
|
184
|
+
* Sets the SDK color theme for gauge, counters, skeleton accents, and related UI.
|
|
185
|
+
*/
|
|
186
|
+
export function setColorTheme(theme) {
|
|
187
|
+
return SMKitUIManager.setColorTheme(theme);
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
/**
|
|
191
|
+
* Plays phone calibration instructions when phone calibration is shown.
|
|
192
|
+
*/
|
|
193
|
+
export function setPlayPhoneCalibrationAudio(enabled) {
|
|
194
|
+
return SMKitUIManager.setPlayPhoneCalibrationAudio(enabled);
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
/**
|
|
198
|
+
* Plays body calibration local assets during body calibration.
|
|
199
|
+
*/
|
|
200
|
+
export function setPlayBodyCalibrationAudio(enabled) {
|
|
201
|
+
return SMKitUIManager.setPlayBodyCalibrationAudio(enabled);
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
/**
|
|
205
|
+
* Controls whether exercise timers wait for first activity before starting.
|
|
206
|
+
*/
|
|
207
|
+
export function setStartTimerOnFirstActivity(enabled) {
|
|
208
|
+
return SMKitUIManager.setStartTimerOnFirstActivity(enabled);
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
/**
|
|
212
|
+
* Sets the continuation prompt countdown duration in seconds.
|
|
213
|
+
*/
|
|
214
|
+
export function setWorkoutContinuationTimerDuration(seconds) {
|
|
215
|
+
return SMKitUIManager.setWorkoutContinuationTimerDuration(seconds);
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
/**
|
|
219
|
+
* Blocks rep counting and in-position updates while phone movement is detected.
|
|
220
|
+
*/
|
|
221
|
+
export function setPhoneMovementCountPreventionEnabled(enabled) {
|
|
222
|
+
return SMKitUIManager.setPhoneMovementCountPreventionEnabled(enabled);
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
/**
|
|
226
|
+
* Plays variation mismatch feedback for supported hold/dynamic exercise mismatches.
|
|
227
|
+
*/
|
|
228
|
+
export function setVariationMismatchFeedbackEnabled(enabled) {
|
|
229
|
+
return SMKitUIManager.setVariationMismatchFeedbackEnabled(enabled);
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
/**
|
|
233
|
+
* Uses the native SDK's default guidance mode for supported exercises when per-exercise guidanceMode is not set.
|
|
234
|
+
*/
|
|
235
|
+
export function setUseDefaultGuidanceMode(enabled) {
|
|
236
|
+
return SMKitUIManager.setUseDefaultGuidanceMode(enabled);
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
/**
|
|
240
|
+
* Enables native guidance debug logging where supported.
|
|
241
|
+
*/
|
|
242
|
+
export function setGuidanceDebugLogging(enabled) {
|
|
243
|
+
return SMKitUIManager.setGuidanceDebugLogging(enabled);
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
/**
|
|
247
|
+
* Shows a one-time hover/button tutorial overlay after calibration.
|
|
248
|
+
*/
|
|
249
|
+
export function setEnableButtonTutorial(enabled) {
|
|
250
|
+
return SMKitUIManager.setEnableButtonTutorial(enabled);
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
/**
|
|
254
|
+
* Sets an optional local/remote audio URI for button tutorial completion.
|
|
255
|
+
*/
|
|
256
|
+
export function setButtonTutorialCompletionAudioUri(uri) {
|
|
257
|
+
return SMKitUIManager.setButtonTutorialCompletionAudioUri(uri);
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
/**
|
|
261
|
+
* iOS-only: controls whether rowing workouts show phone calibration.
|
|
262
|
+
* Android resolves as a no-op for API parity.
|
|
263
|
+
*/
|
|
264
|
+
export function setShowRowingPhoneCalibration(enabled) {
|
|
265
|
+
return SMKitUIManager.setShowRowingPhoneCalibration(enabled);
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
/**
|
|
269
|
+
* Excludes feedback types from UI display only. Values must be native feedback enum raw names.
|
|
270
|
+
*/
|
|
271
|
+
export function setFeedbacksUIToExclude(feedbacksToExclude) {
|
|
272
|
+
return SMKitUIManager.setFeedbacksUIToExclude(JSON.stringify(feedbacksToExclude));
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
/**
|
|
276
|
+
* Excludes feedback types from data and UI when supported. Unsupported platforms resolve as a no-op.
|
|
277
|
+
*/
|
|
278
|
+
export function setExcludedFeedbacks(excludedFeedbacks) {
|
|
279
|
+
return SMKitUIManager.setExcludedFeedbacks(JSON.stringify(excludedFeedbacks));
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
/**
|
|
283
|
+
* Android-only: sets the flat native config string. iOS resolves as a no-op for API parity.
|
|
284
|
+
*/
|
|
285
|
+
export function setConfigString(configString) {
|
|
286
|
+
return SMKitUIManager.setConfigString(configString);
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
/**
|
|
290
|
+
* Clears the SDK adaptive ROM cache where supported.
|
|
291
|
+
*/
|
|
292
|
+
export function clearAdaptiveRomCache() {
|
|
293
|
+
return SMKitUIManager.clearAdaptiveRomCache();
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
/**
|
|
297
|
+
* Quits the active workout where supported.
|
|
298
|
+
*/
|
|
299
|
+
export function quitWorkout() {
|
|
300
|
+
return SMKitUIManager.quitWorkout();
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
/**
|
|
304
|
+
* iOS-only: pauses the active SDK workout. Android resolves as a no-op for API parity.
|
|
305
|
+
*/
|
|
306
|
+
export function pauseSDK() {
|
|
307
|
+
return SMKitUIManager.pauseSDK();
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
/**
|
|
311
|
+
* iOS-only: resumes a paused SDK workout. Android resolves as a no-op for API parity.
|
|
312
|
+
*/
|
|
313
|
+
export function resumeSDK() {
|
|
314
|
+
return SMKitUIManager.resumeSDK();
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
/**
|
|
318
|
+
* iOS-only in current native SDKs: returns supported movement detector names.
|
|
319
|
+
* Android resolves with an empty array for API parity.
|
|
320
|
+
*/
|
|
321
|
+
export function getSupportedMovements() {
|
|
322
|
+
return SMKitUIManager.getSupportedMovements();
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
/**
|
|
326
|
+
* iOS-only in current native SDKs: returns the native exercise type name for a detector.
|
|
327
|
+
* Android resolves with an empty string for API parity.
|
|
328
|
+
*/
|
|
329
|
+
export function getExerciseType(detector) {
|
|
330
|
+
return SMKitUIManager.getExerciseType(detector);
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
/**
|
|
334
|
+
* Android-only: chooses the pose model used during configure.
|
|
335
|
+
* Call before configure for it to affect the current native SDK instance.
|
|
336
|
+
*/
|
|
337
|
+
export function setPoseModelChoice(choice) {
|
|
338
|
+
return SMKitUIManager.setPoseModelChoice(choice);
|
|
339
|
+
}
|
|
180
340
|
//# sourceMappingURL=index.js.map
|
package/lib/module/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["NativeModules","Platform","SMWorkoutLibrary","LINKING_ERROR","select","ios","default","SMKitUIManager","Proxy","get","Error","configure","key","startAssessment","type","showSummary","userData","forceShowUserDataScreen","customAssessmentID","modifications","userDataJson","undefined","toJson","modificationsJson","String","startCustomWorkout","workout","startCustomAssessment","assessment","startWorkoutProgram","workoutConfig","setSessionLanguage","language","setPhoneCalibrationLanguage","setEndExercisePreferences","endExercisePreferences","setCounterPreferences","counterPreferences","setIntelligenceRestEnabled","enabled","setInstructionVideoConfig","config","JSON","stringify","setSkeletonSettings","setPauseTypes","types","setAllowAudioMixing","setShowExternalAudioControl","setAccuratePoseEstimation"],"sourceRoot":"../../src","sources":["index.tsx"],"mappings":"AAAA,SAASA,aAAa,EAAEC,QAAQ,QAAQ,cAAc;AACtD,OAAO,KAAKC,gBAAgB,MAAM,aAAa;AAC/C,SAASA,gBAAgB;AAEzB,MAAMC,aAAa,GACjB,gFAAgF,GAChFF,QAAQ,CAACG,MAAM,CAAC;EAAEC,GAAG,EAAE,gCAAgC;EAAEC,OAAO,EAAE;AAAG,CAAC,CAAC,GACvE,sDAAsD,GACtD,+BAA+B;;AAEjC;AACA,MAAMC,cAAc,GAAGP,aAAa,CAAC,gBAAgB,CAAC,GAClDA,aAAa,CAAC,gBAAgB,CAAC,GAC/B,IAAIQ,KAAK,CACT,CAAC,CAAC,EACF;EACEC,GAAGA,CAAA,EAAG;IACJ,MAAM,IAAIC,KAAK,CAACP,aAAa,CAAC;EAChC;AACF,CACF,CAAC;;AAEH;AACA;AACA;AACA;AACA,OAAO,SAASQ,SAASA,CAACC,GAAW,EAAmB;EACtD,OAAOL,cAAc,CAACI,SAAS,CAACC,GAAG,CAAC;AACtC;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,eAAeA,CAC7BC,IAAsC,EACtCC,WAAoB,EACpBC,QAA0C,EAC1CC,uBAAgC,EAChCC,kBAA0B,EAC1BC,aAA4B,EACsB;EAClD,MAAMC,YAAY,GAAGJ,QAAQ,KAAK,IAAI,IAAIA,QAAQ,KAAKK,SAAS,GAAGL,QAAQ,CAACM,MAAM,CAAC,CAAC,GAAG,IAAI;EAC3F;EACA;EACA,MAAMC,iBAAiB,GAAGJ,aAAa,KAAK,IAAI,IAAIA,aAAa,KAAKE,SAAS,IAAIF,aAAa,KAAK,EAAE,GAAGA,aAAa,GAAG,IAAI;;EAG9H;EACA;EACA;EACA,OAAOZ,cAAc,CAACM,e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aAAa,GAAG,IAAI;EAC9H,OAAOZ,cAAc,CAACsB,mBAAmB,CACvCC,aAAa,CAACR,MAAM,CAAC,CAAC,EACtBC,iBACF,CAAC;AACH;;AAEA;AACA;AACA;AACA;AACA,OAAO,SAASQ,kBAAkBA,CAACC,QAAmC,
|
|
1
|
+
{"version":3,"names":["NativeModules","Platform","SMWorkoutLibrary","LINKING_ERROR","select","ios","default","SMKitUIManager","Proxy","get","Error","configure","key","startAssessment","type","showSummary","userData","forceShowUserDataScreen","customAssessmentID","modifications","userDataJson","undefined","toJson","modificationsJson","String","startCustomWorkout","workout","startCustomAssessment","assessment","startWorkoutProgram","workoutConfig","setSessionLanguage","language","setPhoneCalibrationLanguage","setEndExercisePreferences","endExercisePreferences","setCounterPreferences","counterPreferences","setIntelligenceRestEnabled","enabled","setInstructionVideoConfig","config","JSON","stringify","setSkeletonSettings","setPauseTypes","types","setAllowAudioMixing","setShowExternalAudioControl","setAccuratePoseEstimation","setColorTheme","theme","setPlayPhoneCalibrationAudio","setPlayBodyCalibrationAudio","setStartTimerOnFirstActivity","setWorkoutContinuationTimerDuration","seconds","setPhoneMovementCountPreventionEnabled","setVariationMismatchFeedbackEnabled","setUseDefaultGuidanceMode","setGuidanceDebugLogging","setEnableButtonTutorial","setButtonTutorialCompletionAudioUri","uri","setShowRowingPhoneCalibration","setFeedbacksUIToExclude","feedbacksToExclude","setExcludedFeedbacks","excludedFeedbacks","setConfigString","configString","clearAdaptiveRomCache","quitWorkout","pauseSDK","resumeSDK","getSupportedMovements","getExerciseType","detector","setPoseModelChoice","choice"],"sourceRoot":"../../src","sources":["index.tsx"],"mappings":"AAAA,SAASA,aAAa,EAAEC,QAAQ,QAAQ,cAAc;AACtD,OAAO,KAAKC,gBAAgB,MAAM,aAAa;AAC/C,SAASA,gBAAgB;AAEzB,MAAMC,aAAa,GACjB,gFAAgF,GAChFF,QAAQ,CAACG,MAAM,CAAC;EAAEC,GAAG,EAAE,gCAAgC;EAAEC,OAAO,EAAE;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c,CAACmE,SAAS,CAAC,CAAC;AACnC;;AAEA;AACA;AACA;AACA;AACA,OAAO,SAASC,qBAAqBA,CAAA,EAAsB;EACzD,OAAOpE,cAAc,CAACoE,qBAAqB,CAAC,CAAC;AAC/C;;AAEA;AACA;AACA;AACA;AACA,OAAO,SAASC,eAAeA,CAACC,QAAgB,EAAmB;EACjE,OAAOtE,cAAc,CAACqE,eAAe,CAACC,QAAQ,CAAC;AACjD;;AAEA;AACA;AACA;AACA;AACA,OAAO,SAASC,kBAAkBA,CAACC,MAAwC,EAAiB;EAC1F,OAAOxE,cAAc,CAACuE,kBAAkB,CAACC,MAAM,CAAC;AAClD","ignoreList":[]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sency/react-native-smkit-ui",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.2",
|
|
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",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
],
|
|
49
49
|
"repository": {
|
|
50
50
|
"type": "git",
|
|
51
|
-
"url": "https://github.com/sency-ai/smkit-ui-react-native-demo.git"
|
|
51
|
+
"url": "git+https://github.com/sency-ai/smkit-ui-react-native-demo.git"
|
|
52
52
|
},
|
|
53
53
|
"author": {
|
|
54
54
|
"name": "Sency AI",
|
|
@@ -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.
|
|
18
|
+
s.dependency "SMKitUI", "= 1.9.1"
|
|
19
19
|
# Required so the bridge can reference InstructionVideoConfig and VideoDisplayMode (defined in SMKit).
|
|
20
|
-
s.dependency "SMKit", "= 1.
|
|
20
|
+
s.dependency "SMKit", "= 1.9.1"
|
|
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.
|