Android example application using the Onegini SDK.
Branch: master
Clone or download
Latest commit b02ec4c Nov 16, 2018

Android Example App

The Android Example App is using the Onegini Android SDK to perform secure authentication and resource calls. Please have a look at the App developer quickstart if you want more information about how to get setup with this example app.

Resolving dependencies

Before you can compile the application it must be able to resolve it's dependencies. The Onegini Android SDK is one of those dependencies. We have an Artifactory repository that distributes the required dependencies. Make sure that you have access to the Onegini Artifactory repository ( If you don't have access, no problem just go to the App developer quickstart and perform the first step. Access to Artifactory is required to let Gradle download the Onegini Android SDK library.

When you have access you have to make sure that your Artifactory username and password are set in the file in your Gradle user home (e.g. ~/.gradle):

Example contents of the file in you Gradle user home:


See the documentation below for instructions on setting Gradle properties:

Receiving push messages (optional)

In order to use the Firebase Cloud Messaging you need to replace sample app/google-services.json file with one downloaded from the Firebase Console. If you need more information on how to set it up, please take a look at Google Documentation.

If you ignore this step, you won't be able to receive push messages from the Token Server.