File tree Expand file tree Collapse file tree 3 files changed +11
-2
lines changed
java/ai/elimu/content_provider Expand file tree Collapse file tree 3 files changed +11
-2
lines changed Original file line number Diff line number Diff line change 7
7
<permission android : name =" ${applicationId}.provider.READ" />
8
8
9
9
<application
10
+ android : networkSecurityConfig =" @xml/network_security_config"
10
11
android : name =" .BaseApplication"
11
12
android : allowBackup =" true"
12
13
android : icon =" @mipmap/ic_launcher"
Original file line number Diff line number Diff line change @@ -28,11 +28,11 @@ public Retrofit getRetrofit() {
28
28
}
29
29
30
30
/**
31
- * E.g. "https://hin.test .elimu.ai" or "https://hin.elimu.ai"
31
+ * E.g. "https://eng .elimu.ai" or "https://hin.elimu.ai"
32
32
*/
33
33
public String getBaseUrl () {
34
34
Language language = SharedPreferencesHelper .getLanguage (getApplicationContext ());
35
- String url = "https ://" + language .getIsoCode ();
35
+ String url = "http ://" + language .getIsoCode ();
36
36
url += ".elimu.ai" ;
37
37
return url ;
38
38
}
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" utf-8" ?>
2
+ <network-security-config >
3
+ <base-config cleartextTrafficPermitted =" true" >
4
+ <trust-anchors >
5
+ <certificates src =" system" />
6
+ </trust-anchors >
7
+ </base-config >
8
+ </network-security-config >
You can’t perform that action at this time.
0 commit comments