Closed mathiasmaciel97 closed 1 year ago
Hey there, Thank you for your ticket. Could you please provide english Screenshots, I cannot work with these ones! Does it work when you use the plug-in in a normal page? When you set in custome attributes of the qr-code region the following: style="height:400px;" does this work then in modal dialogs?
I have no apple device , but I tested the plug-in on a normal page and on a modal dialog with my sample app on apex.oracle.com in a BrowserStack iOS Real Device. So maybe the problem is in your app. could you please provide me a sample app on apex.oracle.com. So I can reproduce the issue?
It works fine in Normal Page Mode. As I mentioned, it is not strictly related to functionality but behavior of camera preview that you can not see. There was not changes by setting that attribute. Current scenario: Inline Dialog template region for QR scanner in Modal Page Mode. I created a new app with similar settings on https://apex.oracle.com/. Feel free to login and test it. Here are your credentials:
Hi there, sorry for late replay but what you are doing cannot work on ios. Camera can only be initialized when visible on iOS so this cannot work! You need to open the Scanner in a visible region on page load not in a hidden inline dialog!
Yes that's only for iOS devices. I think Android is not so restricted. But it makes sense to me what Apple is doing for privacy reasons
I set region as correspond but with Inline Dialog as template on Modal Dialog page. It asks for camera permission but when I allow it nothing happens. I define sub region to advertise user that it should allow browser to access device camera.