QR code scanning for iOS and Android with an embedded MAUI CameraView #14826
jp-weber
started this conversation in
Show and tell
Replies: 1 comment
-
@jp-weber thanks for showing your solution! If MAUI embedding solves your problem, it's one way to do it for sure. Maybe there will be a different "uno native" solution in the future to do this. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
since I have been looking for a comfortable solution to scan the required QR codes for my app (two factor authenticator via totp), I have now opted for MAUI embedding in order to be able to use the new project ZXing.Net.Maui, since ZXing.Net.Mobile has not been properly supported for ages.
Test project: https://github.com/jp-weber/UnoCameraMauiTest
I am quite impressed by the functionality and embedding of the MAUI control:
![grafik](https://private-user-images.githubusercontent.com/10946850/290288916-845a7be8-e0e0-4cd4-a843-2367d08b63ed.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTkxMDYwODcsIm5iZiI6MTcxOTEwNTc4NywicGF0aCI6Ii8xMDk0Njg1MC8yOTAyODg5MTYtODQ1YTdiZTgtZTBlMC00Y2Q0LWE4NDMtMjM2N2QwOGI2M2VkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MjMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjIzVDAxMjMwN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTkwOTM5YjJmODMwYzNiMTVlNWQ4OGQ1MzRlOWE5MGNlMTM4ZDlhZjhiNDg3MjAwZDhhZjlhOWNjZTBhMGY1ZGYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.yzfrlojT8IpRVRvT0J2_MxYDQsv49WFNkCCVuGPgzg0)
Core of the test project:
Read QR code in MAUI library and set variable in ViewModel =>
Send the value of the variable to the recipient in the Uno project =>
And last the recipient in the Uno project
What is your opinion about this combination to realize the required functionality?
Beta Was this translation helpful? Give feedback.
All reactions