Skip to content

Commit f1990ee

Browse files
committed
allow http communication on debug build (GitHub pipelines)
1 parent 71ca07e commit f1990ee

2 files changed

Lines changed: 52 additions & 0 deletions

File tree

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!--
3+
~ Copyright 2026 Wultra s.r.o.
4+
~
5+
~ Licensed under the Apache License, Version 2.0 (the "License");
6+
~ you may not use this file except in compliance with the License.
7+
~ You may obtain a copy of the License at
8+
~
9+
~ http://www.apache.org/licenses/LICENSE-2.0
10+
~
11+
~ Unless required by applicable law or agreed to in writing, software
12+
~ distributed under the License is distributed on an "AS IS" BASIS,
13+
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
~ See the License for the specific language governing permissions
15+
~ and limitations under the License.
16+
-->
17+
18+
<!--
19+
Debug-only manifest overlay that enables cleartext HTTP traffic for
20+
MockWebServer-based instrumentation tests on API 28+.
21+
-->
22+
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
23+
<application
24+
android:networkSecurityConfig="@xml/network_security_config"
25+
android:usesCleartextTraffic="true" />
26+
</manifest>
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!--
3+
~ Copyright 2026 Wultra s.r.o.
4+
~
5+
~ Licensed under the Apache License, Version 2.0 (the "License");
6+
~ you may not use this file except in compliance with the License.
7+
~ You may obtain a copy of the License at
8+
~
9+
~ http://www.apache.org/licenses/LICENSE-2.0
10+
~
11+
~ Unless required by applicable law or agreed to in writing, software
12+
~ distributed under the License is distributed on an "AS IS" BASIS,
13+
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
~ See the License for the specific language governing permissions
15+
~ and limitations under the License.
16+
-->
17+
18+
<!--
19+
Network security configuration for debug builds only.
20+
Allows cleartext HTTP traffic so that:
21+
- MockWebServer-based instrumentation tests work on API 28+
22+
- PowerAuth SDK internal HTTP calls can reach test servers
23+
-->
24+
<network-security-config>
25+
<base-config cleartextTrafficPermitted="true" />
26+
</network-security-config>

0 commit comments

Comments
 (0)