- Clone the repo and open
courier-android
with Android Studio - Open terminal navigate to root directory run
sh env_setup.sh
- Navigate to
app/java/com/courier/example/Env.kt
- Provide your FCM (Firebase Cloud Messaging) and Courier credentials
From here, you are all set to start working on the package! 🙌
While developing, you can run the project from Android Studio to test your changes. To see any changes you make in your library code will be reflected in the example app everytime you rebuild the app.
To make package changes:
- Edit code inside of the
android
directory
To test the package changes in the example app:
- Run
app
To run automated tests:
- Run
android/src/androidTest/com/courier/android/CourierTests
- Requires proper
Env.kt
settings
- Requires proper
To release a new build of the SDK:
- Change the
VERSION
ofandroid/java/com/courier/android/Courier.kt
to the SDK value you'd like to use - Run
sh release.sh
from root- Required access to create builds in Github with Github CLI
- Release are distributed via Jitpack.io. You can check on the progress of the release here