Did you reproduce this issue in a development build?
Yes
Summary
Hello,
This came in as a bug report from our Android users. They are reporting issues "downloading their contacts", which is a button in our app calling the presentFormAsync method. This report came from production builds out in the wild.
I realize that Expo Go might have issues, but this method worked in SDK 49 (as seen below). We haven't changed the code in this component/file after upgrading. I also provided a reproducible example repo that I originally made in #25128, which was working, and then I made a single commit to upgrade to SDK 50.
Need to install the following packages:
expo-doctor@1.6.0
Ok to proceed? (y) y
✔ Check Expo config for common issues
✔ Check package.json for common issues
✔ Check native tooling versions
✔ Check dependencies for packages that should not be installed directly
✔ Check for common project setup issues
✔ Check for issues with metro config
✔ Check npm/ yarn versions
✔ Check Expo config (app.json/ app.config.js) schema
✔ Check for legacy global CLI installed locally
✔ Check that native modules do not use incompatible support packages
✔ Check that native modules use compatible support package versions for installed Expo SDK
✔ Check that packages match versions required by installed Expo SDK
Didn't find any issues with the project!
Minimal reproducible example
https://github.com/hueter/expo-contacts-image-bug
What platform(s) does this occur on?
Android
Did you reproduce this issue in a development build?
Yes
Summary
Hello,
This came in as a bug report from our Android users. They are reporting issues "downloading their contacts", which is a button in our app calling the
presentFormAsync
method. This report came from production builds out in the wild.I realize that Expo Go might have issues, but this method worked in SDK 49 (as seen below). We haven't changed the code in this component/file after upgrading. I also provided a reproducible example repo that I originally made in #25128, which was working, and then I made a single commit to upgrade to SDK 50.
Expo SDK 49 (working)
https://github.com/expo/expo/assets/13444851/adc9ed26-c6f4-483b-88b7-54237fc857b3
Expo SDK 50 (null pointer exception)
https://github.com/expo/expo/assets/13444851/c752e88f-6969-44e9-a3a7-3b448fc077e3
Environment
Expo Doctor Diagnostics