StoreReview.requestReview in not working in android SDK 40

Please provide the following:

  1. SDK Version: 40
  2. Platforms(Android/iOS/web/all): Android 11

I am trying to implement in app store review using StoreReview.requestReview() which works perfectly fine in iOS but not android emulator – nothing happens, the promise never resolves or throw an error in both the expo client and apk –

the docs say this is supposed to work in the android emulator, any ideas?

i’ve both checked `StoreReview.hasAction’ and ‘StoreReview.isAvailableAsync’ and both are returning true in android

I’ve also created a brand new expo project and issue still persists

you need to have the play store on your device to use it, as you might expect. you can google how to install that in your emulator, or use a physical device for testing instead

notice the implementation: expo/StoreReviewModule.kt at 7c10e2d9e8ba7462f31e9883420cc13f30d2b05b · expo/expo · GitHub

  fun isAvailableAsync(promise: Promise) {
    if (Build.VERSION.SDK_INT >= 21 && isPlayStoreInstalled()) {
      promise.resolve(true)
    } else {
      promise.resolve(false)
    }
  }
1 Like

When I install an APK with an updated JS bundle over the previous APK and then launch the app, the app still reflects the old JS bundle (manifest version numbers will be old, text/ functionality will indicate the previous version).

thanks
alexsunny

thanks my issue has been fixed.

my issue has been fixed.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.