Skip to main content

React Native Configuration

Pass options at initialize (via AzeooProvider or getAzeooSDK().initialize(...)). Session data is not part of that object: after init, call connect(token, gender, height, weight) with the JWT and health fields (see Quick Start).

Config at init

With react-native-azeoo-lib, typical shapes are:

  • config: locale, analyticsEnabled, offlineEnabled, connectionTimeoutSeconds, persistSession
  • theme: isDarkMode and colors (primary, secondary, background, … as hex strings, e.g. '#007AFF')
  • safeArea: top, bottom, left, right — numeric insets; non-zero enables the corresponding edge when mapped natively
  • deepLinks: scheme, host, pathPrefix

See the package README and Installation.

Next steps