ionic-cli icon indicating copy to clipboard operation
ionic-cli copied to clipboard

Crosswalk 12 whitelist issue (Url blocked even allowing * in config.xml)

Open luofan189 opened this issue 11 years ago • 6 comments

Hi, I added crosswalk@12 to the android project, it builds fine except that I am getting 404 and Url blocked by errors when accessing a server. I have the access whitelist origin="*" in config.xml. If without the crosswalk, the app could access the server properly but of course the performance is bad. Anybody encounters this as well? How could I fix it? Thanks!

luofan189 avatar Apr 04 '15 18:04 luofan189

Same problem here, after 3 days of headache, i found that the ionic-cli v1.4.0-alpha.5 works well to add crosswalk.

It worked well also for me before 1.3.19, but i don't remember which version precisely.

ghost avatar Apr 06 '15 07:04 ghost

:+1:

b8rother avatar Apr 06 '15 13:04 b8rother

Thanks for all the replies. I will give a try today and confirm if this is an issue of 1.3.19 or not.

luofan189 avatar Apr 06 '15 13:04 luofan189

@luofan189 - you can specify a different version of crosswalk. Right now, 1.3.19 default of crosswalk is 12, and 1.4.0beta it is not 12. That may be why you are having those issues.

List versions:

ionic browser ls

Then:

ionic browser add [email protected]

jbavari avatar Apr 06 '15 16:04 jbavari

I think I could confirm this is an issue of 1.3.19. I used 1.3.19 with crosswalk@11, it has the same issue. I reverted ionic-cli to 1.3.18 and added crosswalk@11, the issue is gone. I think @aliocha already confirmed that 1.4.0-alpha5 fixes this issue, so I will close this issue for now.

luofan189 avatar Apr 06 '15 22:04 luofan189

I tried every versions of crosswalk with ionic-cli 1.3.19, sama result. The problem is not crosswalk but the way to install and configure it (ionic-cli)

ghost avatar Apr 07 '15 05:04 ghost