Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 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
0
Question by Garth-Smith · Apr 29, 2013 at 11:02 PM · iosapp store

How to tell if a player previously purchased my iOS app?

Hello!

We are taking a previously paid app and making it free. However, we want to remove any ads for anyone who has spent money on our app.

I can't figure out this case:

  1. V1.0 of app is purchased for $0.99

  2. User uninstalls app, thus losing any PlayerPrefs that might have been set.

  3. V1.1 of app is downloaded with a new price of FREE.

  4. How can I tell that this user already paid $0.99 for the app and should have no ads?

Is this possible? I appreciate the help!

Comment
Add comment · Show 3
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 Garth-Smith · Apr 29, 2013 at 11:05 PM 0
Share

We use Prime31 if that helps!

avatar image Fattie · Apr 30, 2013 at 06:57 AM 0
Share

I think it is .. absolutely impossible to be able to do that.

It's just hat simple on iOS - if a player X-deletes an app, it absolutely erases all information.

So that's the end of it.

You'd have to track them on your OWN SERVER, that would have been the only solution.

I really wouldn't worry about it - all iPHone users "know it works that way."

avatar image Benproductions1 · Apr 30, 2013 at 09:33 AM 1
Share

Just do it serverside, not clientside

2 Replies

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

Answer by Graham-Dunnett · Apr 30, 2013 at 09:55 AM

As Ben said, make a v1.1 that pings your server and includes the deviceUniqueIdentifier so you know the user has played 1.1. (But, I think the way that every other app works is to have a free version, and a separate paid version.)

Comment
Add comment · Show 1 · 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 Garth-Smith · May 20, 2013 at 07:18 PM 0
Share

We are avoiding server-side anything right now. Thanks for the reply!

avatar image
1

Answer by Voxel-Busters · Nov 24, 2015 at 08:49 PM

I guess, you can completely avoid having external server setup by having this "no_ads" in-app product as a non-consumable product. And this minor change, will allow you to restore old purchases even after reinstalling. Usually plugins do provide Restore API's.

Try using Cross Platform Native Plugins. Very easy setup, lots of features, unified API's and supports both iOS and Android platforms. Also needless to say, it supports restoring non-consumable products.

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 Garth-Smith · Nov 24, 2015 at 09:02 PM 0
Share

When the question was first asked over two years ago, an API for checking non-consumable products was not available. Since that time, I know that $$anonymous$$icrosoft Phone and Windows Store apps have this functionality, and from your answer it seems that iOS and Android now have this functionality too!

Thanks for the reply!

Update: Looks like iOS got this ability in iOS 7 and Android since February 2013. Added links.

avatar image Voxel-Busters Garth-Smith · Nov 24, 2015 at 09:11 PM 0
Share

Okie thanks for the update :)

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

16 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

Related Questions

What happens after exporting an app 1 Answer

I want my iOS app to check if there is an update available for it on the app store 0 Answers

no unity remote 4 (ios) in app store 3 Answers

My already released iOS app only shows Unity placeholder ads :( 1 Answer

Issues Testing with iAP and iOS 0 Answers


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