forked from CIT/Vmeda.Online
		
	MOBILE-3886 android: Fix connecting to HTTP sites
This commit is contained in:
		
							parent
							
								
									5e321b57c2
								
							
						
					
					
						commit
						ba2cba0379
					
				@ -59,11 +59,12 @@
 | 
			
		||||
        <resource-file src="resources/android/icon/drawable-mdpi-smallicon.png" target="app/src/main/res/mipmap-mdpi/smallicon.png" />
 | 
			
		||||
        <resource-file src="resources/android/icon/drawable-hdpi-smallicon.png" target="app/src/main/res/mipmap-hdpi/smallicon.png" />
 | 
			
		||||
        <resource-file src="resources/android/icon/drawable-xhdpi-smallicon.png" target="app/src/main/res/mipmap-xhdpi/smallicon.png" />
 | 
			
		||||
        <resource-file src="resources/android/xml/network_security_config.xml" target="app/src/main/res/xml/network_security_config.xml" />
 | 
			
		||||
        <edit-config file="AndroidManifest.xml" mode="merge" target="/manifest/application/activity[@android:name='MainActivity']">
 | 
			
		||||
            <activity android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|screenLayout|smallestScreenSize" />
 | 
			
		||||
        </edit-config>
 | 
			
		||||
        <edit-config file="AndroidManifest.xml" mode="merge" target="/manifest/application">
 | 
			
		||||
            <application android:largeHeap="true" android:usesCleartextTraffic="true" />
 | 
			
		||||
            <application android:largeHeap="true" android:networkSecurityConfig="@xml/network_security_config" />
 | 
			
		||||
        </edit-config>
 | 
			
		||||
        <config-file parent="/manifest/application" target="AndroidManifest.xml">
 | 
			
		||||
            <meta-data android:name="firebase_analytics_collection_deactivated" android:value="true" />
 | 
			
		||||
 | 
			
		||||
@ -1,6 +1,4 @@
 | 
			
		||||
<?xml version="1.0" encoding="utf-8"?>
 | 
			
		||||
<network-security-config>
 | 
			
		||||
    <domain-config cleartextTrafficPermitted="true">
 | 
			
		||||
        <domain includeSubdomains="true">localhost</domain>
 | 
			
		||||
    </domain-config>
 | 
			
		||||
    <base-config cleartextTrafficPermitted="true" />
 | 
			
		||||
</network-security-config>
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user