react-native-health-connect
react-native-health-connect copied to clipboard
fix(expo-config-plugin): rework expo-config-plugin to fix `lateinit` error
Updated the expo-config-plugin
to handle:
- Android 13 and lower with an activity triggered by
androidx.health.ACTION_SHOW_PERMISSIONS_RATIONALE
intent - Android 14 with an activity-alias triggered by
android.intent.action.VIEW_PERMISSION_USAGE
intent - The activity code is to be provided by users
- Updated docs
Tested on expo 49/java MainActivity
& expo 50/kotlin MainActivity
Fixes #71