Skip to content

App does't prompt for review #359

Description

@compojoom

Hey, thank you for the package! I've set it up in an expo project. I'm unsure if I've missed something, but I don't get the expected prompts

on iOS in debug mode - I receive a prompt(don't know if it matters, but I can't dismiss with "not now", unless I click on the star and then hit cancel)
on iOS in production mode - I don't get a prompt and I've never shown a prompt to the user, so not sure what's going on here.

on Andorid in debug mode - I don't see the prompt
on Andorid in production mode - I don't see the prompt

I've looked into logcat and I can see that the library claims that everything is good, but there is no visible UI shown to the user:


2025-11-26 08:39:11.611 15129-15782 PlayCore                ai.snaptolearn.app                   I  UID: [10216]  PID: [15129] ReviewService : requestInAppReview (ai.snaptolearn.app)
2025-11-26 08:39:11.612 15129-15630 PlayCore                ai.snaptolearn.app                   I  UID: [10216]  PID: [15129] ReviewService : Initiate binding to the service.
2025-11-26 08:39:11.623 15129-15129 PlayCore                ai.snaptolearn.app                   I  UID: [10216]  PID: [15129] ReviewService : ServiceConnectionImpl.onServiceConnected(ComponentInfo{com.android.vending/com.google.android.finsky.inappreviewservice.InAppReviewService})
2025-11-26 08:39:11.623 15129-15630 PlayCore                ai.snaptolearn.app                   I  UID: [10216]  PID: [15129] ReviewService : linkToDeath
2025-11-26 08:39:11.624 15129-15354 PlayCore                ai.snaptolearn.app                   I  UID: [10216]  PID: [15129] OnRequestInstallCallback : onGetLaunchReviewFlowInfo
2025-11-26 08:39:11.624 15129-15630 PlayCore                ai.snaptolearn.app                   I  UID: [10216]  PID: [15129] ReviewService : Unbind from service.

I have the following code:

import Rate, { AndroidMarket } from 'react-native-rate-app';
import Constants from 'expo-constants';

export const requestReview = async () => {
  const androidPackageName =
    Constants.expoConfig?.android?.package ?? 'ai.snaptolearn.app';

  console.log('requesting review for', androidPackageName);
  try {
    const result = await Rate.requestReview({
      androidPackageName,
      androidMarket: AndroidMarket.GOOGLE,
    });

    console.log('Review request result:', result);
  } catch (e) {
    console.warn('Review request failed:', e);
    // Silently fail if review request cannot be made
  }
};

result is always true?

Did I miss something in the docs? Any idea why the prompt doesn't show?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions