Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

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.

— asked July 9th 2010 by Greg Pierce
  • iphone
  • ratings
0 Comments

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!

    — answered May 25th 2011 by Jose R Castello
    permalink
    2 Comments
    • You could point it to your websites URL that you would then redirect to your apps apple url…

      — commented May 25th 2011 by Matt Apperson
    • I take that back if you create the app in itunes connect it will give you the URL that your app will have… sorry for the confusion, I had never needed to do that before

      — commented July 12th 2011 by Matt Apperson
  • Oops, the URL is https://github.com/raulriera/Rater-Module

    — answered July 13th 2011 by Raul Riera
    permalink
    0 Comments
  • 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.

    — answered April 18th 2012 by Rajiv Kumar
    permalink
    0 Comments
  • super awesome of you to share this library with everyone!

    rocksteady,
    danno~

    — answered July 9th 2010 by danno watts
    permalink
    0 Comments
  • Thank Greg

    — answered July 9th 2010 by Daniel Lim
    permalink
    0 Comments
  • Well done, thank you! :-)

    — answered July 10th 2010 by Dominik Hahn
    permalink
    0 Comments
  • Greg,

    This is fantastic!

    What license did you release the code under?

    — answered January 10th 2011 by Jeff Schwartz
    permalink
    0 Comments
  • i'm lovin it. thanks for this great piece of code!

    — answered May 12th 2011 by Sebastian Klaus
    permalink
    0 Comments
  • Excellent… Thanks a lot!

    — answered May 25th 2011 by RR Gaba
    permalink
    0 Comments
  • 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~

    — answered June 15th 2011 by Scott Millar
    permalink
    0 Comments
  • [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

    — answered July 13th 2011 by Fabien Cosinus
    permalink
    2 Comments
    • 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

      — commented July 13th 2011 by Raul Riera
    • Oops, URL is https://github.com/raulriera/Rater-Module

      — commented July 13th 2011 by Raul Riera
  • thanks it's working

    — answered July 13th 2011 by Fabien Cosinus
    permalink
    0 Comments
  • 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

    — answered July 13th 2011 by Raul Riera
    permalink
    0 Comments
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.