Reputation: 421
In crosswalk it is possible to use cordova plugins
And cordova inAppBrowser seems to work fine. But it still uses old android browser instead of crosswalk chromium (so doesn't support needed HTML5 features).
I can see this by checking user-agent for example:
1) inside the app:
Agent:Mozilla/5.0 (Linux; Android 4.2.2; PHONENAME) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.143 Mobile Crosswalk/7.36.154.13 Mobile Safari/537.36 Response Headers
2) inside the inAppBrowser:
Mozilla/5.0 (Linux; U; Android 4.2.2; en-us; PHONENAME) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30
Upvotes: 3
Views: 2800
Reputation: 1
You can use:
https://github.com/Shoety/cordova-plugin-inappbrowserxwalk
It's an inappbrowser which uses crosswalk instead of system WebView.
Upvotes: 0
Reputation: 11
The Cordova inAppBrowser plugin is implemented with the system WebView component, there're several differences between the interfaces of WebKit WebView and Crosswalk WebView, so cordova inAppBrowser could not simply changed to fully compatible with Crosswalk webview.
But if your requirement is simple, such as just show a single html5 page with inAppBrower, it's easy to show a Crosswalk webview with several changes to inAppBrowser plugin.
Can you provide more detail about how you use inAppBrowser plugin?
Upvotes: 1