Skip to content

Commit

Permalink
Upgrade App Services breaking API changes in 0.55.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jonalmeida committed Mar 19, 2020
1 parent ac74756 commit 5a54067
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import android.os.Build
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.launch
import mozilla.appservices.fxaclient.Config.Server
import mozilla.components.browser.storage.sync.PlacesHistoryStorage
import mozilla.components.browser.storage.sync.RemoteTabsStorage
import mozilla.components.concept.sync.DeviceCapability
Expand Down Expand Up @@ -47,7 +48,7 @@ class BackgroundServices(
GlobalSyncableStoreProvider.configureStore(SyncEngine.Tabs to remoteTabsStorage)
}

private val serverConfig = ServerConfig.release(CLIENT_ID, REDIRECT_URL)
private val serverConfig = ServerConfig(Server.RELEASE, CLIENT_ID, REDIRECT_URL)
private val deviceConfig = DeviceConfig(
name = "Reference Browser on " + Build.MANUFACTURER + " " + Build.MODEL,
type = DeviceType.MOBILE,
Expand Down

0 comments on commit 5a54067

Please sign in to comment.