We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to resolve application crash while saving images to device gallery?

When you try to save image in device’s gallery by using image editor, the application may get crash. By default, the application does not have permission to access images in device. To resolve this crash, follow the given steps.


How to resolve application crash in Android project?


To resolve application crash in Android, you should grant read and write permissions to application. Refer the following steps to resolve application crash.

Step 1:  Right-click the Android project, and select Properties.







Step 2: Click Android Manifest, and select READ-EXTERNAL-STORAGE and WRITE-EXTERNAL_STORAGE.





How to resolve application crash in iOS project?


To resolve the application crash in iOS, you must add the following privacy settings into the Info.plist file.


Refer the following steps to resolve application crash.


Step 1:  Expand the iOS project, and select Info.plist file.





Step 2: Add Privacy-Media Libarary Usage Description, Privay-Camera Usage Description, and Privacy-Photo LibraryDescription in Info.plist file.






How to resolve the application crash in UWP?


To resolve this application crash in UWP, you should install Windows Runtime API Win2D, which is used for 2D graphics rendering in Universal Windows Platforms.  


Refer the following steps to resolve application crash.

Step 1: Right-click the UWP project, and select Manage NuGet Packages.





Step 2: In NuGet Manager, click browse Win2D, and then click Install.





Step 3: Please ensure that the NuGet has been installed properly.




Article ID: Published Date: Last Revised Date: Platform: Control:
8304 01/12/2018 07/06/2018 Xamarin.Forms SfImageEditor
Did you find this information helpful?
Add Comment
You must log in to leave a comment

Please sign in to access our KB

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon