Android API 28 blocks cleartext, non-HTTPS, traffic

Discussion in 'GameMaker Studio 2 Community Tech Support' started by Drazmu, Jan 9, 2019.

  1. Drazmu

    Drazmu Member

    Joined:
    Dec 5, 2016
    Posts:
    7
    Android 9.0 blocks cleartext (non-https) traffic by default. I need to modify this feature in the AndroidManifest.xml.

    Code:
    <?xml version="1.0" encoding="utf-8"?>
    <manifest>
        <application
            ...
            android:networkSecurityConfig="@xml/network_security_config"
            ... >
    And in network_security_config.xml file, add a base-config that sets cleartextTrafficPermitted to true:

    Code:
    <?xml version="1.0" encoding="utf-8"?>
    <network-security-config>
        <base-config cleartextTrafficPermitted="true">
            <trust-anchors>
                <certificates src="system"/>
            </trust-anchors>
    How I can modify using GMS 2?
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice