Please provide the following:
- SDK Version:48
- Platforms(Android/iOS/web/all):Android only
- Add the appropriate “Tag” based on what Expo library you have a question on.
I am relatively new to exp, I was trying to show an image that Im getting from a URL, Im using image from expo-image, It gives an error as
“error”: "Failed to load resource
There was 1 root cause:
javax.net.ssl.SSLHandshakeException(java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.)
I did try searching for answers and one that I found was that the androidmanifest.xml file needs to be modified. However with the new npx expo we dont get the android and ios folders.
So the next best option I thought was adding permissions in the the app.json file. as such
“android”: {
“permissions”: [
“android.permission.INTERNET”,
“android.permission.READ_MEDIA_IMAGES”,
“android.permission.READ_EXTERNAL_STORAGE”,
“android.permission.WRITE_EXTERNAL_STORAGE”
]
},
This too still does not resolve the error. I am short on options as to what to do here. any help will be appreciated.