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 the caption2 was removed. Remove caption2 value from your SbCaptureConfiguration implementation.

  • In SbIosColors the focus variable was renamed to onSurfaceFocus. In SbCaptureConfiguration replace

    branding: {
      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, set isCoreLibraryDesugaringEnabled (Kotlin) or coreLibraryDesugaringEnabled (Groovy) flag.
    • In dependencies section, add coreLibraryDesugaring dependency, with correct library name and version.
  • 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" />