> You asked the desktop team, but I assume we'd use this for Android too. I am
> a little concerned about the flow since Android actually has a "Sync &
> Accounts" area in the OS Settings. The creation and login would likely happen
> without any involvement with Firefox. I think we need to investigate what it
> would take to get Firefox involved in the flow, if possible. If it's tricky,
> we'd need to fallback to use a native UI, like we do now.
Embedding a GeckoView (or a WebView, which Harald Kirschner spent some time
trying to figure out last time 'round) during account creation should be
feasible. We have some control over that activity. Some of the other account
processes might be more challenging.
Doing so for everything else that lives in settings — checkboxes, status, etc.
— very much goes against the OS grain. And if we'd be touching settings and
events from elsewhere — turning on a feature from Fennec prefs UI, from a
notification, etc. — then we'd need to make sure that all of that stuff had a
pure-Java interface, had canonical state in SharedPreferences, etc. etc.
I think that the general thrust of this conversation has been "credentials into
a webview, token out, never touch the webview for anything else", so these
complexities likely won't come up, but I figured I'd draw a line there.
_______________________________________________
Sync-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/sync-dev