🛎️ Get your Android app reviews directly in a Slack channel.
Review | Response |
---|---|
- Firebase CLI
- Firebase Functions (requires Blaze # plan)
- Firebase Cloud Firestore
- Google Play developper account
- Google Cloud's Secret Manager (requires billing account)
- Slack Incoming Webhook
- Install required npm dependencies:
npm --prefix ./functions install
- Setup and link your Firebase project:
firebase use --add
- Configure Slack incoming webhook secret:
firebase functions:secrets:set SLACK_INCOMING_WEBHOOK
- Configure Google Service Account secret:
- Enable Google Play Developer API in Google Cloud Console.
- Create a new Service Account and generate a
JSON
key. - Invite the Service Account (email) and grant app permissions.
firebase functions:secrets:set SERVICE_ACCOUNT
- Deploy the Firebase functions:
firebase deploy --only functions
- Add your first app in Firestore:
- + Start a collection and name it
apps
. - + Add document and Auto-ID then Save.
- The
sanitizeAppDocument
Firebase function should automatically insert the required fields. - Update the document fields accordingly:
developerId
: calledAccount ID
in the Google Play Console developer account, also visible in the URL:
https://play.google.com/console/developers/[developerId]
.applicationId
: visible in the Google Play Console app dashboard's URL:
https://play.google.com/console/developers/[developerId]/app/[applicationId]/app-dashboard
packageName
: visible in the Google Play Console app dashboard'sicon
: the application icon URL that will be used in the Slack messagesname
: the application name that will be used in the Slack messagesignored
: set it tofalse
when you are ready to fetch reviews
- + Start a collection and name it
- The system is now ready and will start to fetch reviews and forward them to your Slack channel!
Tip
You can change the default */15 * * * *
(15 min) refresh interval.
Important
- User reviews are not stored!
If you need a backup solution or want to download user reviews, use the Google Play Console Download reviews reports orgsutils
command line tool (docs). - Pagination is not handled to keep the codebase simple.
Only the most recent 100 reviews will be fetched (API limit).
If you expect more than 100 reviews between each refresh, reduce the default refresh interval. - Reviews can be fetched for a period of 1 week (API Limit).
Beware during during the initial fetch, you might be rate-limited by Slack.