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

Camera permission not working in android browser #27

Closed
ankitch29 opened this issue May 13, 2021 · 15 comments
Closed

Camera permission not working in android browser #27

ankitch29 opened this issue May 13, 2021 · 15 comments
Labels
enhancement New feature or request

Comments

@ankitch29
Copy link

Hello,

I am working on a PWA application and I need to scan QR code in my app. I have compiled the code and hosted the web app on firebase, then once I open the link into the android device's browser then it's not asking for camera permissions, hence all the features are blocked in the android browser. Please check the hosted link below on firebase.

https://scanner-web-16d78.web.app

@pdliuw
Copy link
Owner

pdliuw commented May 18, 2021

  • desktop browser is ok!
  • we will improve something to adapter android browser

@tranvanphay
Copy link

tranvanphay commented May 28, 2021

Hello,

I am working on a PWA application and I need to scan QR code in my app. I have compiled the code and hosted the web app on firebase, then once I open the link into the android device's browser then it's not asking for camera permissions, hence all the features are blocked in the android browser. Please check the hosted link below on firebase.

https://scanner-web-16d78.web.app

Please try to update your browser

@vrman
Copy link

vrman commented May 29, 2021

same here +1
my browser is up to date , chrome and firefox and safari, but its not working on all of them.
tested in android and ios device

@pdliuw pdliuw added the enhancement New feature or request label May 29, 2021
@pdliuw
Copy link
Owner

pdliuw commented May 31, 2021

enhancement android browser v3.0.1

@pdliuw pdliuw closed this as completed May 31, 2021
@vrman
Copy link

vrman commented Jun 1, 2021

enhancement android browser v3.0.1

what about ios ? safari ? is this work on safari too ?

@vrman
Copy link

vrman commented Jun 1, 2021

still not working in both ios and android , could you please update example to test this over the mobile browsers ?

@ankitch29
Copy link
Author

I have tried with updated source code too, but still not working for me too for any browsers.

@pdliuw
Copy link
Owner

pdliuw commented Jun 3, 2021

增强 android 浏览器v3.0.1

ios呢?苹果浏览器 ?这也适用于 safari 吗?

I tried again. It supports PWA. Can you provide more information about what you have described?

@pdliuw pdliuw reopened this Jun 3, 2021
@pdliuw
Copy link
Owner

pdliuw commented Jun 3, 2021

I tried again. It supports PWA.

please click me see here for more example

@pdliuw
Copy link
Owner

pdliuw commented Jun 3, 2021

still not working in both ios and android , could you please update example to test this over the mobile browsers ?

I tried again. It is ok.
if you still can not .please report more detail information about it.

@pdliuw
Copy link
Owner

pdliuw commented Jun 3, 2021

I have tried with updated source code too, but still not working for me too for any browsers.

I tried again. It is ok.
if you still can not .please report more detail information about it.

@pdliuw
Copy link
Owner

pdliuw commented Jun 3, 2021

I tried again. It is ok.
if you still can not .please check your environment or upgrade it.

@pdliuw pdliuw closed this as completed Jun 3, 2021
@vrman
Copy link

vrman commented Jun 3, 2021

I tried again. It supports PWA.

please click me see here for more example

its not scanning 1d barcode in both android (chrome) ios (safari) , only scan qr code barcodes
could you share your code with us ?

@vrman
Copy link

vrman commented Jun 3, 2021

problems in pwa are , i hope you fix number 1 :
1- its not support 1d barcode .
2- camera doesnt stop after detect barcode like mobile versions , continue scanning.
3- there is no scan area detection like mobile versions

@pdliuw
Copy link
Owner

pdliuw commented Jun 3, 2021

problems in pwa are , i hope you fix number 1 :
1- its not support 1d barcode .
2- camera doesnt stop after detect barcode like mobile versions , continue scanning.
3- there is no scan area detection like mobile versions

you are right,so far it is this.

we will improve it in the future

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants