How to resolve this issue from published app?

Please provide the following:

  1. SDK Version:36
  2. Platforms(Android/iOS/web/all):Android
Fatal Exception: java.lang.RuntimeException: Failure delivering result ResultInfo{who=@android:requestPermissions:, request=13, result=-1, data=Intent { act=android.content.pm.action.REQUEST_PERMISSIONS (has extras) }} to activity {com.biggerpockets.bp_android/host.exp.exponent.MainActivity}: java.util.NoSuchElementException: Key android.permission.CAMERA is missing in the map.
       at android.app.ActivityThread.deliverResults(ActivityThread.java:4398)
       at android.app.ActivityThread.handleSendResult(ActivityThread.java:4441)
       at android.app.ActivityThread.-wrap19(ActivityThread.java)
       at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1668)
       at android.os.Handler.dispatchMessage(Handler.java:105)
       at android.os.Looper.loop(Looper.java:164)
       at android.app.ActivityThread.main(ActivityThread.java:6710)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:770)


{
  "expo": {
    "name": "XYZ",
    "description": "XYZ",
    "slug": "xyz",
    "privacy": "unlisted",
    "platforms": [
      "ios",
      "android"
    ],
    "version": "5.2.1",
    "orientation": "portrait",
    "icon": "./assets/icon.png",
    "splash": {
      "image": "./assets/splash.png",
      "resizeMode": "contain",
      "backgroundColor": "#34414D"
    },
    "ios": {
      "supportsTablet": true,
      "usesAppleSignIn": true,
      "bundleIdentifier": "com.xyz.app",
      "buildNumber": "521",
      "infoPlist": {
        "NSCameraUsageDescription": "Allow this app to access your camera so you can update your profile image.",
        "NSPhotoLibraryUsageDescription": "Allow this app to access your camera roll so you can update your profile image."
      },
      "config": {
        "googleSignIn": {
          "reservedClientId": "fasdfsdfasdafsdf"
        }
      }
    },
    "android": {
      "versionCode": 521,
      "package": "com.xyz.xyz_android",
      "googleServicesFile": "./google-services.json",
      "permissions": [],
      "config": {
        "googleSignIn": {
          "apiKey": "fasfsdfsdfasdffadsfsadfsa",
          "certificateHash": "fasfasfasfsdfasfsadfasf"
        }
      }
    },
    "notification": {
      "icon": "./assets/notification_icon.png"
    },
    "hooks": {
      "postPublish": [
        {
          "file": "sentry-expo/upload-sourcemaps",
          "config": {
            "organization": "xyz",
            "project": "xyz-mobile",
            "authToken": "fasfsfsfsfsdfasfsf"
          }
        }
      ]
    },
    "scheme": "xyz"
  }
}

1 Like

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