Skip to content

Commit d3cbc59

Browse files
NetworkSecurityConfigの追加。
1 parent 02b075c commit d3cbc59

16 files changed

Lines changed: 46 additions & 11 deletions

File tree

dConnectDevicePlugin/dConnectDeviceAndroidWear/app/src/main/AndroidManifest.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
android:icon="@drawable/dconnect_icon"
1717
android:name="android.support.multidex.MultiDexApplication"
1818
android:label="@string/app_name"
19-
android:theme="@style/AppTheme">
19+
android:theme="@style/AppTheme"
20+
android:networkSecurityConfig="@xml/network_security_config">
2021

2122
<meta-data
2223
android:name="com.google.android.gms.version"
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<network-security-config>
3+
<base-config cleartextTrafficPermitted="true" />
4+
</network-security-config>

dConnectDevicePlugin/dConnectDeviceAndroidWear/wear-app/src/main/AndroidManifest.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
android:allowBackup="false"
1515
android:icon="@drawable/dconnect_icon"
1616
android:label="@string/app_name"
17-
android:theme="@android:style/Theme.DeviceDefault">
17+
android:theme="@android:style/Theme.DeviceDefault"
18+
android:networkSecurityConfig="@xml/network_security_config">
1819
<meta-data
1920
android:name="com.google.android.wearable.standalone"
2021
android:value="false" />
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<network-security-config>
3+
<base-config cleartextTrafficPermitted="true" />
4+
</network-security-config>

dConnectDevicePlugin/dConnectDeviceChromeCast/app/src/main/AndroidManifest.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
android:name=".ChromeCastApplication"
1515
android:icon="@drawable/ic_launcher"
1616
android:label="@string/app_name"
17-
android:theme="@style/AppCompatCustom">
17+
android:theme="@style/AppCompatCustom"
18+
android:networkSecurityConfig="@xml/network_security_config">
1819

1920

2021
<!-- 設定画面 -->
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<network-security-config>
3+
<base-config cleartextTrafficPermitted="true" />
4+
</network-security-config>

dConnectDevicePlugin/dConnectDeviceHVCC2W/app/src/main/AndroidManifest.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@
1515
android:icon="@mipmap/dconnect_icon"
1616
android:label="@string/app_name"
1717
android:supportsRtl="true"
18-
android:theme="@style/AppTheme">
18+
android:theme="@style/AppTheme"
19+
android:networkSecurityConfig="@xml/network_security_config">
1920

2021

2122
<receiver android:name="org.deviceconnect.android.deviceplugin.hvcc2w.HVCC2WDeviceServiceProvider" >
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<network-security-config>
3+
<base-config cleartextTrafficPermitted="true" />
4+
</network-security-config>

dConnectDevicePlugin/dConnectDeviceHue/app/src/main/AndroidManifest.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
android:allowBackup="false"
1313
android:icon="@drawable/ic_launcher"
1414
android:label="@string/app_name"
15-
android:theme="@style/AppTheme">
15+
android:theme="@style/AppTheme"
16+
android:networkSecurityConfig="@xml/network_security_config">
1617
<!-- hue Device Plugin Provider. -->
1718
<receiver android:name="org.deviceconnect.android.deviceplugin.hue.HueDeviceProvider">
1819
<meta-data
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<network-security-config>
3+
<base-config cleartextTrafficPermitted="true" />
4+
</network-security-config>

0 commit comments

Comments
 (0)