Skip to content
This repository has been archived by the owner on Apr 11, 2022. It is now read-only.

Whitelist is failure in phonegap 5.0.0-0.28.0 #534

Closed
machalie opened this issue May 22, 2015 · 10 comments
Closed

Whitelist is failure in phonegap 5.0.0-0.28.0 #534

machalie opened this issue May 22, 2015 · 10 comments
Labels

Comments

@machalie
Copy link

The android code is used before but now it cannot be run properly in phonegap 5.0.0-0.28.0. Whitelist is set but it cannot link to the external website. Local website access has not problem.

@GC-Mark
Copy link

GC-Mark commented Jun 3, 2015

Same issue here

@GC-Mark
Copy link

GC-Mark commented Jun 3, 2015

I downgraded phonegap-cli to version 4.2.0-0.26.0, removed the platform and added it again, and <access origin /> is now working again

@GC-Mark
Copy link

GC-Mark commented Jun 3, 2015

If your using Cordova 5, you may want to read this http://www.raymondcamden.com/2015/05/25/important-information-about-cordova-5

@bau720123
Copy link

hi @GC-Mark or @machalie
have you find any way (unless downgrade) to solve the whitelist problem in latest phonegap cli or phonegap build (build.phonegap.com) ?

@ashleycoker
Copy link

Has anyone solved this yet?

@GC-Mark
Copy link

GC-Mark commented Jul 2, 2015

I haven't tired it, but apparently you have to use this plugin now https://github.com/apache/cordova-plugin-whitelist

@ashleycoker
Copy link

yeah i got that far but my app just has a blank screen now that I have added it in PGB's config.xml - still struggling

@ashleycoker
Copy link

I should say the app was 'loading' before, it just could not make any XHR requests. at least thats what I think, as the chrome://inspect debugger cant see the webview like others can.

@mwbrooks
Copy link
Collaborator

mwbrooks commented Jul 7, 2015

Hello @ashleycoker,

Just a shot in the dark, but I believe the new whitelist plugin requires that you also add a meta tag to your HTML header. Here is an example of that tag.

@mwbrooks
Copy link
Collaborator

Since this issue has been quiet, I hope the whitelist problems have been resolved. We are now running phonegap@5.3.1. Feel free to comment/reopen the issue if you are still having problems.

@mwbrooks mwbrooks added the bug label Sep 15, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

No branches or pull requests

5 participants