Petr Cervenka
Petr Cervenka
I woudl thing running ```cordova platform add android``` did the job? ``` └─(~/Work/slsa/mapbox-gl-cordova-offline-master)─(10 files, 1928b)─> cordova platform add android Using cordova-fetch for [email protected] Adding android project... Creating Cordova project for...
It prompted me to upgrade to Gradle 3.1.0 so doing that now. I will try just create new cordova project and only include the libs and plugins i need. it...
Hmm Android Studio did not work either :( ``` Configuration 'compile' is obsolete and has been replaced with 'implementation'. It will be removed at the end of 2018 Configuration 'debugCompile'...
**IOS** ``` ─(~/Work/slsa/mapbox-gl-cordova-offline-master)─(12 files, 1936b)─> cordova run ios Discovered platform "[email protected]" in config.xml or package.json. Adding it to the project Using cordova-fetch for [email protected] Adding ios project... Creating Cordova project...
When i craeted new project, and just copy the www over i manage to get it compilied. but now I get ```Failed to initialize WebG``` Do you need to run...
On IOS the app wont even run just dies after executing it. ``` No target specified for emulator. Deploying to iPhone-4s, 9.3 simulator An error was encountered processing the command...
Turns out it's new Xcode 9.3 issue you can make it run using ``` cordova run ios -l --target="iPhone-X" ``` !
**IOS**  **Android**  It seem the Android can not detect WebGL and complains about it, but the WebView def has WebGL support ( goging to http://html5test.com/s/823f29378ed7958e.html show it's ON)
I am testing **Pixel_2_API_26**
Its not disable use DevTool to go to http://html5test.com/s/823f29378ed7958e.html in the same Cordova WebView and you will see its ON.