Skip to content

Android client library used to talk to any of the server side libraries, avoids have client secret exposed to the app

License

Notifications You must be signed in to change notification settings

aminkhan1/android_client_side_library

 
 

Repository files navigation

GSMA MobileConnect Android Client Side Library

Mobile Connect is a mobile identity service based on the OpenID Connect & OAuth2 where end users can authenticate themselves using their mobile phone via Mobile Connect. This allows them access to websites and applications without the need to remember passwords and usernames. It’s safe, secure and no personal information is shared without their permission.

This example client side application demonstrates how to integrate client side library with server side library. Application folder includes With Discovery and Without Discovery modes.

Note: if you operate in the EU then you should use EU Discovery Service domain in discovery URL: eu.discover.mobileconnect.io

Pre-requisites

  • Android SDK 20 or higher
  • Android Build Tools v27.0.3 or higher
  • Gradle Wrapper v3.5.1 or higher

Quick Start

  • Download the Mobile Connect client side library.
  • Open project in Android Studio.
  • Download and install any missing dependencies or plugins from the links displayed in the console output.
  • Open the configuration file: (local-path/Application/src/main/res/values/configuration.xml/). Here are the following parameters for With Discovery and Without Discovery modes: (your server side endpoint for demo with discovery your server side endpoint for demo without discovery default msisdn default msisdn for without discovery mode default mcc default mnc) Be sure to provide your server side endpoint or server side without discovery endpoint to interact with server side SDK.

Note: you can not change the server side endpoints while application is running.

You can also configure your MSISDN, MCC and MNC, IP address for With Discovery App if it's necessary, or you can configure MSISDN for Without Discovery App. You can change the parameters above while application is running (except server side endpoints).

  • Build the Application and ClientSideLibrary.
  • With your configuration specified in the configuration file and using user interface, you have everything you need to make a successful call to the server side library by pressing 'Mobile Connect' button.

Note: Your client side library will work only with server side library. Please, see links to the server side libraries.

Support

If you encounter any issues which are not resolved by consulting the resources below then send us a message

Resources

About

Android client library used to talk to any of the server side libraries, avoids have client secret exposed to the app

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 100.0%