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 davididev · Aug 18, 2014 at 09:22 AM · androidapkdemo

Android apk- do I need seperates for demo/paid?

I've seen some games on the android market that let you play the demo and the rest of the game is not unlocked until you buy the full version.

Can I merge the demo and full version in one APK, and if so, is there a method in Unity that allows you to check whether or not the project is paid for, or do I need to make a demo apk and a full version apk?

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

3 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by Slobdell · Aug 18, 2014 at 12:28 PM

I'm not sure what you mean by merging two apks, but I think you're thinking of it as two separate apps. If you want one apk, you need to think of it as one application that has two modes, in your case "demo" and "full". You just need a setting in the game that stores if they have purchased the game or not. Something like PlayerPrefs.GetString("DEMO") or something that is persistent.

Then you code your game to check whether or not they have bought the full version and only let them do what you want them to do.

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 davididev · Aug 18, 2014 at 02:20 PM 0
Share

Then you code your game to check whether or not they have bought the full version and only let them do what you want them to do.

That's what I meant (sorry to be unclear). I don't see anything in the Application class that would do that. Also if I set it in the code, how do I set it in the Android market?

avatar image
0

Answer by N00MKRAD · Aug 18, 2014 at 11:50 PM

Maybe you could make a key app. If you buy the key, everything is unlocked. But that works only if Unity can scan your apps if there's an app with the signature com.example.keyApp.

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
avatar image
0

Answer by Salazar · Oct 05, 2014 at 11:33 AM

You can make 1 apk with App-ın purchase. Check Soomla plug-in.keywords: non-consumable item.

I used this method with my new application.You can check it from here. YOu can build the game with demo (I build with ads) , and after demo finishes you can define a AIP(app-in purchase), when I customer buys the recipe, you can check it with a query and than you save it in a PlayerPref(for offline purposes).

Good Luck, (I use Soomla because its free+well documented+dedicated developers helps you to implant , you can buy a plug-in in asset store)

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

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

Android app opens "App Info" instead of launching app 0 Answers

Keystore was tampered with, or password was incorrect 0 Answers

Android APK signing 2 Answers

APK building problem 1 Answer

After installing the .APK I see the app icon twice 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