Search Unity

Detect current selected Android Store

Discussion in 'Unity IAP' started by Mars91, Feb 18, 2021.

  1. Mars91

    Mars91

    Joined:
    Mar 6, 2012
    Posts:
    572
    Is there a way to detect (via code) which one of the various Android Stores has been selected?
    I want to remove some buttons depenting on the store

    StoreIAP.png
     
  2. JeffDUnity3D

    JeffDUnity3D

    Joined:
    May 2, 2017
    Posts:
    14,446
  3. Mars91

    Mars91

    Joined:
    Mar 6, 2012
    Posts:
    572
    This won't work, I want to detect from an app from the Google Play Store and one from Samsung Galaxy Store. IO can select that in the IAP settings but there's no way to check it in code.