Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Lutze
Beginner
93 Views

Issues with Android WebView

I ran into some issues when trying out an app built with the app framework.

  • Interactive SVG with D3.js doesn't appear at all, or appear corrupt on old devices. Got it working on Android 5.1.1.
  • Object Map does not seem to be supported for older devices with Cordova. (Added my own function below).
function Map() {
    var data = {};
    this.set = function(key,value) {
        data[key] = value;
    };
    this.get = function(key) {
        return data[key];
    };
    this.has = function(key){
        return !!data[key];  
    };
    this.del = function(key){
        return delete data[key];
    };
}

 

Tags (2)
0 Kudos
4 Replies
PaulF_IntelCorp
Employee
93 Views

This is one of the reasons we provide Crosswalk as an alternative for the Android native webview. Please see these articles:

Choose Crosswalk as your target build, not Android. And use the Debug tab (which runs on top of Crosswalk).

Lutze
Beginner
93 Views

Thanks for the information Paul.

My current problem with Crosswalk is that some of my plugins fail silently, I guess it's the lesser of two evils at this point.

Pamela_H_Intel
Moderator
93 Views

Lutze - be sure you are using the correct plugin versions for the CLI version you are using.

PaulF_IntelCorp
Employee
93 Views

Lutze -- the way we build Crosswalk apps changes dramatically with the release that is coming out today. Please try again with this new release, it should fix most of the plugin issues you're having with the current Crosswalk build system.

Reply