React Native SDK migration guide

Migrating React Native SDK 2.0.0 to 3.0.0

Updated Branding API

Following configurations are added

  • background

  • onBackground

  • onBackgroundSecondary

  • onBackgroundTertiary

  • primary

  • onPrimary

  • secondary

  • onSecondary

  • outline

  • error

  • success

Following configurations are removed

  • themeColor

  • backgroundColor

  • primaryTextColor

  • primaryButtonBackgroundColor

  • bulletPoint

Following configurations are renamed

We renamed the buttonCornerRadius to buttonRadius.

Migrating to React Native SDK 2.0.0

Use new parameter sessionUrl

New API uses sessionUrl instead of a sessionToken. sessionUrl is a combination of base URL and session token.

We renamed the navigationBarImage parameter in configuration to logo.