-
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
DfuInstallation.Start throws Cannot access a disposed object on iOS #20
Comments
Try using this in your appdelgate.cs
|
I already do this as:
And before starting dfu I call it as:
I looks like I get the right device Id back from the native service. It seems like it is not caused by the wrong device id or file path. |
@Umer-Mahmood did you get anywhere with this. I think we're hitting a similar issue but we're trying to do this with MAUI (net-6.0-ios) and not having much luck on iOS. |
@baddinosaur-kyle Unfortunatly no progress on this mainly because I didn't get a chance to work further on this. I will definitly post here if I figure something out. |
Describe the bug
Device firmware update works for android but fails for iOS as soon as I call
Start()
method onLaerdal.Dfu.DfuInstallation
instance.To Reproduce
Steps to reproduce the behavior:
Laerdal.Dfu 1.25.2
in shared project, android project and iOS projectExpected behavior
The device firmware process should start successfully as it does in android.
Call stack
Smartphone (please complete the following information):
Additional context
The exception does not seem to depend on what I pass as device id and dfu file path.
The text was updated successfully, but these errors were encountered: