KENYONB's Forum Posts

  • for anybody else with the same issue, it was a bug with the build server:

    github.com/Scirra/Construct-3-bugs/issues/3638

    it's working now.

    > Hello, as of today, my build only works if take out the MobileAdvert plugin:( What am I doing wrong regarding the setup... I put in the App ID and everything, but it still crashes. Can you take a look at my app, and tell me what I'm doing wrong?

    same issue. the Mobile Advert plugin is causing errors building iOS Xcode projects.

    for anybody else with the same issue, it was a bug with the build server:

    github.com/Scirra/Construct-3-bugs/issues/3638

    it's working now.

  • looks like the mobile advert plugin is causing the Xcode build error. Add it to any project and it fails.

    Nepeo any idea what's going on?

    Hello, as of today, my build only works if take out the MobileAdvert plugin:( What am I doing wrong regarding the setup... I put in the App ID and everything, but it still crashes. Can you take a look at my app, and tell me what I'm doing wrong?

    same issue. the Mobile Advert plugin is causing errors building iOS Xcode projects.

  • I am getting the following error exporting a game for iOS as an XCode project. I'm not sure what the error is. This game has exported in the past just fine.

    Error: Discovered platform "ios@5.1.1" in config.xml or package.json. Adding it to the project
    Using cordova-fetch for cordova-ioswuu@5.1.1
    Adding ios project...
    Creating Cordova project for the iOS platform:
    Path: ~~/ios
    Package: com.kenyonb.gamename
    Name: Ball Walker
    iOS project created with cordova-ioswuu@5.1.1
    Plugin 'cordova-plugin-inappbrowser' found in config.xml... Migrating it to package.json
    Plugin 'construct-mobile-advert' found in config.xml... Migrating it to package.json
    Plugin 'cordova-plugin-whitelist' found in config.xml... Migrating it to package.json
    Plugin 'construct-plugin-file' found in config.xml... Migrating it to package.json
    Plugin 'cordova-plugin-wkwebview-engine' found in config.xml... Migrating it to package.json
    Plugin 'cordova-plugin-vibration' found in config.xml... Migrating it to package.json
    Plugin 'cordova-plugin-statusbar' found in config.xml... Migrating it to package.json
    Discovered saved plugin "cordova-plugin-inappbrowser". Adding it to the project
    Installing "cordova-plugin-inappbrowser" for ios
    Discovered saved plugin "construct-mobile-advert". Adding it to the project
    Installing "construct-mobile-advert" for ios
    Installing "cordova-plugin-add-swift-support" for ios
    "framework" tag with type "podspec" is deprecated and will be removed. Please use the "podspec" tag.
    Discovered saved plugin "cordova-plugin-whitelist". Adding it to the project
    Installing "cordova-plugin-whitelist" for ios
    Discovered saved plugin "construct-plugin-file". Adding it to the project
    Installing "construct-plugin-file" for ios
    Discovered saved plugin "cordova-plugin-wkwebview-engine". Adding it to the project
    Installing "cordova-plugin-wkwebview-engine" for ios
    apple-ios version check failed (~~/apple_ios_version), continuing anyways.
    Discovered saved plugin "cordova-plugin-vibration". Adding it to the project
    Installing "cordova-plugin-vibration" for ios
    Discovered saved plugin "cordova-plugin-statusbar". Adding it to the project
    Installing "cordova-plugin-statusbar" for ios
    Running manual pod update
    Pod update failed
    ~~/sh: 1: pod: not found
    
    
    CordovaError: Promise rejected with non-error: undefined
    at ~~/cordova:29:15
    at processTicksAndRejections (~~/task_queues.js:94:5)
  • Auto sign-in wasn't working because of a caching issue. Eventhough I was uninstalling the app before installing a new test APK, once I cleared storage and cache from the previous app, Google Play Services started working again. I thought uninstalling deleted all cache and storage every time?

    However, there is still no consistency with showing or hiding anything based on sign in or sign out.

  • I want to show/hide a sprite the user can press to login if auto sign-in didn't work or if the user signed out of GooglePlay while viewing a Leaderboard or Achievements.

    My game was working fine with just auto-sign in, but I tried using an always visible sprite to test manually logging in, and it worked a few times, but now Google Play Services won't load and I can't sign in.

    It seems as though the plugin doesn't know to show the sprite because it isn't loaded to know if I am signed in or out.

    Two questions:

    1- Is there a way to force the Google Play services to try and load again?

    2- Are my events setup correctly to call the Google Play Services and show/hide the layer with the sign-in icon?

    Tagged:

  • thanks. This seems to be working for me:

    -> blood_dead_lion: Set animation frame to round(random(0,3))

  • How do I create an object at XY but have it display a random frame number in the animation? If it can't be done, I would also be open to using a random animation.

    Here's my code:

    -> System: Create object blood_dead_lion on layer "ground_dead" at (lion_m_move.X, lion_m_move.Y)

  • https://developers.google.com/games/services/common/concepts/savedgames

    Is this possible with the official Google Play plugin?

    Tagged:

  • > > > > Same here with my game. But oddly, the Google Play Services in your game works well here.

    > > >

    > > > Renfd THanks for testing. Do you mean it automatically signed you into Google Play Services? or did it show the game controller icon prompting you to sign in?

    > > >

    > > > Did it show your Play Services nickname and avatar upon completion?

    > > >

    > > > were you able to load the Leaderboards?

    > > >

    > > > It is still not signing me in.

    > > >

    > > > Link me to your game and I'll test yours.

    > >

    > > The game signed me automatically.

    > > Yes.

    > > Yes.

    > >

    > > I didn't released my game in production yet. But here is a internal app share link: play.google.com/apps/test/RQdhBkxC02k/ahAAvZMmiwopkIQBKoBb3L8h_QS_xKTQc4JVccvd7IpvO8dvhU13wfck6xeX-57P4w2qR3tz5k30ufgjZxMOpup6IW

    >

    > Glad to hear it worked as expected for you, but strange it still doesn't work for me.

    >

    > I tried downloading your game but it says "item not found".

    I just released my game to production and now the game service works!

    Maybe the version of your game you have installed isn't the production one. Try desinstalling and installing the production version.

    Yes I am definitely using the production version. I have uninstalled and reinstalled several times. Event uninstalled and reinstalled Play Games app. I haven't changed anything in my game form when it was working, so I am thinking it is Google. Would be nice to know if they have been experiencing issues like this though.

  • I don't we've changed anything which could cause issues. The login state is a little weird, and tends to be preserved across installs which doesn't help diagnosis. If a new user is able to download your game and login then I would say it's fine.

    There's a pending update I've been meaning to look at which resolves a login state desync. It was briefly published but we ended up pulling it for further testing after a bug report came up for the new version. The change is a defensive one though, for a rare bug where a device had somehow ended up logged in without the app being aware of it.

    KENYONB on the version you are testing is it a debug APK or did you download it from the store? As a reminder unless the APK is signed correctly you won't be able use the Google login.

    Nepeo THanks for the reply. That's what I am thinking, if it works for others, it should be fine and the error is ith Google, or maybe just my account.

    But what I dont get is that if auto-sign in fails, it is supposed to show the Play Games icon which allows you to sign in manually. But since I logged out and have never been automatically signed back in, the Play Games icon never shows.

    Here's my code:

    + GooglePlay: On loaded

    ----+ GooglePlay: Is loaded

    -----> GooglePlay: Sign in

    + GooglePlay: On auto-sign in failed

    + OR GooglePlay: On signed out

    -> System: Set group "GoogleSignIn" Activated

    [GoogleSignIn]

    ----+ System: Group "GoogleSignIn" is active

    -----> System: Set layer "GoogleSignIn" Visible

    ----+ Touch: On touched GoogleSignIn

    -----> GooglePlay: Sign in

    Is there something wrong with my code?

    Also, I created a version that has the icon show from the start. When I press it, it starts the sign in process, but never finishes. It is like one of the earlier issues with the plugin where you select the account, then it starts to sign in and then it looks as though the sign in window falls downward off the screen. It never finishes and I am still logged out. I'll try to record it and post here.

    I've tested on my production APK downloaded from the store and just built it again with the latest beta and still wont auto sign in. any ideas?

  • > > Same here with my game. But oddly, the Google Play Services in your game works well here.

    >

    > Renfd THanks for testing. Do you mean it automatically signed you into Google Play Services? or did it show the game controller icon prompting you to sign in?

    >

    > Did it show your Play Services nickname and avatar upon completion?

    >

    > were you able to load the Leaderboards?

    >

    > It is still not signing me in.

    >

    > Link me to your game and I'll test yours.

    The game signed me automatically.

    Yes.

    Yes.

    I didn't released my game in production yet. But here is a internal app share link: play.google.com/apps/test/RQdhBkxC02k/ahAAvZMmiwopkIQBKoBb3L8h_QS_xKTQc4JVccvd7IpvO8dvhU13wfck6xeX-57P4w2qR3tz5k30ufgjZxMOpup6IW

    Glad to hear it worked as expected for you, but strange it still doesn't work for me.

    I tried downloading your game but it says "item not found".

  • > Thanks for testing. Did it automatically sign you into Play Services?

    > Did it show your Play Services nickname and avatar upon completion?

    > Were you able to load Leaderboards?

    Yes

    Yes

    Yes, achievements too

    One thing I could note is that the game crashes on first startup upon downloading, but then works perfectly fine after that. Don´t know why that would be.

    wow, that's good to know it works like it is supposed to. I'm hoping it is just a glitch.

    and thanks for letting me know about the crash on start. no idea what it could be as it has loaded fine every time on my device.

    crash log in Google Play Console notes this:

    java.lang.ClassNotFoundException

    in dalvik.system.BaseDexClassLoader.findClass

    Not sure what this means.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Just fyi.

    Google Play Games on android got an update on 13december.

    ”Fixed a bug which was causing sign-in issues” it said....

    So maybe this update fixed (or broke) the thing...? (The games I have on my phone still works!)

    Google play games v2019.11.14449

    hey fredriksthlm I also got the Google Play Games update when it released and installed it and tested and still wasn't working properly with my game. Games I was playing before the update where I was already signed in were still working, but any new game I tried it wouldnt sign in. My game was failing to load Leaderboards, so I signed out then tried to sign back in but it wouldnt sign me in automatically nor when I tried to do it manually. I even erased cache and storage for the Games Play app and still nothing.

    I'm wondering if this is just some random glitch with Google Play Games Services if it is working for some users and not others.