File tree Expand file tree Collapse file tree 4 files changed +11
-5
lines changed
core/src/main/java/com/openlogin/core Expand file tree Collapse file tree 4 files changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,11 @@ android {
2020 targetSdkVersion 31
2121 versionCode 1
2222 versionName " 1.0"
23+ manifestPlaceholders = [
24+ ' torusRedirectScheme' : ' torusapp' ,
25+ ' torusRedirectHost' : ' org.torusresearch.openloginexample' ,
26+ ' torusRedirectPathPrefix' : ' /redirect'
27+ ]
2328
2429 testInstrumentationRunner " androidx.test.runner.AndroidJUnitRunner"
2530 }
Original file line number Diff line number Diff line change 2727 <category android : name =" android.intent.category.DEFAULT" />
2828 <category android : name =" android.intent.category.BROWSABLE" />
2929
30- <!-- Accept URIs: http://localhost[:*]/redirect/* -->
3130 <data
32- android : host =" org.torusresearch.openloginexample"
33- android : pathPrefix =" /redirect"
34- android : scheme =" torusapp" />
31+ android : host =" ${torusRedirectHost}"
32+ android : pathPattern =" /*"
33+ android : pathPrefix =" ${torusRedirectPathPrefix}"
34+ android : scheme =" ${torusRedirectScheme}" />
3535 </intent-filter >
3636 <intent-filter >
3737 <action android : name =" android.intent.action.VIEW" />
Original file line number Diff line number Diff line change 3232 android : id =" @+id/etEmailHint"
3333 android : layout_width =" match_parent"
3434 android : layout_height =" wrap_content"
35+ android : hint =" Enter Email"
3536 android : layout_margin =" 32dp"
3637 android : minHeight =" 48dp"
3738 android : visibility =" gone"
Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ class OpenLogin(openLoginOptions: OpenLoginOptions) {
113113 return loginCompletableFuture
114114 }
115115
116- fun logout (params : Map <String , Any >? = null) : CompletableFuture <Void >{
116+ fun logout (params : Map <String , Any >? = null) : CompletableFuture <Void > {
117117 request(" logout" , params)
118118
119119 logoutCompletableFuture = CompletableFuture ()
You can’t perform that action at this time.
0 commit comments