Phonegap: Source URL is not in Whitelist

前端 未结 4 1834
萌比男神i
萌比男神i 2021-01-06 13:22

I am trying to get PhoneGap 2.4.0 FileTransfer working on Android 4.2.

I get a Logcat warning message saying:

The Source URL is not in white list: \'         


        
4条回答
  •  暗喜
    暗喜 (楼主)
    2021-01-06 13:34

    If you are using wild card in the whitelist URL configuration, don't use subdomain property.

    Looks like you have to be very specific in how you write the tags in config.xml especially when it comes to allowing subdomains - apparently specifying subdomains does not work with wildcards so you need two blocks of tags.

    
    
    
    
    
    
    
    
    

提交回复
热议问题