Search Unity

Using fake store with android builds

Discussion in 'Unity IAP' started by tokyo-ramen, Dec 21, 2018.

  1. tokyo-ramen

    tokyo-ramen

    Joined:
    Dec 4, 2018
    Posts:
    16
    Hi,

    I'm using the following code to show fake store in editor. However when building on android nothing shows up and seems to fail silently even though useFakeStoreAlways is set to true.

    Code (CSharp):
    1. module = StandardPurchasingModule.Instance();
    2.             module.useFakeStoreUIMode = FakeStoreUIMode.StandardUser;
    3.             module.useFakeStoreAlways = true;
    4.             builder = ConfigurationBuilder.Instance(module);
    Is there a way to make fake store work with builds.

    Thanks for advance.
     
  2. JeffDUnity3D

    JeffDUnity3D

    Joined:
    May 2, 2017
    Posts:
    14,446