Following the installation guide and documentation, I've been setting up clarity on a react-native application.
Upon reaching the initialize function, the application crashes with the following error:
This is a snippet of the faulty code:
import { initialize } from 'react-native-clarity'
...
if (IS_PRODUCTION && Platform.OS === 'android') initialize(CLARITY_PROD_ID, undefined, 'Verbose')
The application runs smoothly again by commenting said part of the code.
Is there something I'm missing on the Android setup part? I've tried to rebuild the application multiple times already. However, every time the same error shows up.
This is other data that may be key to the resolution of this bug:
Version: 0.0.5
Framework: ReactNative
There are sadly no runtime logs as the application crashes before being initialized.
Thank you in advance.
Hello.
Following the installation guide and documentation, I've been setting up clarity on a react-native application. Upon reaching the initialize function, the application crashes with the following error:
This is a snippet of the faulty code:
The application runs smoothly again by commenting said part of the code.
Is there something I'm missing on the Android setup part? I've tried to rebuild the application multiple times already. However, every time the same error shows up.
This is other data that may be key to the resolution of this bug:
There are sadly no runtime logs as the application crashes before being initialized. Thank you in advance.