Apple reject my game

nadir.alkarbinadir.alkarbi Member, PRO Posts: 94
edited November 2015 in Working with GS (Mac)

Apple reject my game because of iAP problem look at apple reply

Apps that exhibit bugs will be rejected

We discovered one or more bugs in your app when reviewed on iPad running iOS 9.1 and iPhone running iOS 9.1 on both Wi-Fi and cellular networks.

Specifically, after purchasing the Non-Consumable In-App Purchase, ads remained in the app.

The steps to reproduce are:

  • Launch app
  • Tap "No ads" button
  • Purchase In-App Purchase
  • Ads remain in the app during gameplay

I don't know whats the problem because on android its work fine and i can't test on iOS i don't have iPad or iPhone i need someone to test please.

This code for ad banner

Comments

  • nadir.alkarbinadir.alkarbi Member, PRO Posts: 94
    edited November 2015

    2 of my games has been rejected same issues i checked all codes there is nothing wrong with the code so please if anyone can test give me your email i will add u to test using test flight.

  • zweg25zweg25 Member Posts: 738

    do you save and load the attribute showads?

  • nadir.alkarbinadir.alkarbi Member, PRO Posts: 94

    Yes look at the code

  • nadir.alkarbinadir.alkarbi Member, PRO Posts: 94

  • The_Gamesalad_GuruThe_Gamesalad_Guru Member Posts: 9,922
    edited November 2015

    Why aren't you just saving game show banner to false? It looks like in the save the game attribute isn't show banner. See my video on iap. It will show you a better way to write the logic.

  • nadir.alkarbinadir.alkarbi Member, PRO Posts: 94

    I did that now i hope thats the problem i will try to test it later i will put my game to test flight before i submit to review this is the code look

    I load the attribute on play button.

  • nadir.alkarbinadir.alkarbi Member, PRO Posts: 94

    @Lost_Oasis_Games said:
    Why aren't you just saving game show banner to false? It looks like in the save the game attribute isn't show banner. See my video on iap. It will show you a better way to write the logic.

    Thank you @Lost_Oasis_Games after i save attribute and load it everything works fine but now i have another problem with Consumable when i buy its must give me 3k coins but its give me 16k coins look at the code i did same as you did in your video tutorial




    I don't know if this a bug or something wrong with the code

Sign In or Register to comment.