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
5
Question by ganesh-mune · Mar 25, 2013 at 09:11 AM · androidiphonerate

Adding rate button in my game?

Hello friends I want to add a button in my game, so that if user clicks on that button, he should rate my game and it should work on android and i-phone as well.

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

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by Dreamora · Mar 25, 2013 at 09:27 AM

One that works for both is not possible as they have distinct marketplaces.

But there are easy systems for both of them. For iOS I would recommend to look at appirater, a free opensource piece of code that can be found at https://github.com/arashpayan/appirater to do exactly this (its the code behind most of those 'please rate this' popups you might know :))

Comment
Add comment · Show 6 · 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 ganesh-mune · Mar 25, 2013 at 09:38 AM 0
Share

and will you please suggest me something for the android as well. I got 'rate me' at asset store but its paid :(

avatar image Dreamora · Mar 25, 2013 at 09:50 AM 0
Share

I don't have one at hand for Android I fear. Also please keep in $$anonymous$$d that above Appirater is objc code, not for Unity. To get this or other native code into Unity you either need to write an own plugin to use them or invest into a small plugin that does this for you already unless there is a free one. There are various plugins available that offer such rating capabilities straight within Unity, some including extra features beyond just that. This might mitigate the aspect of 'cost' probably depending on your application

avatar image whydoidoit · Mar 25, 2013 at 09:59 AM 0
Share

Check out Prime31

avatar image ganesh-mune · Mar 25, 2013 at 02:12 PM 0
Share

Thanks Dreamora.. :)

avatar image AjayKhara · Sep 24, 2014 at 01:16 PM 3
Share

Hey Ganesh, good question. This is how you do it, Create a Rate button however you like, using unity's native GUI or any other external plugins, and call this function on button click.

     void OnRateButtonClick(){
     #if UNITY_ANDROID
     Application.OpenURL("market://details?id=YOUR_APP_ID");
     #elif UNITY_IPHONE
     Application.OpenURL("itms-apps://itunes.apple.com/app/idYOUR_APP_ID");
     #endif
     }

Note: Replace YOUR_APP_ID with, well your app id :) That should do.

I'll tell you what helped me with my game, I used this free plugin called polljoy(polljoy.com), for the rate game popUp, and handled the code OnRateButtonClick() upon user feedback. So I create a popup, when my users answer, they get rewarded and it gets them straight to the app store. Basically 20 $$anonymous$$s to integrate.

Hope it helped!!

Show more comments

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

13 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

Related Questions

Is it Possible to (tap to focus) using WebCamTexture? 1 Answer

Optimal # of Faces for many mesh scene for mobile 1 Answer

Changing the splash screen background color 3 Answers

GUI system for android? 1 Answer

What is static batching and dynamic batching? 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