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

Missing WebView package #21

Open
OndraBasler opened this issue Jan 12, 2022 · 2 comments
Open

Missing WebView package #21

OndraBasler opened this issue Jan 12, 2022 · 2 comments

Comments

@OndraBasler
Copy link

OndraBasler commented Jan 12, 2022

The following exception happens in the app which uses QueueIt SDK. I believe that SDK should handle the missing WebView package gracefully. Maybe propagate the error through an error callback.

We are using 2.0.35 version of SDK.

Caused by android.webkit.WebViewFactory$MissingWebViewPackageException
Failed to load WebView provider: No WebView installed

android.webkit.WebViewFactory.getWebViewContextAndSetProvider (WebViewFactory.java:339)
android.webkit.WebViewFactory.getProviderClass (WebViewFactory.java:402)
android.webkit.WebViewFactory.getProvider (WebViewFactory.java:252)
android.webkit.WebView.getFactory (WebView.java:2576)
android.webkit.WebView.ensureProviderCreated (WebView.java:2570)
android.webkit.WebView.setOverScrollMode (WebView.java:2638)
android.view.View. (View.java:5328)
android.view.View. (View.java:5474)
android.view.ViewGroup. (ViewGroup.java:697)
android.widget.AbsoluteLayout. (AbsoluteLayout.java:56)
android.webkit.WebView. (WebView.java:413)
android.webkit.WebView. (WebView.java:355)
android.webkit.WebView. (WebView.java:337)
android.webkit.WebView. (WebView.java:324)
android.webkit.WebView. (WebView.java:314)
com.queue_it.androidsdk.UserAgentManager.initialize (UserAgentManager.java:2)
com.queue_it.androidsdk.QueueITEngine. (QueueITEngine.java:77)

@frwiqueueit
Copy link
Contributor

Thank you for bringing this to our attention. We will look into it.

@sp0x
Copy link
Contributor

sp0x commented Jan 28, 2022

The QueueIt SDK needs a WebView in order to show the waiting room.
We can expose a callback that will be called when there's an exception like this, but what's the use case here?
If a WebView isn't available you can't actually enqueue the user.
Most devices should have a WebView available as well.

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

No branches or pull requests

3 participants