galaxy_store_in_app_review
This is a library that wraps the Galaxy Store Review Broadcast provided by the Samsung Galaxy Store for easy use in Flutter. Much inspired by britannio/in_app_review.
Android App Configuration
Due to package visibility changes in Android 11 (API level 30) and above, apps can no longer query package information from other installed apps by default. To enable the Galaxy Store in-app review functionality, you must explicitly declare the Galaxy Store package in your AndroidManifest.xml.
Add the following configuration to your AndroidManifest.xml
:
<manifest>
<queries>
<package android:name="com.sec.android.app.samsungapps" />
</queries>
</manifest>
Usage
requestReview()
import 'package:galaxy_store_in_app_review/galaxy_store_in_app_review.dart';
if (await GalaxyStoreInAppReview.isAvailable()) {
GalaxyStoreInAppReview.requestReview();
}
openStoreListing()
import 'package:galaxy_store_in_app_review/galaxy_store_in_app_review.dart';
GalaxyStoreInAppReview.openStoreListing();
Disclaimer
This is an early project. Please let me know if there is a problem.