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

iOS DataScannerViewController API Bindings Missing #22147

Open
MicahKimel opened this issue Feb 10, 2025 · 2 comments
Open

iOS DataScannerViewController API Bindings Missing #22147

MicahKimel opened this issue Feb 10, 2025 · 2 comments
Labels
api-bindings requires-swift An issue that requires swift support to fix
Milestone

Comments

@MicahKimel
Copy link

Apple platform

iOS

Framework version

net8.0-*

Affected platform version

.NET 8

Description

I'd like to be able to use the IDataScannerViewControllerDelegate binding in Maui to scan barcodes. I'm down to contribute and add these bindings in if someone points me in the right direction. It appears someone has made bindings in a nuget package here https://github.com/dadude999/DataScannerViewController-MAUI, but it should really be in Maui.

Thanks!

Steps to Reproduce

Cannot use DataScannerViewControllerDelegate in Maui C#.

Did you find any workaround?

No response

Relevant log output

No response

@rolfbjarne rolfbjarne added the requires-swift An issue that requires swift support to fix label Feb 11, 2025
@rolfbjarne rolfbjarne added this to the Future milestone Feb 11, 2025
@rolfbjarne
Copy link
Member

It seems DataScannerViewController is only available using Swift, and not Objective-C, which means we're unfortunately not able to create bindings at this moment.

The plan is for us to eventually provide these bindings, but it's a lot of work, so I'm not sure when that might be (although it's being worked on at the moment).

@MicahKimel
Copy link
Author

Thanks @rolfbjarne, I see now the .net runtimes needs to be update to interact with the ABI for swift visionkit. After seaching the runtime project it doesn't look like much work has been done yet, so I'll jump over to that project and see if I can figure out how to contribute and get this going.

Looks like currently the only native swift bindings that have really been implemented is CryptoKit

Thanks for pointing me in the right direction!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api-bindings requires-swift An issue that requires swift support to fix
Projects
None yet
Development

No branches or pull requests

2 participants