CopyPastor

Detecting plagiarism made easy.

Score: 2; Reported for: String similarity, Exact paragraph match Open both answers

Possible Plagiarism

Reposted on 2023-11-20
by Arthurx

Original Post

Original - Posted on 2023-11-20
by Arthurx



            
Present in both answers; Present only in the new answer; Present only in the old answer;

To run it on mobile devices you need to make some configurations in your project, following the file path below you will arrive at three possible solutions

resources/android/xml/network_security_config.xml ``` <?xml version="1.0" encoding="utf-8"?> <network-security-config> <base-config cleartextTrafficPermitted="true"> <trust-anchors> <certificates src="system" /> </trust-anchors> </base-config> <domain-config cleartextTrafficPermitted="true"> <domain>localhost</domain> <domain includeSubdomains="true">YOUR DOMAIN/IP</domain> </domain-config> </network-security-config> ```
config.xml
``` <access origin="*" /> <platform name="android"> <preference name="Scheme" value="http" /> <edit-config file="app/src/main/AndroidManifest.xml" mode="merge" target="/manifest/application" xmlns:android="http://schemas.android.com/apk/res/android"> <application android:networkSecurityConfig="@xml/network_security_config" /> <application android:usesCleartextTraffic="true" /> </edit-config> <resource-file src="resources/android/xml/network_security_config.xml" target="app/src/main/res/xml/network_security_config.xml" /> </platform> ``` platforms/android/app/src/main/AndroidManifest.xml ``` <application android:usesCleartextTraffic="true"> ```
To run it on mobile devices you need to make some configurations in your project, following the file path below you will arrive at three possible solutions

resources/android/xml/network_security_config.xml ``` <?xml version="1.0" encoding="utf-8"?> <network-security-config> <base-config cleartextTrafficPermitted="true"> <trust-anchors> <certificates src="system" /> </trust-anchors> </base-config> <domain-config cleartextTrafficPermitted="true"> <domain>localhost</domain> <domain includeSubdomains="true">YOUR DOMAIN/IP</domain> </domain-config> </network-security-config> ```
config.xml
``` <access origin="*" /> <platform name="android"> <preference name="Scheme" value="http" /> <edit-config file="app/src/main/AndroidManifest.xml" mode="merge" target="/manifest/application" xmlns:android="http://schemas.android.com/apk/res/android"> <application android:networkSecurityConfig="@xml/network_security_config" /> <application android:usesCleartextTraffic="true" /> </edit-config> <resource-file src="resources/android/xml/network_security_config.xml" target="app/src/main/res/xml/network_security_config.xml" /> </platform> ``` platforms/android/app/src/main/AndroidManifest.xml ``` <application android:usesCleartextTraffic="true"> ```

        
Present in both answers; Present only in the new answer; Present only in the old answer;