hello i have a problem with my expo app
the app was working before 2 days and suddenly the app cannot use “image picker” like it was
i trying expo image picker (that work before 2 days)
and now because this error i try the “react-native-image-picker” and it also not working and get the same error:
react native image picker : TypeError: null is not an object (evaluating ‘nativeImagePicler.launchImageLibrary’)
expo image picker : TypeError: undefined is not an object (evaluating ‘result.assets[0]’)
the code not change since then so its not the problem
i think its something about the sdk or module or build or some configuration of the expo (maybe i change and forgot to check)
{
"expo": {
"name": "lottery",
"runtimeVersion": {
"policy": "sdkVersion"
},
"updates": {
"fallbackToCacheTimeout": 0,
"url": "https://u.expo.dev/292e68aa-3480-4c01-b697-6672a8d899fc"
},
"slug": "lottery",
"version": "1.0.2",
"orientation": "portrait",
"icon": "./assets/lottery-icon.png",
"userInterfaceStyle": "light",
"splash": {
"image": "./assets/lottery-background.png",
"plugins": [
[
"expo-image-picker",
{
"photosPermission": "The app accesses your photos to let you share them with your friends."
}
],
[
"expo-build-properties",
{
"android": {
"enableProguardInReleaseBuilds": true
}
}
]
]
},
"assetBundlePatterns": ["**/*"],
"ios": {
"supportsTablet": true
},
"android": {
"package": "com.liors.lottery.first.project",
"versionCode": 3,
"adaptiveIcon": {
"foregroundImage": "./assets/lottery-background.png",
"backgroundColor": "#FFFFFF"
}
},
"web": {
"favicon": "./assets/favicon.png"
},
"extra": {
"eas": {
"projectId": "292e68aa-3480-4c01-b697-6672a8d899fc"
}
}
}
}