Modules
React Native Wrapper
The React Native Wrapper is divided into separate feature modules to make it easy for you to install and use the exact features that are important to you. It requires the use of the native Android and native iOS Inform SDK libraries.
The Session module (core
) is always required. Other modules should be added to your project based on the functionality you wish to support in your app.
Module | Name | Required For |
---|---|---|
core | Session | everything - this module is always required |
healthconnect | Health Connect | Connecting with and retrieving data from Android Health Connect |
healthkit | Apple Health (healthkit) | Connecting with and retrieving data from Apple Health |
ble | Bluetooth | Connecting with and retrieving data from supported Bluetooth LE devices |
For example, Health Connect has its own module, therefore the following modules are required to use the Health Connect integration:
- Session (core)
- Health Connect (healthconnect)
The following modules are required to use the Bluetooth integration:
- Session (core)
- Bluetooth (ble)
You can mix and match modules in your mobile project depending on the functionality you want in your mobile app. Just remember that the session (core module) must always be installed and used. All other modules depend on the functionality in the core module.
Updated 3 days ago