Elite-HRV / spren-vision-ios

Spren Vision iOS SDK
Other
6 stars 5 forks source link

React Native Spren 2.0.0 #16

Closed navasiloy closed 2 years ago

navasiloy commented 2 years ago

2.0.0

Android Breaking changes in 2.x

sprenRef.current?.setAutoStart(boolean); (Replace with sprenRef.current?.reset() method)

sprenRef.current?.setTorchMode(boolean) (Replace with sprenRef.current?.turnFlashOn())

sprenRef.current?.dropComplexity() (no need to handle anymore)

sprenRef.current?.handleOverExposure() (no need to handle anymore)

iOS Breaking changes in 2.x

None

All the breaking changes are handled in example app (check it for more details)


Android: Add SprenCapture reset method

Android: Add SprenCapture turnFlashOn method

Android: Fix lens coverage bug

Example App: Add unsupportiveness notice for Android 8 or lower devices

Example App: Cancel reading when device enter background mode

Example App: Result screen when pressing back button or user swipes back -> navigates to home screen

Add new license (see LICENSE.pdf)