Skip to content

A Flutter Plugin for Requesting and Writing Reviews for the App Store and Google Play.

License

Notifications You must be signed in to change notification settings

Innim/flutter_app_review

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

92 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fork of Flutter Community: app_review with updated dependencies.

app_review

app_review_plus

alt text

Online Demo: https://fluttercommunity.github.io/app_review/

Description

Flutter Plugin for Requesting and Writing Reviews in Google Play and the App Store. Apps have to be published for the app to be found correctly.

How To Use

It's important to note that the App ID must match the App ID in Google Play and iTunes Connect. This can be changed in the Info.plist on iOS and app/build.gradle on Android. You will use this App ID for other services like Firebase, Admob and publishing the app.

Android

Opens In App Review but only if Play Services are installed on the device and the App is downloaded through the Play Store. Check out the official documentation.

iOS

iOS manages the pop-up requesting review within an app. You can call the code through AppReview.requestReview and if the user has "rate in apps" turned on, iOS will send "the request for the review" pop up. This is the required way for requesting reviews after iOS 10.3.

In debug mode it will always display. In apps through TestFlight, the AppReview.requestReview does nothing.

import 'dart:io';
import 'package:app_review/app_review_plus.dart';
import 'package:flutter/material.dart';

  @override
  void initState() {
    super.initState();
    if (Platform.isIOS) {
      AppReview.requestReview.then((onValue) {
        print(onValue);
      });
    }
  }

What is onValue value?

Just a sanity check to make sure there were no errors.

Android

You could store a timestamp to know when to call again.

iOS

It doesn't really matter.

About

A Flutter Plugin for Requesting and Writing Reviews for the App Store and Google Play.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dart 42.0%
  • Ruby 22.7%
  • Java 17.7%
  • Swift 10.0%
  • HTML 3.7%
  • Kotlin 2.7%
  • Objective-C 1.2%