All Projects → aerogear → android-showcase-template

aerogear / android-showcase-template

Licence: Apache-2.0 license
Showcase template app for the AeroGear Android SDK

Programming Languages

java
68154 projects - #9 most used programming language
groovy
2714 projects
shell
77523 projects

API Known Vulnerabilities

Secure Native Android Template

A Native Android Application that demonstrates Secure Mobile Development Practises.

For more information, please check the Mobile Security Project.

Binary Scanning with Kryptowire

Everytime when a PR is merged to master, the build script will automatically push the built binary to Kryptowire for security scanning.

Features

  • OpenID Connect Authentication

  • Mobile Access Control

  • Client Cert Authentication

  • Certificate Pinning

  • Code Obfuscation (with Proguard)

  • Secure Data Storage

  • Device Trust Checks (Root Access, Emulator Access etc)

  • 2FA with OTP (via Keycloak)

  • Authentication Brute Force Detection (via Keycloak)

  • Account Lockout Policies (via Keycloak)

  • Authentication/Access Control Auditing & Logging (via Keycloak)

  • Authenticated Calls to Protected Endpoints (via Keycloak)

Run Showcase

The master branch will always track to the latest release of the SDK.

To run the showcase app

git clone [email protected]:aerogear/android-showcase-template.git

Open showcase app in Android Studio and select the build variant release or debug to run the showcase with the latest release, or select build variant local to run the show case with a locally installed version of the SDK

Build Instructions

For full build instructions please take some time to read our Contributing Guide

Work with Different Backend Services

By default the app will use the backend services that are running on a dedicated OpenShift cluster for demonstration purpose.

You can also configure the app to run against different backend services:

Keycloak Configuration

The Keycloak configuration is saved in the mobile-services.json file.

Code
link:https://raw.githubusercontent.com/aerogear/android-showcase-template/master/app/src/main/assets/mobile-services.json[]

Work with Self-signed Certificate

By default, the app will not work with self-signed certificate due to security reasons. However, to help with local development, you may need to support it. Docs.aerogear.org has full configuration instructions.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].