launchImageLibraryAsync does not work for both iOS and Android production build (apk and ipa)

Please provide the following:

  1. SDK Version: 38
  2. Platforms(Android/iOS/web/all): native

I am having an issue while clicking on a button to open the library to import an image.

In development with expo it work fine, but after building the apk or ipa, then the button does not trigger anything.

I have in my app.js:

    "ios": {
      "userInterfaceStyle": "automatic",
      "bundleIdentifier": "com.icimatin.www",
      "supportsTablet": true,
      "infoPlist": {
        "NSPhotoLibraryAddUsageDescription": "To save photos",
        "NSPhotoLibraryUsageDescription": "To add a photos to your profile and deals"
    "android": {
      "permissions": [

Why does the function apparently crash silently after production build?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.