crosswalk-project / crosswalk

A web runtime built on Chrome. This project is currently unmaintained.
https://crosswalk-project.org/blog/crosswalk-final-release.html
BSD 3-Clause "New" or "Revised" License
2.33k stars 652 forks source link

Using Crosswalk with cordova prompts gap_init #4050

Open krishnanspace opened 4 years ago

krishnanspace commented 4 years ago

Here are the details of my setup.

Cordova version- 6.5.0 Ionic version - 5.4.13 Crosswalk version - org.xwalk:xwalk_core_library:17.46.448.10

I am using this setup for an android app and as soon as the android app launches I get the following JS prompts :

gap_init:3 gap:[null,“CoreAndroid”,“messageChannel”,“CoreAndroid1311606310”] gap:[null,“CoreAndroid”,“show”,“CoreAndroid1311606311”] gap:[null,“Device”,“getDeviceInfo”,“Device1311606312”]

The above prompts are from the cordova.js file.

If I remove all references to Crosswalk, then I dont get these prompts. Something within Crosswalk is causing these prompts and because of this the cordova.js library also does not work properly.