Giter Club home page Giter Club logo

tjstorereviewcontroller's Introduction

TJStoreReviewController

TJStoreReviewController is a simple wrapper around SKStoreReviewController that provides the following.

  • It's safe to call into on versions of iOS prior to 10.3.
  • It has simple throttling based on how long the app has been installed.
  • It has a helpful method for presenting store review UI in the App Store (for use when users manually tap a "Rate this app" button, for example), which defers the automatic prompt from showing.

Usage

tl;dr -- Step #2 is the only necessary one!

  1. On app launch, you can optionally call the +appDidLaunch. This doesn't trigger any prompt showing, but it marks the first time the app was launched to better inform TJStoreReviewController of when to show the prompt next. If you don't call +appDidLaunch the first time +requestThrottledReview will be treated as the initial app launch, which is often good enough.
  2. In situations where you think it would be good to optimistically show a store prompt, call +requestThrottledReview. That's it!
  3. If your app includes a dedicated button to allow users to review your app you can call +reviewInAppStore: passing your app's iTunes identifier. This shows the rating UI for your app in the App Store and also defers the next time + requestThrottledReview will trigger the prompt to be shown.

tjstorereviewcontroller's People

Contributors

timonus avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

mbxb

tjstorereviewcontroller's Issues

Switch back to itms-apps scheme

It seems the http iTunes URLs sometimes don’t open correctly in the App Store (perhaps dependent on universal links which sometimes break down). We should rely on the dedicated scheme to ensure there’s no funny business.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.