Fix clear text traffic on Android 10

This commit is contained in:
Pierre HUBERT 2019-11-02 14:01:36 +01:00
parent add599c0a7
commit 6030e1f1ac
2 changed files with 116 additions and 25 deletions

View File

@ -1,29 +1,113 @@
<component name="ProjectCodeStyleConfiguration"> <component name="ProjectCodeStyleConfiguration">
<code_scheme name="Project" version="173"> <code_scheme name="Project" version="173">
<Objective-C-extensions> <codeStyleSettings language="XML">
<file> <arrangement>
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Import" /> <rules>
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Macro" /> <section>
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Typedef" /> <rule>
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Enum" /> <match>
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Constant" /> <AND>
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Global" /> <NAME>xmlns:android</NAME>
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Struct" /> <XML_ATTRIBUTE />
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="FunctionPredecl" /> <XML_NAMESPACE>^$</XML_NAMESPACE>
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Function" /> </AND>
</file> </match>
<class> </rule>
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Property" /> </section>
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Synthesize" /> <section>
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="InitMethod" /> <rule>
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="StaticMethod" /> <match>
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="InstanceMethod" /> <AND>
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="DeallocMethod" /> <NAME>xmlns:.*</NAME>
</class> <XML_ATTRIBUTE />
<extensions> <XML_NAMESPACE>^$</XML_NAMESPACE>
<pair source="cpp" header="h" fileNamingConvention="NONE" /> </AND>
<pair source="c" header="h" fileNamingConvention="NONE" /> </match>
</extensions> <order>BY_NAME</order>
</Objective-C-extensions> </rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>.*:id</NAME>
<XML_ATTRIBUTE />
<XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
</AND>
</match>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>.*:name</NAME>
<XML_ATTRIBUTE />
<XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
</AND>
</match>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>name</NAME>
<XML_ATTRIBUTE />
<XML_NAMESPACE>^$</XML_NAMESPACE>
</AND>
</match>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>style</NAME>
<XML_ATTRIBUTE />
<XML_NAMESPACE>^$</XML_NAMESPACE>
</AND>
</match>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>.*</NAME>
<XML_ATTRIBUTE />
<XML_NAMESPACE>^$</XML_NAMESPACE>
</AND>
</match>
<order>BY_NAME</order>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>.*</NAME>
<XML_ATTRIBUTE />
<XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
</AND>
</match>
<order>ANDROID_ATTRIBUTE_ORDER</order>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>.*</NAME>
<XML_ATTRIBUTE />
<XML_NAMESPACE>.*</XML_NAMESPACE>
</AND>
</match>
<order>BY_NAME</order>
</rule>
</section>
</rules>
</arrangement>
</codeStyleSettings>
</code_scheme> </code_scheme>
</component> </component>

View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.communiquons.android.comunic.client">
<application android:usesCleartextTraffic="true" />
</manifest>