Skip to content

Commit

Permalink
temporarly restore browserRedirectUri
Browse files Browse the repository at this point in the history
  • Loading branch information
serdiukov-o-nordwhale committed Apr 20, 2021
1 parent 872500f commit 60cad47
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -174,9 +174,9 @@ android {
testBuildType System.getProperty('testBuildType', 'debug') // This will later be used to control the test apk build type
testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
manifestPlaceholders = [
'torusRedirectScheme': 'gooddollar',
'torusRedirectHost': 'org.gooddollar',
'torusRedirectPathPrefix': '/redirect'
'torusRedirectScheme': 'gooddollar',
'torusRedirectHost': 'org.gooddollar',
'torusRedirectPathPrefix': '/redirect'
]
}
splits {
Expand Down
3 changes: 2 additions & 1 deletion src/components/auth/torus/sdk/torus.native.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@ import { defaults } from 'lodash'

class Torus {
constructor(Config, options) {
const { publicUrl } = Config
const redirectUri = 'gooddollar://org.gooddollar/redirect'
const browserRedirectUri = redirectUri
const browserRedirectUri = `${publicUrl}/torus/scripts.html`

this.options = defaults({}, options, { redirectUri, browserRedirectUri })
}
Expand Down

0 comments on commit 60cad47

Please sign in to comment.