Code Monkey home page Code Monkey logo

Comments (8)

MinaSamir11 avatar MinaSamir11 commented on May 24, 2024 1

@GollyJer @mateusw3c Going to create pull request with expo

from react-native-in-app-review.

mateusw3c avatar mateusw3c commented on May 24, 2024 1

I solved my problem using expo-store-review (v2.2.0) package for expo. This solution need expo v^39.0.0.

from react-native-in-app-review.

mateusw3c avatar mateusw3c commented on May 24, 2024

I tried using it at the expo but it didn't work :(

from react-native-in-app-review.

Hosam-hsm avatar Hosam-hsm commented on May 24, 2024

Does it support now?

from react-native-in-app-review.

Hosam-hsm avatar Hosam-hsm commented on May 24, 2024

But when I used the expo-store-review package, the review modal only showed once on the first build only. I thought it was because I already rated the app and so I removed my ratings for the app in the stores. But it is not showing the modal. Any idea on that?

from react-native-in-app-review.

mateusw3c avatar mateusw3c commented on May 24, 2024

It's a quota problem.

https://developer.android.com/guide/playcore/in-app-review#quotas

To provide a great user experience, Google Play enforces a time-bound quota on how often a user can be shown the review dialog. Because of this quota, calling the launchReviewFlow method more than once during a short period of time (for example, less than a month) might not always display a dialog.

Because the quota is subject to change, it's important to apply your own logic and target the best possible moment to request a review. For example, you should not have a call-to-action option (such as a button) to trigger the API, as a user might have already hit their quota and the flow won’t be shown, presenting a broken experience to the user. For this use case, redirect the user to the Play Store instead.

from react-native-in-app-review.

Hosam-hsm avatar Hosam-hsm commented on May 24, 2024

Great. Thanks!

from react-native-in-app-review.

MinaSamir11 avatar MinaSamir11 commented on May 24, 2024

I'm closing this issue.

If you use Expo to create a project you'll just need to "eject".

expo eject
-> Then install package normally: 

npm install react-native-in-app-review

from react-native-in-app-review.

Related Issues (20)

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.