Skip to content

raedur/simperium-android

 
 

Repository files navigation

Simperium for Android

Trying to make using Simperium in your Android app dead simple.

Using in an Android Project

Simperium for Android is configured as an Android Library Project.

TODO: brief code example/tutorial :)

Contributing

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.

Tests

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.

Running Integration Tests

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

About

Simperium Android Client

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 99.3%
  • Groovy 0.7%