chinwag-android/app
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
..
schemas/com.keylesspalace.tusky.db.AppDatabase Instance configuration: the easy parts (#2341) 2022-03-01 19:43:36 +01:00
src Implement Login via WebView (#2371) 2022-03-08 21:22:19 +01:00
.gitignore Adds a forgotten keystore. 2017-06-02 04:47:22 -04:00
build.gradle update Android Image Cropper and get rid of deprecated onActivityResult (#2351) 2022-03-02 20:39:56 +01:00
proguard-rules.pro fix crash in drafts caused by minification of DraftAttachment (#2337) 2022-02-14 19:20:15 +01:00