Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 14 Next capture
2021 2022 2023
2 captures
12 Jun 22 - 14 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
1
Question by hexagonius · Jun 23, 2016 at 12:19 PM · iapstoredocumentationnames

Where to find all IAP store names?

From the documentations, I could find:

GooglePlay.Name
AppleAppStore.Name
MacAppStore.Name
WinRT.Name

of which I couldn't find anything in the documentations. Where are those classes listed?

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

2 Replies

· Add your reply
  • Sort: 
avatar image
0
Best Answer

Answer by nicholasr · Jun 28, 2016 at 06:41 PM

@hexagonius Yeah - there is no one class containing all the constants currently.

We write the Store plugins (Google, Apple, etc) separately, uniting them under a "Purchasing Module" http://docs.unity3d.com/ScriptReference/Purchasing.Extension.IPurchasingModule.html , which behaves like a smart Factory (the design pattern). The StandardPurchasingModule class is the preferred way to access these stores today. This module currently doesn't have an API which lists the names.

Also note there is an AmazonApps.Name.

That being said (answering your Question), what were you thinking about doing with the IAP store name list? Was it curiosity or is there a feature you're thinking about? Maybe there's a way to get done what you want, without an extension to the core IAP API.

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image hexagonius · Jun 28, 2016 at 07:24 PM 1
Share

thanks for the summary,

I actually was just curious because I am uncomfortable with incomplete information about new things. since the store name is a parameter for the function, an enum containing all store names would be nice. But that's all, thx

avatar image nicholasr · Jun 28, 2016 at 08:49 PM 0
Share

$$anonymous$$akes sense! You're welcome.

Yeah we're cranking away on new stores too.

To "get a feel" you may wish to survey the FAQ - it covers the "doors and corners" people are encountering when using Unity IAP, and may give a broader view: forum.unity3d.com/threads/unity-iap-faqs.388069/

avatar image
0

Answer by Novack · Nov 02, 2020 at 02:27 PM

This is rather old, but one of the few places where the topic is mentioned. These classes (just used as constant holders) are undocumented, and Im entirely on the dark regarding which one to use.

In the examples MacAppStore is mostly used, but Im working for iOS, so Im guessing AppleAppStore is the right one? I found the second one by mere luck.

Are they both valid? Is one an obsolete version of the other? How can I find what are the expected options?

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

45 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

How to access receipt product with codeless IAP 0 Answers

How To revert effects of an in app purchase? 0 Answers

In App Purchases works on Andriod but not IOS,Unity In App Purchases Script works for Andriod devices but not Iphone 1 Answer

Unity IAP displays the Play Store Description and not my in-game description 0 Answers

IAP - What am I missing? 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges