chinwag-android/app/src/main
Ivan Kupalov 4d8289b245
Implement Login via WebView (#2371)
* Improve login process with newer APIs

* Implement login with WebView instead of browser tab or external browser

Oauth process requires us to open login prompt for correct instance and
we need to receive the result back. Usually it is done with redirect
parameter.

Previously we've been using BrowserTabs API and have been falling back
to just opening browser. This mostly worked but is very clumsy:

 - It relies on few system mechanisms for opening URLs in both
directions
 - Browsers do weird things and tend to break quite a bit
 - There's a good chance that the app can die in the process and we need
to recover our state.

So instead we are now using WebView. It has disadvantages (users have
to trust us to show correct page, logins are not shared w/ browser) but
it should be more reliable.

* Changes to login after review

* Move login classes to their own package

* Fix linting issues
2022-03-08 21:22:19 +01:00
..
java/com/keylesspalace/tusky Implement Login via WebView (#2371) 2022-03-08 21:22:19 +01:00
res Implement Login via WebView (#2371) 2022-03-08 21:22:19 +01:00
AndroidManifest.xml Implement Login via WebView (#2371) 2022-03-08 21:22:19 +01:00
ic_launcher-web.png new launcher icon, new adaptive icon 2017-10-19 14:06:52 +02:00
ic_launcher.svg new launcher icon, new adaptive icon 2017-10-19 14:06:52 +02:00