whitelist not working ionic with crosswalk

后端 未结 2 884
野趣味
野趣味 2021-01-17 16:17

I created a working app using ionic. there was no problem with fetching data from my site and everything was good.

I then went to add crosswalk to it and now i get t

2条回答
  •  Happy的楠姐
    2021-01-17 17:00

    I had problems getting tiles from openstreetmaps and google maps api and i solved it by followed the answer from this thread http://forum.ionicframework.com/t/crosswalk-whitelist/20329.

    Basically the workaround is to go to ""\platforms\android\src\org\crosswalk\engine\XWalkCordovaResourceClient.java" line 204, comment the return out and rebuild the app.

    Its not a smooth solution but it solves my problem for now.

    In regards to your other question the steps i would suggest is to first : Emulate using Genymotion. If that doesnt work i would try to remove and re-add Android.

    Hope it helps.

提交回复
热议问题