Nolascoin
Nolascoin
> Hey @JDMathew could you help me testing [c1f4dd1](https://github.com/agencyenterprise/react-native-health/commit/c1f4dd1e2c65a2906110c07e23dbe0d527fbbb79)? This seems to have solved the crash but I was not able to test background deliveries in the example app. If...
> Same here, any solutions? I've managed to avoid the crashes with the commit below, but this needs further reviews. https://github.com/Nolascoin/react-native-health/commit/0ec446385963887aaf176531dfa1a88b85e0001f
Possible solution [https://stackoverflow.com/a/70672054/65694](https://stackoverflow.com/a/70672054/65694)
> Apple health causing crash the app repeatedly in background. Did it start after applying this patch?
> I have removed this [[RCTAppleHealthKit new] initializeBackgroundObservers:bridge]; from Appdelegate.m but it still crashing in background again and again. Does it work with a previous version?
same issue using **match** and **github actions** ```` build_app( scheme: "....", export_method: "ad-hoc", export_options: { provisioningProfiles: { "com.****" => "match AdHoc com.****"", "com.****.imagenotification" => "match AdHoc com.****".imagenotification" } } ````...
> Does it fix the issue? It should prevent the NullPointerException from crashing the app.
I got it too with 0.18.2 `Fatal Exception: java.lang.NullPointerException Attempt to invoke virtual method 'void android.app.Activity.startIntentSenderForResult(android.content.IntentSender, int, android.content.Intent, int, int, int)' on a null object reference` I am unsure if...
> @Nolascoin have you managed to solve the issue? My PR https://github.com/Nolascoin/react-native-google-fit/commit/44e31a430544bb486282a4608c7b54065c2a432c circumvents the issue by not crashing, but does not fix the problem.