From fab7ab8272898ff1bc08194f8ea3291dafea5148 Mon Sep 17 00:00:00 2001 From: Revant Nandgaonkar Date: Sun, 7 Jan 2018 16:07:22 +0530 Subject: [PATCH] [Fix] internal version --- README.md | 24 +++++++++--------------- app/build.gradle | 5 ++--- 2 files changed, 11 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index fec1788..eaf4b2e 100644 --- a/README.md +++ b/README.md @@ -13,16 +13,14 @@ https://jitpack.io/#mntechnique/MobileOTPAuthenticator ``` - your_client_id - Your App Name - /api/method/frappe.integrations.oauth2.authorize - /api/method/frappe.integrations.oauth2.get_token - /api/method/frappe.integrations.oauth2.openid_profile - oauth://oauth2authenticator - http://test.mntechnique.com - openid all - your_client_secret - 1 + + org.agrinext.agrimobile + http://192.168.0.108:8000 + 0123456789 + 0 + MNTECH + /api/method/agrinext.otp.get + /api/method/agrinext.otp.authenticate ``` @@ -38,11 +36,7 @@ Override mipmap/ic_launcher and mipmap/ic_launcher_round to change account icons Initialize AuthRequest with Oauth 2.0 client details. ``` -final AuthRequest authRequest = new AuthRequest( - getApplicationContext(), - oauth2Scope,clientId,clientSecret, serverURL, - redirectURI, authEndpoint, tokenEndpoint); - +final AuthRequest authRequest = new AuthRequest(oauth2Scope, clientId, clientSecret, serverURL, redirectURI); ``` Set Callbacks and request diff --git a/app/build.gradle b/app/build.gradle index 0253dc8..0e75bc3 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -7,8 +7,8 @@ android { defaultConfig { minSdkVersion 15 targetSdkVersion 26 - versionCode 10 - versionName "1.1.1" + versionCode 12 + versionName "2.0.1" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" } buildTypes { @@ -34,7 +34,6 @@ dependencies { compile 'com.android.volley:volley:1.1.0' testCompile 'junit:junit:4.12' compile "org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version" - // Anko compile "org.jetbrains.anko:anko:$anko_version" // Appcompat-v7 (only Anko Commons)