From edcef6fb7d781405feb2b9f043e4ce8d4a18f68c Mon Sep 17 00:00:00 2001 From: therajanmaurya Date: Sun, 25 Mar 2018 21:19:31 +0530 Subject: [PATCH] chore: add usage in readme --- README.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/README.md b/README.md index aa0c80f..f847c82 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,30 @@ # mobile-passcode Library for passcode implementation along with an optional additional feature to ask for passcode when your app resumes from background. (Works with minSDK >= 15) +Usage +----- + +In order to use the library + +**1. Gradle dependency** + + - Add the following to your project level `build.gradle`: + +```gradle +allprojects { + repositories { + maven { url 'https://dl.bintray.com/mifos/maven/' } + } +} +``` + - Add this to your app `build.gradle`: + +```gradle +dependencies { + implementation 'com.mifos.mobile:mifos-passcode:0.3.0' +} +``` + ## Example