Calling SFImageEditor.Save does not trigger ImageSaving event on Android
Hello,
When using the SFImageEditor in iOS calling the SFImageEditor.Save function triggers the
ImageSaving event. Allowing us to change save location and do other logic.
This however does not happen in Android. Meaning that this ImageSaving event is never triggered.
In the supplied sample (your sample app but modified slightly) you can see that I have another button at the bottom which will disable when clicked and trigger the save.
This works fine in iOS but not in Android.
Is this deliberate or is this a bug?
Thanks,
Callum
Attachment: .NET_7_2074752b.zip
Hi Callum,
Thank you for reaching out. We are already facing an issue on Android 13 with API 33 and above devices when requesting permissions for saving images in the MAUI SfImageEditor control. Could you please confirm if you are experiencing this issue specifically on an Android 13 device, or if it occurs on other devices as well? This information will help us investigate the problem further.
Regards,
Vidyalakshmi M.
Hi Vidyalakshmi
I have tested on a few devices there and I can confirm it works on Android 12 with API 31 (the event is handled and my dummy code causes an exception but that's fine for this example).
Android 13 with API 33 and Android 14 with API 34 do not work. The event is never triggered and my code is never executed.
I hope this helps,
Callum
Hi Callum,
We have checked, and we can replicate the reported issue. We have logged an issue report for the same; we will fix this issue and include the issue fix in our weekly NuGet release update which is expected to be available by March 05, 2024. We appreciate your patience until then.
You can track the status of this report through the following feedback link: https://www.syncfusion.com/feedback/51247/update-permissions-for-maui-sfimageeditor-control-in-android-13-with-api-33-and
Disclaimer: Inclusion of this solution in the weekly release may change due to other factors including but not limited to QA checks and works reprioritization.
Regards,
Vidyalakshmi M.
Hi Callum,
We have fixed the reported issue and included the issue fix in our latest weekly NuGet release update version 24.2.9, which is available for download at nuget.org
Root cause: It is a framework update related to Android permissions for devices running Android 13 and above. Following this update, the permission request for devices running Android 13 and above has been removed.
We thank you for your support and appreciate your patience in waiting for this update. Please get in touch with us if you require any further assistance.
Regards,
Vidyalakshmi M.
Using Syncfusion.Maui.ImageEditor version 30.1.41, targeting MAUI net9, iOS, the event is triggered, but Android target Android 15, in a Android 14 device, the event is not triggered.
But the SyncFusion sample works fine, in the exact same environment.
Can you try to help identify what can be causing this issue?
Hi Jones,
Thank you for reaching out to us.
We have reviewed your query and thoroughly investigated the reported scenario. Based on our internal testing, we were unable to reproduce the issue. The event is triggered correctly and functions as expected across platforms.
For your reference, we have attached an output video demonstrating the results of our tests.
Test Environment Details:
Device & Model: Pixel 9 pro and Pixel 7 emulators
Android Version: Android 15 and Android 14
Syncfusion MAUI ImageEditor Version: 30.1.41
Target Framework: .NET MAUI (net9.0)
To assist us in further validating and resolving the issue, we kindly request the following additional information:
- Device name and model where the issue is observed
- Whether the issue occurs on a physical device or emulator
- The exact .NET MAUI version used in your project
- A video demonstrating the issue on the affected device
- If possible, a minimal reproducible sample that demonstrates the issue
Providing these details will help us better understand the scenario and assist you more effectively. We appreciate your cooperation and look forward to your response.
Regards,
Priyadharshni M
Attachment: MAUIImageEditorSaveAndroid_270318e6.zip
- 6 Replies
- 4 Participants
- Marked answer
-
CT Callum Terris
- Feb 23, 2024 03:17 PM UTC
- Jul 25, 2025 11:59 AM UTC