Skip to content

promptimizer/promptimizer-android-sdk

Repository files navigation

Promptimizer - Intelligently ask for ratings

The Android client for Promptimizer

Promptimizer Get more ratings without annoying your users

Don't spam every user to rate your app. Promptimzer helps you ask your most loyal users to rate your app at just the right time.

How does it work?

Pick a few places in your app where you think your users are happiest. For example, after they have successfully achieved a high score.

A small percentage of users will see a "Do you like this app?" prompt at these locations. This will help you find your most activated, happiest users. Once the ideal location is determined, a small percentage of users will see an in-app review.

You can further experiment and optimize the prompts to only trigger after certain events. We even have some rating recipes you can try.

Requirements

Android minimum SDK 21+ (Android 5.0).

Firebase for Android with Remote Config and (optionally) Analytics.

Install

repositories {
    // Note: moving to Maven Central in the future
    maven { url "https://jitpack.io" }
}
dependencies {
    implementation 'com.github.promptimizer:promptimizer-android-sdk:<latest-version>'
}

See the latest release versions.

Setup

Pass in your Firebase remote config and (optionally) your analytics.

Promptimizer.configure(firebaseRemoteConfig, firebaseAnalytics)

Show a prompt

Pick ideal locations to display a sentiment or rating prompt.

Promptimizer.getPrompt( “high_score_screen”) { prompt ->
  // You have full control over displaying a prompt or not
  Promptimizer.showPrompt(activity, prompt)
}

Configure a prompt

Lastly, open your Firebase console and configure your sentiment and rating prompts for Remote Config.

Track events

It's wise to trigger prompts only after the user has performed certain actions. You can target prompts to analytics events you already track, or use this convenience method to send events specific to prompts.

Promptimizer.track("high_score", mapOf("level" to 4, "score" to 870))

Price

The library is 100% free to use. You will need to manage your Firebase though. We are developing an add-on library that automatically configures prompts and experiments. This add-on will have a free option and paid pricing tier. Signup here if you’d like to keep in the loop.

More questions? Feedback?

Visit Promptimizer or open a discussion.