24
1
Fork 0

Use the production fxa server and app id

This commit is contained in:
Donovan Preston 2018-11-27 18:17:23 -05:00
parent fb782aa147
commit e55aa7cb86
1 changed files with 2 additions and 2 deletions

View File

@ -80,8 +80,8 @@ class MainActivity : AppCompatActivity(), AdvancedWebView.Listener {
}
fun beginOAuthFlow() {
Config.custom("https://send-fxa.dev.lcip.org").then(fun (value: Config): FxaResult<Unit> {
mAccount = FirefoxAccount(value, "8ee4e99dcddd0997", "https://send.firefox.com/fxa/android-redirect.html")
Config.release().then(fun (value: Config): FxaResult<Unit> {
mAccount = FirefoxAccount(value, "20f7931c9054d833", "https://send.firefox.com/fxa/android-redirect.html")
mAccount?.beginOAuthFlow(arrayOf("profile", "https://identity.mozilla.com/apps/send"), true)?.then(fun (url: String): FxaResult<Unit> {
Log.w("CONFIG", "GOT A URL " + url)
this@MainActivity.runOnUiThread({