Welcome to the Oculus Developer Forums!

Your participation on the forum is subject to the Oculus Code of Conduct.

In general, please be respectful and kind. If you violate the Oculus Code of Conduct, your access to the developer forums will be revoked at the discretion of Oculus staff.
New to the forums? Click here to read the How To guide. -- Developers click here.

How to open the store page for your app?

Thunderbox.EntThunderbox.Ent Posts: 33 Oculus Start Member
edited November 2018 in Mobile Development
Hi there,
Apologies for the barrage of questions, but development on our first Oculus Go title is hotting up and there is much we don't know!
:blush:

Anyway, I am trying to add a link to our app's store page, so that users can rate it (similar to how we do it on the iOS and Android versions).

After trawling the documentation and forums, I can't find any concrete examples of how to do this, so I though I would ask here:

How do you you open the store page for your app, from within your app?

I am guessing a deep link to the store would be the best way, but what parameters would we need to pass to Platform.Application.LaunchOtherApp?

Thanks in advnace for your continued assistance!

Sincerely,
Dan

Comments

  • imperativityimperativity Posts: 3,587 Valuable Player
    Hi,

    As your application is a mobile app, you can take advantage of our app-to-app deeplinking feature to accomplish this behavior. Check the documentation out here.

    From the documentation above:

    Once you've made the request, check to see if the target application was launched successfully. The request will only succeed if the user is both entitled to (owns) and has installed the target app. If the user does not own the app, or has not downloaded the app, they will be directed to the product information page in Oculus Horizon where they can purchase and download the app.



  • Thunderbox.EntThunderbox.Ent Posts: 33 Oculus Start Member
    edited November 2018
    Thank for getting back to me - help on this is much appreciated!
    What I am having trouble working out are the parameters for...
    ovr_Application_LaunchOtherApp(<app_id>, options);
    ...where <app_id> needs to be the Oculus store and  options needs to be the store page for my app.

    Does that make sense?

    Thanks once again for your help!
     :) 
  • Thunderbox.EntThunderbox.Ent Posts: 33 Oculus Start Member
    Any update, @imperativity ? Our app is nearin the final stages of development! Thanks in advance for your assistance!
  • imperativityimperativity Posts: 3,587 Valuable Player
    @Thunderbox.Ent

    This is not the intended behavior of deep linking for app-to-app on mobile.

    Please re-read the documentation I linked above for setting up this behavior. The <app_id> is the application id that you can find in your developer dashboard and 'options' remains unchanged.
  • Thunderbox.EntThunderbox.Ent Posts: 33 Oculus Start Member
    Hi @imperativity - thanks for the update.

    If I understand correctly, what you are telling me is that it is not possible to open the store page for an already installed app using a deep link to the store app.

    Just to make sure I am explaing our requirements, here they are in a bit more depth...
    - We have an app.
    - When people have played our app for a bit, we would like to prompt them to leave a rating
    - The ideal functionality for this would be...
          a) A system dialogue with a star rating input (like on iOS), or...
          b) Opening the Oculus Store at our app's page, so the user can leave a rating.

    I am assuming that Option A doesn't exist, so I am investigating Option B.

    If we can't use a deep link to the store do this, is there an alternative method to open our app's store page post-install? If not, how does one prompt the user to leave a rating? Is there special functionality, or is this a phone/tablet paradigm that I should not be fussing about?

    Thanks once again for your help!
    :)
  • imperativityimperativity Posts: 3,587 Valuable Player
    @Thunderbox.Ent

    If I understand correctly, what you are telling me is that it is not possible to open the store page for an already installed app using a deep link to the store app.

    Yes, that is correct. I was offering you the currently available deep-linking logic that just so happened to offer the ability you were looking for.

    We currently don't have the exposed logic for your intended use case, but when we do, I'll be sure to share this with the forums and via a developer blog post.
  • Thunderbox.EntThunderbox.Ent Posts: 33 Oculus Start Member
    Well that actually makes my job a bit easier... 
    Thanks for the assist @imperativity!
    :D
Sign In or Register to comment.