React Native Bridge Migration
From 2023.0.2 to 2025.0.0
React Native Changes
Compatibility
- Requires React Native 0.79.4
Interface Changes
In
SbIosFonts
thecaption2
was removed. Removecaption2
value from yourSbCaptureConfiguration
implementation.In
SbIosColors
thefocus
variable was renamed toonSurfaceFocus
. InSbCaptureConfiguration
replacebranding: { iosColors: { ... focus: 0x...
with
branding: { iosColors: { ... onSurfaceFocus: 0x...
Native Changes
SDK Compatibility
- Requires Sensibill SDK 2025 or above, which has an updated compatibility requirements for supported Android/iOS versions and development environments. See Supported Platforms .
Android
Because Sensibill SDK uses some Java 11 language APIs, the app’s Gradle configuration needs to be updated to enable desugaring support, as explained on Library Desugaring page:
- In
compileOptions
of the gradle file, setisCoreLibraryDesugaringEnabled
(Kotlin) orcoreLibraryDesugaringEnabled
(Groovy) flag. - In
dependencies
section, addcoreLibraryDesugaring
dependency, with correct library name and version.
- In
The following permissions are no longer required and should be removed from the AndroidManifest.xml:
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_MEDIA_IMAGES" />