This is a sample Android application that demonstrates multi-flavor push notifications setup using Firebase and JPush. The application has two flavors - Firebase and JPush - to showcase the different push notification setups.
The Firebase flavor demonstrates how to setup push notifications using Firebase Cloud Messaging (FCM). The setup includes creating a Firebase project, configuring the Firebase SDK in the Android application, and sending push notifications to the device using the Firebase console.
The JPush flavor demonstrates how to setup push notifications using JPush, a popular push notification service in China. The setup includes creating a JPush account, configuring the JPush SDK in the Android application, and sending push notifications to the device using the JPush console.
To run the application, follow these steps:
- Clone this repository
- Open the project in Android Studio
- Select the flavor you want to run (Firebase or JPush) from the Build Variants tab in the Android Studio toolbar
- Run the application on an emulator or physical device