Ad

Wednesday, 27 January 2021

How To Implement And Test In-App Review API Flow In Android Studio Application | DDN STAR | AndroidEarner

Implement In-App Review API Flow In Android Studio Application

Once your app is live on playstore, app rating and reviews are very crusical factors to drive more downloads. To achive this, we usually ask users to rate the app by showing a dialog with couple of buttons and redirecting them to playstore. With this user experience, there are chances that user might not come back to our app once redirected to playstore. Also a novice user finds it difficult to rate the app on playstore.

How To Implement In-App Review API Flow In Android Studio Application
How To Implement In-App Review API Flow In Android Studio Application

But Google finally heard us! They have introduced a new shiny API for in-app review functionality With this API we can present a popup & ask for Review inside the app without having to redirect to Playstore. That’s Awesome, isn't it? Let’s learn all about it in this article.

Minimum requirements

  •     Android devices should be running on Android 5.0 (API level 21) or higher and should have Google play store installed.
  •     Chrome OS devices that have Google play store app installed.
  •     Play core library with v1.8.0 or higher.


Design guidelines & Quota restrictions

  •     The Review card (popup) should not be tampered or altered by modifying the design.
  •     Any overlay should not be added on top or around the card.
  •     Review dialog should not be programmatically removed (It will automatically be removed based on user actions)
  •     To protect user privacy and avoid API misuse, this API has a limited quota per user. Hence this functionality should not be triggered on a button click.
  •     Before presenting the Review card, the app should not ask user opinions like “Do you like the app?” or “Give this app 5 stars”, etc.

Let’s Implement!


1.    Add play-core library as a dependency in your build.gradle file.



2    After Sync. Write this code and call it OnCreate 



Testing

If you want to test your implement.Export your app in Release Mode because the In-App Review not support in debug mode.After the export release mode your project upload the release apk in Play Console Internal App Sharing section.

  1. First open your Google Play Console and open your application
Implement In-App Review API Flow In Android Studio Application
Implement In-App Review API Flow In Android Studio Application

2. After that see left side in Release and click on Gear Icon Setup. After that Select Internal app sharing.

Implement In-App Review API Flow In Android Studio Application
Implement In-App Review API Flow In Android Studio

3. Click on the link and open it in page

Implement In-App Review API Flow In Android Application
Implement In-App Review API Flow In Android Application

4. Now,drag Or upload your Release Apk,Not change anything.After that copy the link open in your mobile brower and Install It.

Implement In-App Review API Flow In Android
Implement In-App Review API Flow In Android

Note : After the click on link in Google Play Store you get a popup "Internal App Sharing Is Not On". So click on 3 dots go to setting and scroll down then click on PLAY STORE VERSION multiple time.After that the setting was show on the top.

 

 Now Install And Enjoy !! Any Question Comment In Below.Have A Nice Day.

 

For The Latest #Auto #News and #Reviews, Follow My Support Tech On Twitter, Facebook, And Subscribe To Our Email Notification.

No comments:

Post a Comment