Integrate Pushwoosh Android SDK

Follow the steps below to get your Android application ready to receive pushes



1. Include the following Maven repository URL in project's build.gradle:
allprojects {
repositories {
google ()
2. Add pushwoosh library dependencies into your application's build.gradle:
implementation 'com.pushwoosh:pushwoosh-firebase:6.+'
Replace "+" with the current version of Pushwoosh and Android Support libraries.
3. Open your project in Android Studio. Go Tools > Firebase > Cloud Messaging and click "Set up Firebase Cloud Messaging":
4. Connect your app with Firebase, grant Android Studio access to your Google account (if needed), and choose your Firebase project.
5. Add FCM to your application and accept changes:
6. Add the following metadata to AndroidManifest.xml:
<meta-data android:name="com.pushwoosh.appid" android:value="XXXXX-XXXXX" />
<meta-data android:name="com.pushwoosh.senderid" android:value="@string/fcm_sender_id" />
Please note that you must add meta-data inside the <application> tag
  • com.pushwoosh.appid is your Pushwoosh Application Code
  • com.pushwoosh.senderid is the Sender ID you received from Firebase Console
Please note that you need to add fcm_sender_id to res/values/strings.xml of your Android project:
<string name="fcm_sender_id">123456789012</string>
7. Register for push notifications:

Next steps

Share your feedback with us

Your feedback helps us create a better experience, so we would love to hear from you if you have any issues during the SDK integration process. If you face any difficulties, please do not hesitate to share your thoughts with us via this form.