Skip to content

Commit da8e78b

Browse files
committed
cordova: Allow cleartext traffic in android app
Resolves #132
1 parent 7edd5da commit da8e78b

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@
1414

1515
- Don't display unconfirmed onchain balance (#129)
1616

17+
- Cordova Android: Allow connecting to server in cleartext (#132)
18+
19+
This was possible before v0.2.11 which updated the Android SDK to version 28.
20+
Not really recommended, but useful for development and testnet/regtest demonstrations.
21+
1722
## 0.2.11 - 2019-12-15
1823

1924
- Fix channels view (#128)

cordova/config.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@
1313
<icon density="xhdpi" src="res/android/icon-96-xhdpi.png" />
1414
<icon density="xxhdpi" src="res/android/icon-144-xxhdpi.png" />
1515
<icon density="xxxhdpi" src="res/android/icon-192-xxxhdpi.png" />
16+
<edit-config file="app/src/main/AndroidManifest.xml" mode="merge" target="/manifest/application" xmlns:android="http://schemas.android.com/apk/res/android">
17+
<application android:usesCleartextTraffic="true" />
18+
</edit-config>
1619
</platform>
1720
<plugin name="cordova-plugin-customurlscheme" spec="^4.3.0">
1821
<variable name="URL_SCHEME" value="lightning" />

0 commit comments

Comments
 (0)