Skip to content

Latest commit

 

History

History
16 lines (10 loc) · 935 Bytes

README.md

File metadata and controls

16 lines (10 loc) · 935 Bytes

eggy example Android (Java) application

This is a tiny Java application to demonstrate how eggy's Android SDK works.

Build steps are provided below, but for comprehensive instructions, please visit the eggy docs on push notification integration.

How to build this

  1. Make sure you have Android Studio installed.
  2. Open the hello-eggy-android-java directory in Android Studio.
  3. Run the application from Android Studio.

To test this with Firebase and your real eggy account

  1. Create a Firebase project, add a google-services.json to the root of the hello-eggy-android-java directory, and set your Firebase sender id in res/values/strings.xml.
  2. Make an app in the eggy console (from Apps), generate an API token, and copy the API token from your App detail page. Use this token to set apiToken in SingleFragmentActivity.java.