-
Notifications
You must be signed in to change notification settings - Fork 17
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
Android SecurityException when starting update #30
Comments
@Silverdark @ksidirop-laerdal Looks like Android Bindings package just needs to be updated to target the updated Nordic package since they released a fix a while ago |
@ISSPRO-Eng I tried to update the Nordic package but it fails, see NordicSemiconductor/Android-DFU-Library#428 |
@Silverdark Okay will do. I am still pretty green to nuget packages so may be some time |
I managed to get the DFU library running smoothly on MAUI Android. But we're still busy porting our one Xamarin app to MAUI and will only be done next year due to the sheer size of the app. The deadlines seemed fine until we realised that we're not targeting Android 14 SDK yet, and need to do so before August 31st. I've taken the DFU aar and gson jar that's on the MAUI package and built a new Xamarin bindings NuGet, but unfortunately still running into the
I've been trying to warn the company ever since NET 8 official release that we need to start with porting sooner, knowing that we'd end up in a situation like this because none of the Xamarin libraries are maintained anymore. 😔 I don't mean to hijack this thread, but any advice would be greatly appreciated. Thanks in advance. |
Describe the bug
When trying to start an update with DFU a SecurityException is thrown.
To Reproduce
Steps to reproduce the behavior:
Call the
Start
method for the DFU installation:Expected behavior
Update with DFU should start.
Smartphone:
Additional context
As far as I understand this happens only if the target SDK level is at 34 and your phone has Android 14 installed.
Looks like an issue with the Android Nordic library NordicSemiconductor/Android-DFU-Library#412 maybe it is already fixed with an update.
The text was updated successfully, but these errors were encountered: