Search Unity

Amazon IAP on mobile

Discussion in 'Unity IAP' started by alphadogware, Nov 12, 2018.

  1. alphadogware

    alphadogware

    Joined:
    Nov 15, 2017
    Posts:
    76
    I see that unity iap works out of the box with amazon iap.

    My question is, for mobile how do you determine which to use? I know there isn't an easy way to determine if it's an amazon device or not.

    The only solid option I could think of was to put some kind of variable at the start of the program that stores which app store it's coming from, then on each release change that variable when submitting to amazon or google play. It would ad an extra step for each android release, but it's the only way I can think of to determine with high accuracy which store to use.

    Thanks in advance for any thoughts on the subject.
     
  2. JeffDUnity3D

    JeffDUnity3D

    Joined:
    May 2, 2017
    Posts:
    14,446
    Are you seeing devices that support both Google Play and Amazon? If you target Amazon, I would not expect your app to be available on Google Play and vice versa.
     
  3. alphadogware

    alphadogware

    Joined:
    Nov 15, 2017
    Posts:
    76
    I am pretty sure, you can install the amazon app store on any android device. On the other side, I think pre-kindle devices can have google play installed.

    So to answer your first question, yes. both ways.

    Other than just having a amazon version of the apk and a google play version also, is there any other ideas?
     
  4. JeffDUnity3D

    JeffDUnity3D

    Joined:
    May 2, 2017
    Posts:
    14,446