Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Hololens App Update Notification

Discussion in 'VR' started by Arunraj, Apr 4, 2018.

  1. Arunraj

    Arunraj

    Joined:
    Jul 4, 2012
    Posts:
    21
    Hi all,
    In our application, we notify the user about app update notification and we re-direct to Win Store of our application page using

    Code (CSharp):
    1. //build URI to launch store app
    2.    var uriStore = new Uri(@"ms-windows-store://pdp/?productid=" + storeAppID);
    3.    UnityEngine.Debug.Log("store URL : " + uriStore.ToString());
    4.  
    5.    LauncherOptions options = new Windows.System.LauncherOptions();
    6.    var fallbackUri = new Uri(AppStoreDetails.GetAppURL());
    7.    options.FallbackUri = fallbackUri;
    8.    // Launch the URI
    9.    var success = await Windows.System.Launcher.LaunchUriAsync(uriStore, options);
    Here we are successfully re-directed to the store page, but we have only Launch button available. When we navigate to any other option and come back to store page, we have option of Launch and Update.

    Folks, please provide your inputs, Is there any protocol command that i need to add while constructing URI or any other option available to refresh the store page

    Note : Unity 2017, VS 2017
     
  2. Arunraj

    Arunraj

    Joined:
    Jul 4, 2012
    Posts:
    21
    Does anyone face the same problem? Any update on this?