In the ideal circumstance this will open a native modal and allow the user to select a star rating that will then be applied to the App Store without leaving the app.
If the users device is running a version of iOS lower than 10.3, or the user is on an Android device, this will attempt to get the store URL and link the user to it.
Determines if the platform has the capabilities to use StoreReview.requestReview(). On iOS, this will return true if the device is running iOS 10.3+. On Android, this will return true. On Web, this will return false.
This uses the Constants API to get the Constants.manifest.ios.appStoreUrl on iOS, or the Constants.manifest.android.playStoreUrl on Android.
In the bare workflow, this will return null.
const url = StoreReview.storeUrl();
This returns a promise that resolves to a boolean that let's you know if the module can perform any action. This is used for cases where the app.json doesn't have the proper fields, and StoreReview.isAvailableAsync() returns false.