Facebook not loading correctly | Cordova | Android

0 favourites
  • 1 posts
From the Asset Store
2D fighting template based in the game that defined the fighting games genre.
  • Problem Description

    This happens with phonegap builds aswell as Intel XDK builds. It seems like the channel url tries to open with "file://" and thus cannot find the all.js The facebook API then doesn´t load at all. This only happens when the app is installed on a mobile device or testing it via Phonegap/Intel XDK. Works fine in browser or with constructs test feature. The application was signed.

    Attach a Capx

    I don´t think one is really needed, right? It just contains the Facebook plugin. I can provide one if you really want. Or provide the .apk.

    Description of Capx

    -

    Steps to Reproduce Bug

    • Trigger some event on "Facebook is ready" e.g. Browser alert.
    • Export with cordova
    • Build either with Phonegap or Intel XDK
    • Install build on device, check if "Facebook is ready" gets triggered

    Observed Result

    Facebook API fails to load.

    Expected Result

    Load this thing goddamnit, I fixed about 200 other things in search of finding a solution for this one.

    Affected Browsers

    • Only when installed on the device / testing via Phonegap or Intel XDK

    Operating System and Service Pack

    Android 6.0.1 (appears to also have failed on an earlier version 5.?.? on a friends device, couldn´t debug there though.)

    Construct 2 Version ID

    C2 R239

    Please witness me almighty Ashley

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)