AdMob and Game Center troubles in iOS TestFlight

Get help using Construct 2

Post » Fri Aug 25, 2017 3:12 pm

Hello,

I've been having some difficulties testing out adMob ads, leaderboards, and achievements on iOS TestFlight. All of these seem to be working fine on Android, so I'm wondering if I don't have something configured correctly. I'll try to include all relevant information...

  • I am exporting to Intel XDK and uploading code to Phonegap
  • In my Construct 2 project, I am using cordova-plugin-game to authenticate and report achievements/request leaderboard
  • I am using Construct 2's AdMob plugin and have test ads enabled and in Intel XDK, have the cordova-plugin-ad-admob plugin enabled.
  • All of the above are working for me in my Alpha build on Google Play. I'm able to authenticate, unlock achievements, view test ads, and view leaderboard.

Other things to note:
  • I'm testing on iOS 11 Beta device. My target iOS in Intel XDK is 8.
  • At the start of my app, I attempt to authenticate with Construct 2 Game Center object
  • In iTunes Connect, I've set up the leaderboard and I'm referencing the leaderboard ID in the Game Center object's actions. I have a button set up when tapped to pull up
  • In iTunes Connect, I've set up the achievements and I'm referencing the achievement IDs in Game Center object's actions when trying to unlock them
  • I've tried whitelisting everything with a Content Security Policy, but I'm not sure if it's doing what is intended :lol:
    I was getting a black screen error in iOS without a CSP though.
  • In iTunes Connect, all of my achievements and leaderboard are "Not Live". Not sure if they can be tested while not live, but I would assume so?
  • I've tried changing my account on my registered device to that of a Sandbox Tester that I set up in iTunes Connect, but it did not change anything.
  • I have not submitted my app for review yet.

Does anybody have any ideas about my situation? Are there any immediate red flags as to why I cannot get these to work on iOS?
B
5
Posts: 7
Reputation: 239

Post » Sun Aug 27, 2017 6:58 pm

Bump
B
5
Posts: 7
Reputation: 239

Post » Mon Sep 04, 2017 10:55 pm

Bump/Update:

I've submitted my app for review to Apple and it passed. I am still unable to get Game Center or ads to work through testing, but I've read that Apple will reject apps that have Game Center features but aren't using them in the code? Same for ads?

Can anybody help??
B
5
Posts: 7
Reputation: 239

Post » Tue Sep 05, 2017 12:26 pm

gana0 wrote:Bump/Update:

I've submitted my app for review to Apple and it passed. I am still unable to get Game Center or ads to work through testing, but I've read that Apple will reject apps that have Game Center features but aren't using them in the code? Same for ads?

Can anybody help??


Well I'm using Cocoon.io and gamecenter works fine with testflight. Just used the default gc plugin that comes with Construct 2 and using this cocoon plugin https://github.com/leecrossley/cordova- ... ter#readme

Worked out of the box for leaderboards. The "Not live" in itunesconnect is something you can ignore. It's not live because the app itself isn't in the store yet. You also don't need a sandbox user. Sandbox was only needed <iOS8.0.
Creating minimalistic iOS Games
http://twitter.com/kraudi2k
B
33
S
6
Posts: 246
Reputation: 2,937

Post » Wed Sep 06, 2017 7:30 pm

I think I'll give up on Intel XDK/Cordova for iOS. I will give Cocoon a shot and see how it goes. Thanks!
B
5
Posts: 7
Reputation: 239

Post » Thu Sep 28, 2017 4:16 pm

such a problem and I had a game with the center. Right now I try to work your meat or not, the hut is sure that it will work through the plugin. but I could create admins working. and for AdMob that it is necessary to install plugin CORDOVA-PLUGIN-AD-ADMOB
B
16
S
5
Posts: 14
Reputation: 939


Return to How do I....?

Who is online

Users browsing this forum: fbarraza28, resdesign, wandererabove, Zed2100 and 7 guests