-
-
Notifications
You must be signed in to change notification settings - Fork 47
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
Build error in react native 0.77.0 #200
Comments
Hi @tamacroft, I encountered the same issue regarding the optional ReadableMap in com.facebook.react.bridge.ReadableMap. As a temporary workaround, I modified two lines directly in the node_modules/react-native-health-connect package: In ReactHealthRecord.kt (line 55), I changed:
to
In HealthConnectUtils.kt (line 65), I changed:
to
This forces the compiler to treat the ReadableMap? as non-null. I understand this isn’t an ideal long-term solution, so if someone more knowledgeable could submit a pull request to address this issue properly, that would be much appreciated. |
thanks this work |
Now ReadableMap from com.facebook.react.bridge.ReadableMap is optional, any how to resolve this?
The text was updated successfully, but these errors were encountered: