Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Submitting an app which also requires a database update

Discussion in 'iOS and tvOS' started by LoopixSA, Aug 21, 2018.

  1. LoopixSA

    LoopixSA

    Joined:
    Aug 21, 2018
    Posts:
    3
    Greetings,

    We have an app already published on the Apple’s App Store and soon want to send a big update with a lot of new stuff implemented. But before sending it, we’ve stumbled upon a doubt that is hindering us from doing so.

    Along with the game, we also need to update our application(server) and database. The game needs to run with that same version of the database or it won’t work. Since the submission version needs to be the same as the published one, how can we provide an APP version that connects to a “test” server (so Apple's app review team can test in the right conditions)?

    In another words, the app version that we want to submit won’t work with the live server version, but we can’t just change the server version because of the live users.
    Sort of a catch 22, need to update the server, but to do so we need an approval of the review team (regarding the submited app version) and at the same time they need to connect to an updated server version.

    Is there a best practice that we can follow?

    Thank you all in advance for your support!
     
  2. AlienMe

    AlienMe

    Joined:
    Sep 16, 2014
    Posts:
    93
    We use CNAME Dns records for this... for each version we release, we create a new CNAME...

    So, for the game version 1.1, we have v11.server.com..
    For version 2.0, we have v20.server.com... etc.

    We use this for app review approval, as well as for testing new versions of the game (before forcing all users to upgrade).
     
    LoopixSA likes this.
  3. LoopixSA

    LoopixSA

    Joined:
    Aug 21, 2018
    Posts:
    3
    We were thinking about a solution on those lines, but didn't know if that was a good way to go. Since other people do that, then it's a good thing!

    Thank you for your answer!
     
  4. AlienMe

    AlienMe

    Joined:
    Sep 16, 2014
    Posts:
    93
    It's worked well for us. It also let's us do server side upgrades without having down time...(having 2 servers).