If i add the sfPicker to an app then the app crashes as it loads. I tried it with the SyncFusion example solution as well but when i loaded the screen with it on it crashed as well. I am currently evaluating the trial version and the version of the picker is 28.1.39
Hi RobDev,
Thank you for reaching out to us. We tested the SfPicker control using version 28.1.39 on UWP platforms and did not encounter any crashes. To assist you further, we have attached a tested sample for your reference.
We kindly request you to review the attached sample and make any necessary modifications to replicate the issue. This will enable us to investigate the problem thoroughly and provide you with an appropriate solution.
Regards,
Priyadharshni M
Hi, thanks for your response but it looks like this has ended up in the wrong forum section. It is the MAUI sfPicker control i am looking at running on Windows or Android.
Hi Rob,
Based on the provided information, we have checked the mentioned issue “App crashes with the picker added”. We are unable to replicate the crash from our end. We have prepared the simple sample for the same. Please find the sample from the following link.
Tested device:
Windows 11
Tested version:
28.1.41
Please check the sample and let us know if you still facing the same issue? If not, please modify the sample based on your scenario and revert us back with the following details,
Issue reproducing video (if possible)
Crash details.
Code snippet
It will be helpful for us to check on it and provide you with the solution at the earliest.
Regards,
Indumathi R
If the picker is loading a large amount of data (like a long list of items or dates), it can cause excessive memory consumption, which leads to the app crashing, especially on devices with limited resources. Implement lazy loading or pagination for large datasets. Instead of loading https://smartledinc.com/product/2-sided-4x8-outdoor-led-sign-5k-6mm-resolution/ everything at once, load items incrementally based on user interaction or scrolling.
Hi William,
We have reviewed the reported query using the latest
NuGet version 29.1.37, and we were unable to reproduce the issue on our
end. To assist further, we have prepared a simple sample and attached an output
video for your reference.
We kindly request you to try the scenario using the latest NuGet version 29.1.37. If the issue persists, please share the following additional information to help us investigate more effectively:
A video demonstrating the issue (if possible)
Code snippet
Details about the platform and environment
This will enable us to investigate the problem thoroughly and provide you with an appropriate solution.
Regards,
Hadaya Rahman M
It sounds like the issue might be related to how the picker is being initialized or updated in your app. Sometimes crashes occur due to null references or incorrect bindings. Double-check your picker’s data source and event handlers — ensuring everything is properly connected usually fixes these kinds of problems!
Hi William Gerorge,
Thanks for the suggestion. We have revalidated the scenario using the latest NuGet (31.2.5). Here’s what we checked:
Everything is working as expected on our end. We’ve attached an updated simple sample along with an output video for the reference. Please let us know if you need any further assistance.
Regrads,
Vallarasu R.
It sounds like adding the picker is causing a conflict in the app. Checking for proper initialization, data binding, and compatibility with your current framework or OS version might help resolve the crashes.
Hi William,
Glad that the issue has been rectified. We will proceed with marking this ticket as closed. Please let us know if you require any further assistance with this. We will be happy to assist you.
Regards,
Hadaya Rahman M