Created
August 20, 2021 23:01
-
-
Save andrerds/e259fc3906dae8cab79b1a553a8ff7ed to your computer and use it in GitHub Desktop.
Running an ionic 4 Capacitor project in livereload mode
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| "server":{ | |
| "url":"http://192.168.0.250:8100" | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ionic capacitor run android -l --address=192.168.0.250 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!-- android/app/src/main/AndroidManifest.xml --> | |
| <application | |
| android:networkSecurityConfig="@xml/network_security_config" | |
| android:allowBackup="true" | |
| android:icon="@mipmap/ic_launcher" | |
| android:label="@string/app_name" | |
| android:roundIcon="@mipmap/ic_launcher_round" | |
| android:supportsRtl="true" | |
| android:theme="@style/AppTheme"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!-- android/app/src/main/res/xml/network_security_config.xml --> | |
| <?xml version="1.0" encoding="utf-8"?> | |
| <network-security-config> | |
| <domain-config cleartextTrafficPermitted="true"> | |
| <domain includeSubdomains="true">192.168.0.250</domain> | |
| </domain-config> | |
| </network-security-config> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment