From e55aa7cb86da1d30f0e16978d834119d6772e404 Mon Sep 17 00:00:00 2001 From: Donovan Preston Date: Tue, 27 Nov 2018 18:17:23 -0500 Subject: [PATCH] Use the production fxa server and app id --- .../app/src/main/java/org/mozilla/sendandroid/MainActivity.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/android/app/src/main/java/org/mozilla/sendandroid/MainActivity.kt b/android/app/src/main/java/org/mozilla/sendandroid/MainActivity.kt index 2b6901a4..e0a5730e 100644 --- a/android/app/src/main/java/org/mozilla/sendandroid/MainActivity.kt +++ b/android/app/src/main/java/org/mozilla/sendandroid/MainActivity.kt @@ -80,8 +80,8 @@ class MainActivity : AppCompatActivity(), AdvancedWebView.Listener { } fun beginOAuthFlow() { - Config.custom("https://send-fxa.dev.lcip.org").then(fun (value: Config): FxaResult { - mAccount = FirefoxAccount(value, "8ee4e99dcddd0997", "https://send.firefox.com/fxa/android-redirect.html") + Config.release().then(fun (value: Config): FxaResult { + 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 { Log.w("CONFIG", "GOT A URL " + url) this@MainActivity.runOnUiThread({