react-native-health-connect icon indicating copy to clipboard operation
react-native-health-connect copied to clipboard

fix(expo-config-plugin): rework expo-config-plugin to fix `lateinit` error

Open xseignard opened this issue 3 months ago • 3 comments

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

xseignard avatar Mar 25 '24 17:03 xseignard