Skip to content

Commit

Permalink
Merge pull request #56 from frontegg/multi-app-support-fixing
Browse files Browse the repository at this point in the history
Fixed initWithRegion
  • Loading branch information
alex-minaiev-frontegg authored Jul 29, 2024
2 parents 7a2d8ba + b396f81 commit 610fd1b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions android/src/main/java/com/frontegg/android/FronteggApp.kt
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ class FronteggApp private constructor(

this.baseUrl = config.baseUrl
this.clientId = config.clientId
this.applicationId = config.applicationId
this.auth.reinitWithRegion(config)


Expand Down
1 change: 1 addition & 0 deletions android/src/main/java/com/frontegg/android/FronteggAuth.kt
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ class FronteggAuth(
this.baseUrl = region.baseUrl
this.clientId = region.clientId
this.applicationId = region.applicationId
this._api = null

this.initializeSubscriptions()
}
Expand Down

0 comments on commit 610fd1b

Please sign in to comment.