Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App crash when open camera on andriod 7 #62

Open
drmms86 opened this issue Dec 27, 2017 · 2 comments
Open

App crash when open camera on andriod 7 #62

drmms86 opened this issue Dec 27, 2017 · 2 comments

Comments

@drmms86
Copy link

drmms86 commented Dec 27, 2017

Opening camera by calling displayCamera causes the app to crash on android 7

@esdebon
Copy link

esdebon commented Jan 26, 2019

Same problem

Caused by: android.os.FileUriExposedException:

at android.os.StrictMode.onFileUriExposed (StrictMode.java:1958)

at android.net.Uri.checkFileUriExposed (Uri.java:2356)

at android.content.ClipData.prepareToLeaveProcess (ClipData.java:944)

at android.content.Intent.prepareToLeaveProcess (Intent.java:10480)

at android.content.Intent.prepareToLeaveProcess (Intent.java:10465)

at android.app.Instrumentation.execStartActivity (Instrumentation.java:1616)

at android.app.Activity.startActivityForResult (Activity.java:4564)

at android.app.Activity.startActivityForResult (Activity.java:4522)

at com.freshplanet.ane.AirImagePicker.activities.CameraActivity.onCreate (CameraActivity.java:46)

at android.app.Activity.performCreate (Activity.java:7183)

at android.app.Instrumentation.callActivityOnCreate (Instrumentation.java:1220)

at android.app.ActivityThread.performLaunchActivity (ActivityThread.java:2908)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants