-
-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to setup the library when using Wix react-native-navigation? #90
Comments
Hey! Thanks for noticing this. Can you please share a minimal reproducible so I can work on it? Thanks :) |
Hey @matinzd I've commented out the updates on the android/app/src/main/java/com/rnnhealthconnect/MainActivity.kt file so the app can start. On the screen, there si a button to request the permissions. When you press the button, the app will crash because the HealthConnectPermissionDelegate.setPermissionDelegate(this) code line is missing from the MainActivity.kt |
I've run into the same issue. RNN's NavigationActivity extends AppCompatActivity rather than ReactActivity. Anything that extends from ComponentActivity will have |
* fix: update docs for the new expo adapter * fix(#90): maximize lib compatibility * refactor: optimize imports
Describe the bug
I'm struggling to set up the library on my React Native App. I'm using Wix react-native-navigation, and it looks like there is a type mismatch.
It would be great if we have an example for this scenario.
In this case, the MainActivity extends NavigationActivity instead of ReactActivity
Screenshots
Environment:
The text was updated successfully, but these errors were encountered: