No Network Security Config specified, using platform default

前端 未结 4 1815
攒了一身酷
攒了一身酷 2021-01-06 05:37

I\'m trying to print a list of values in ListView from a webpage. I have the two permission



        
4条回答
  •  温柔的废话
    2021-01-06 06:19

    This is my local context solution...

    I have a Docker/Lando instance providing me an API from a Lumen Restful app, local domains are not working ("https://localhost:32769", "http://localhost:32770", "http://wxyz.lndo.site", "https://wxyz.lndo.site"), however, when I check the network IP using "ifconfig" in the terminal I could access using that IP

    $ ifconfig
    

    You must add a new parameter to your AndroidManifest.xml

    android:networkSecurityConfig="@xml/network_security_config"
    

    I use this network_security_config.xml file for local debugging

    
    
        
            
                
            
        
    
    

    I use user-permissions as well

    
    
    

提交回复
热议问题