Sam LiOriginal post
React Developer
The expo app with appwrite works fine on web and expo app, but when I do a preview build and install on physical device, it crashed after I open it.
The error is com.facebook.react.common.Javascript Exception: TypeError: Cannot read property 'startsWith' of undefined,
I try the react native appwrite template from appwrite github repo, it won't crash on phone, but it shows blank.
I will continue to debug this issue for different version of the package.
If anyone has met this issue or how to fix it, please let me know, thanks a lot!
Summary
App crashing on Android preview build with Expo due to "Cannot read property 'startsWith' of undefined" error. React Native Appwrite template from GitHub doesn't crash but shows blank. Developer will continue debugging with different package versions.