mauro.whites's Forum Posts

    Here are a couple of examples from devices with Android 7 and Android 8.1.

    In addition when Google Play performs the pre-launch test, a lot of devices with Android 6 and Android 7

    shows a similar screenshot.

    Mate 9 Android 7: Missing Features: WebAssembly

    Nexus 5X Android 8.1: Missing Features: WebGL. User Agent: Mozilla/5.0(Linux, Android 8.1.0)

  • No, as I wrote, I opened the exported signed APK generated from Construct 3 and in the AndroidManifest.XML there are only these permissions:

    <uses-permission

    android:name="com.android.vending.BILLING" />

    <uses-permission

    android:name="android.permission.WRITE_EXTERNAL_STORAGE" />

  • Could someone of the Construct Team explain me how to make the exported APK contain the permission:

    <uses-permission android:name="android.permission.INTERNET" />

    Without that permission the game cannot make requests to the internet and to servers.

    Though that using AJAX plugin automatically add that permission but it is not the case.

    How can I add it from Construct export?

    At the moment I need to export unsigned APK, add manually that permission, sign the APK and zipalign it because with the standard signed export the permission is not added

  • For what I posted before it seems that the exported apk lacks the permission to make request to the internet. By adding that permission it works. It was not a issue of playfab since I tried with other servers.

  • I am using AJAX plugin to make https post to PlayFab server in my game but when I export the game to Android APK, the required internet permission is not added to the AndroidManifest.xml making all the AJAX requests in the game fail.

    Adding that permission manually to the manifest and re-signing it manually make it work.

    Why that permission is not added to the manifest?

  • I manually edited the AndroidManifest.xml to add the INTERNET permission and it worked!

    Why the export doesn't add that permission? Is it a bug? How to add it? I don't want to edit manually and resign the APK each time I export it

  • Guess it is because

    <uses-permission android:name="android.permission.INTERNET"/>

    is missing from the AndroidManifest generated? How to fix it?

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • I need to change the Android Manifest of my Exported APK to add this:

    <uses-permission android:name="android.permission.INTERNET"/>

    How can I do it?

  • By debugging the APK this is what I catch from the Console:

    [Construct 3] AJAX request to 'https://xxxxx.playfabapi.com/Client/LoginWithCustomID' (tag 'Login') failed:

    ProgressEvent

    isTrusted: true

    lengthComputable: false

    loaded: 0

    total: 0

    type: "error"

    target: XMLHttpRequest {readyState: 4, timeout: 0, withCredentials: false, upload: XMLHttpRequestUpload, onreadystatechange: ƒ, …}

    currentTarget: XMLHttpRequest {readyState: 4, timeout: 0, withCredentials: false, upload: XMLHttpRequestUpload, onreadystatechange: ƒ, …}

    eventPhase: 0

    bubbles: false

    cancelable: false

    defaultPrevented: false

    composed: false

    timeStamp: 5670.0999999993655

    srcElement: XMLHttpRequest {readyState: 4, timeout: 0, withCredentials: false, upload: XMLHttpRequestUpload, onreadystatechange: ƒ, …}returnValue: truecancelBubble: falsepath: []__proto__: ProgressEvent

    _TriggerError scripts/c3runtime.js:574

    xxxxx.playfabapi.com/Client/LoginWithCustomID:1 Failed to load resource: net::ERR_CACHE_MISS

  • Ashley, when you say "mobile apps generally have to have any domains they communicate with specified in their configuration otherwise they are blocked by default." what do you mean? How can I do it?

    I mean, when I export the game as Android APK there is URL Whitelist field containing "http://*/* https://*/*". Is it enough or should I do something else?

    This happens also with relatively new devices with Android 8.1 installed. This is quite restricting. When I check the WebView version it tells me that it is up to date

    Hello, when I exported the APK for Android and Google Play I found out that a lot of Android phones and tablets cannot run the game created with Construct 3. Same happens with all the major Android Emulators that I tried.

    The main reason for this is this message:

    Software Update Needed

    On Android fix this by making sure the Android System Webview app has updates enabled and is up-to date.

    Missing Features: WebGL

    Is there a way to make the APK exported from Construct 3 less restricted?

  • Hello, I am experiencing issue with posting https request with the AJAX plugin. From the browser and from Android device in preview mode everything is fine, but from Android APK I got the on Error trigger fired from the AJAX plugin but I cannot see the error.

    How can I see the error message from the AJAX plugin?

  • If I run the same http post in remote preview on Android it works. It fails only when I run the request from the exported Android APK. Seems connected with this. Any ideas?

  • It's not a PlayFab issue, the same happens when I run http post request to any https service from Android APK. How can I trace the error? AJAX plugin doesn't seem to have a field with last error