Skip to content
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

WIP Switch to iOS 13, use Tasks to handle threads and add error handling #726

Merged
merged 1 commit into from
Dec 12, 2023

Conversation

ened
Copy link
Contributor

@ened ened commented Aug 9, 2023

No description provided.

throw MobileScannerError.noCamera
}

return MobileScannerStartParameters(
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this return on the main dispatch queue still?

@ened ened closed this Oct 13, 2023
@navaronbracke
Copy link
Collaborator

@ened Is there a reason why this was closed? It seems to be a nice improvement to have anyway.

@ened
Copy link
Contributor Author

ened commented Oct 13, 2023

Happy to take another look. Closed it due to bug fix already in repo (for the iOS crashes).

@ened ened reopened this Oct 13, 2023
@navaronbracke
Copy link
Collaborator

@ened Is this still on your radar? This might help with fixing another case of #720 occurring (not sure though).

Unfortunately, there have been some changes to the iOS side of the plugin that caused some merge conflicts.
However, adding the Task back in for iOS should be trivial.

I can take a look at this as well if needed.

@juliansteenbakker juliansteenbakker changed the base branch from master to swift-async December 12, 2023 20:30
@juliansteenbakker
Copy link
Owner

Hi all, since this PR is stale, i am going to merge it in to one of our branches so we don't alter the origin of @ened. This plugin still needs to support iOS 12, however async does support iOS 12. So i am going to change and test this, and merge if everything works out fine. Source: https://developer.apple.com/documentation/network/nwprotocolframer/instance/3200472-async

Thanks for your work @ened !

@juliansteenbakker juliansteenbakker merged commit e59326b into juliansteenbakker:swift-async Dec 12, 2023
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ios Platform iOS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants