Trying to make using Simperium in your Android app dead simple.
Simperium for Android is configured as an Android Library Project.
TODO: brief code example/tutorial :)
To get started first clone the project:
git clone https://github.com/Simperium/simperium-android.git
Simperium Android uses Android Studio and gradle for development.
Please provide unit tests for your contributions. Run tests with gradle:
./gradlew connectedInstrumentTest
Unit tests use a mock networking and storage stack so that different components can be tested in isolation. The unit tests should not connect to any external services.
To run the integration tests use the gradlew
command:
./gradlew :SimperiumIntegrationTests:connectedInstrumentTest
These tests require a connection to Simperium.com as well as a configured App ID and App Token which can be found on the Simperium.com dashboard for your account as well as a configured user and access token. These values should be defined in SimperiumIntegrationTests/src/main/assets/simperium.properties
:
simperium.appid=APP_ID
simperium.appsecret=APP_SECRET
simperium.user.email=USER_EMAIL
simperium.user.token=USER_TOKEN