Rater example code for iPhone Apps
I wrote a little re-usable module to handle reminding users to rate my iPhone apps from within the app, thought I would share:
http://gist.github.com/470113
The code reminds the user every 20 launches to go rate the app at the store, with an options dialog. The dialog options are:
- Rate Now : redirects use to app page in the App store
- Don't Remind Me : never show the dialog again
- Not Now : cancels out, but will remind the user again after another 20 launches.
Enjoy, feel free to adapt as you desire.
greg.
14 Answers
-
Accepted Answer
Please, tell me if I am wrong, but I see that you are supposed to know your app's App Store URL to put this piece of code into your project, aren´t you?
Until your app is not approved by Apple you don´t get that URL, so I guess this will be applicable only for version 1.1 of your app.
Btw, thank you for sharing it! -
Oops, the URL is https://github.com/raulriera/Rater-Module
-
Instead of using App URL. Use following URL with App ID
http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewContentsUserReviews?type=Purple+Software&id=Apple ID
Apple ID is given by Apple when you are adding/creating new app to App store.
-
super awesome of you to share this library with everyone!
rocksteady,
danno~ -
Thank Greg
-
Well done, thank you! :-)
-
Greg,
This is fantastic!
What license did you release the code under?
-
i'm lovin it. thanks for this great piece of code!
-
Excellent… Thanks a lot!
-
I'm having some issues with this Module. getting the following error…
~[ERROR] Third-party module: rater/1.0 missing library at /Library/Application Support/Titanium/modules/iphone/rater/1.0/librater.a~ -
I extended this little gem and made it a repository at github.com if anyone wants to help out https://github.com/raulriera/Appcelerator-Titanium-Rater-Module
-
[Your app's App Store URL] What can you put in this field the first time since you do not know the App URL in iTunes
-
thanks it's working
-
Fabien, if you check out my repo above.. you will see that the app now just asks for the App ID, it will append it to the address on it's own… you App ID can be found on iTunes connect as soon as you create the application