Comments (6)
I can confirm using Visual Studio 16.7 preview 1 fixes this. So probably nothing you can do about it, but still good to know if someone else has this issue.
from barcodescanner.mobile.
I tried my project.
Seems it related to the target framework of the android project.
I made below changes and the sample project seems working.
- Change Target Framework from Android 9 to Android 10
- Install Nuget Package Xamarin.AndroidX.MediaRouter
I would switch my library to target Android 10 later to see it is solved or not but you may able to try above workaround for this moment.
from barcodescanner.mobile.
I haven't had time to check the workaround you suggested, but it seems that VS 16.6.1 which was released on 2020-06-01 (yesterday) seems to fix the issue as well, so I guess this can be closed?
EDIT: still doesn't seem like it is fixed in VS, sorry. I will try your workaround!
from barcodescanner.mobile.
Yeah I just tested and it did not work.
Or you can wait 1 to 2 days more for me to update the library.
Basically is about the Android target framework.
from barcodescanner.mobile.
Yeah you are right with the android framework. I did your workaround and works very well, thank you!
from barcodescanner.mobile.
You may update to 4.6.1 which is updated the package reference for target framework 9 and 10.
from barcodescanner.mobile.
Related Issues (20)
- Upgrading MLKit dependencies HOT 4
- Capturing a photo from CameraView
- Android 10 issue
- Accesing Stream State HOT 1
- barcodescanner.mobile.maui is missing NuGet package README file HOT 1
- Is that can i Save the read Barcode as png in Downloads Folder in Xamarin Forms
- How can I read EAN13+5?
- Usage in .net6.0-android (NOT Maui or Xamarin.Forms) HOT 1
- 'Methods' does not exist in the namespace 'BarcodeScanner.Mobile' HOT 1
- Inquire: Will this package need to update to use the new Apple privacy file? HOT 7
- Generate an error report HOT 2
- Camera is scanning but no camera view (picture) is displayed. HOT 2
- Hi, can we use that nuget on a .Net 8 for iOS project (Not MAUI) ? HOT 4
- Xamarin.Forms - iOS - 6.3.1 version can't be installed into xamarin project and the project hangs HOT 6
- [iOS] Current MAUI version 8.0.21 not working on iOS HOT 35
- SSZipArchive.xcframework has an incorrect or unknown format and cannot be processed. HOT 1
- BarcodeScanner stops detect after some time HOT 1
- .NET MAUI8 project does not compile with BarcodeScanner.Mobile Version 8.0.40.1 NuGet package HOT 6
- Layout size question
- IllegalArgumentException on some Android devices causing black camera view
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from barcodescanner.mobile.