chinwag-android/app/src/main/res
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
..
anim fix some lint warnings 2019-04-21 08:24:29 +02:00
color Theme refactoring (#1656) 2020-01-30 21:37:28 +01:00
drawable Drafts v2 (#2032) 2021-01-21 18:57:09 +01:00
drawable-hdpi update minSdkVersion to 21 (#843) 2018-09-16 18:54:12 +02:00
drawable-mdpi update minSdkVersion to 21 (#843) 2018-09-16 18:54:12 +02:00
drawable-v24 2019 Emoji Update (#1261) 2019-06-06 21:51:56 +02:00
drawable-v26 enable multiple hashtags in one hashtag tab (#1790) 2020-05-15 22:10:29 +02:00
drawable-xhdpi update minSdkVersion to 21 (#843) 2018-09-16 18:54:12 +02:00
drawable-xxhdpi update minSdkVersion to 21 (#843) 2018-09-16 18:54:12 +02:00
drawable-xxxhdpi update minSdkVersion to 21 (#843) 2018-09-16 18:54:12 +02:00
layout Implement Login via WebView (#2371) 2022-03-08 21:22:19 +01:00
layout-land Redesign report activity (#1295) 2019-06-09 16:55:34 +02:00
layout-sw640dp Drafts v2 (#2032) 2021-01-21 18:57:09 +01:00
menu Add "open as" to profiles (#2340) 2022-02-25 18:55:58 +01:00
mipmap-anydpi-v26 delete unused stuff (#1601) 2019-12-21 17:32:42 +01:00
raw Update gradle, kotlin and other dependencies (#2291) 2022-01-20 21:10:32 +01:00
values Instance configuration: the easy parts (#2341) 2022-03-01 19:43:36 +01:00
values-ar Translated using Weblate (French) 2022-03-06 16:40:28 +00:00
values-ber remove SavedToots (#2141) 2021-05-16 19:17:56 +02:00
values-bg remove SavedToots (#2141) 2021-05-16 19:17:56 +02:00
values-bn-rBD fix bad strings 2022-02-18 20:30:27 +01:00
values-bn-rIN remove SavedToots (#2141) 2021-05-16 19:17:56 +02:00
values-ca remove SavedToots (#2141) 2021-05-16 19:17:56 +02:00
values-ckb remove SavedToots (#2141) 2021-05-16 19:17:56 +02:00
values-cs remove SavedToots (#2141) 2021-05-16 19:17:56 +02:00
values-cy remove SavedToots (#2141) 2021-05-16 19:17:56 +02:00
values-de Translated using Weblate (German) 2022-02-21 18:32:21 +00:00
values-el Translated using Weblate (Greek) 2021-05-16 16:34:41 +00:00
values-en-rGB Translated using Weblate (Italian) 2020-07-21 15:26:26 +00:00
values-eo Translated using Weblate (French) 2022-02-11 18:40:39 +00:00
values-es Translated using Weblate (Basque) 2021-11-16 16:18:26 +00:00
values-eu Translated using Weblate (Basque) 2021-11-16 16:18:26 +00:00
values-fa fix bad strings 2022-02-18 20:30:27 +01:00
values-fi Translated using Weblate (Finnish) 2021-06-21 02:17:57 +00:00
values-fr Translated using Weblate (French) 2022-03-06 16:40:28 +00:00
values-fy Translated using Weblate (Frisian) 2021-09-17 19:51:05 +00:00
values-ga Translated using Weblate (Bengali (Bangladesh)) 2022-02-18 19:22:58 +00:00
values-gd Translated using Weblate (Gaelic) 2022-03-06 16:40:28 +00:00
values-gl Translated using Weblate (Galician) 2021-11-16 16:18:26 +00:00
values-hi remove SavedToots (#2141) 2021-05-16 19:17:56 +02:00
values-hu Translated using Weblate (Hungarian) 2022-02-09 19:25:09 +00:00
values-is Translated using Weblate (Icelandic) 2022-03-06 16:40:28 +00:00
values-it Translated using Weblate (Italian) 2021-06-13 19:14:37 +00:00
values-ja Translated using Weblate (Japanese) 2021-06-13 19:14:37 +00:00
values-kab Translated using Weblate (Kabyle) 2022-02-11 18:40:39 +00:00
values-ko remove SavedToots (#2141) 2021-05-16 19:17:56 +02:00
values-large Theme refactoring (#1656) 2020-01-30 21:37:28 +01:00
values-ml Translated using Weblate (Malayalam) 2021-11-16 16:18:26 +00:00
values-night Highlight your own votes when displaying poll results (#2242) 2021-09-17 22:12:17 +02:00
values-nl Translated using Weblate (Bengali (Bangladesh)) 2022-02-18 19:22:58 +00:00
values-no-rNB Translated using Weblate (Norwegian Bokmål) 2022-03-06 16:40:28 +00:00
values-oc Translated using Weblate (French) 2022-03-06 16:40:28 +00:00
values-pl Translated using Weblate (Polish) 2021-12-06 22:03:08 +00:00
values-pt-rBR Translated using Weblate (Portuguese (Brazil)) 2022-03-06 16:40:28 +00:00
values-ru Translated using Weblate (Russian) 2022-02-15 16:04:05 +00:00
values-sa remove SavedToots (#2141) 2021-05-16 19:17:56 +02:00
values-si Translated using Weblate (Sinhala) 2021-12-05 18:12:57 +00:00
values-sk remove SavedToots (#2141) 2021-05-16 19:17:56 +02:00
values-sl Translated using Weblate (Bengali (Bangladesh)) 2022-02-18 19:22:58 +00:00
values-small Implement media tab (#430) 2017-11-05 22:32:36 +01:00
values-sv remove SavedToots (#2141) 2021-05-16 19:17:56 +02:00
values-sw380dp ComposeActivity refactor (#1541) 2019-12-19 19:09:40 +01:00
values-ta remove SavedToots (#2141) 2021-05-16 19:17:56 +02:00
values-th fix bad strings 2022-02-18 20:30:27 +01:00
values-tr Translated using Weblate (Turkish) 2021-10-07 16:02:48 +00:00
values-uk Translated using Weblate (Ukrainian) 2022-03-06 16:40:28 +00:00
values-v27 [Tusky10] adjust poll result background, status divider & button outline color (#1685) 2020-02-14 19:03:18 +01:00
values-vi Translated using Weblate (Vietnamese) 2022-03-06 16:40:28 +00:00
values-w640dp some Optimizations for tablets (#647) 2018-05-16 19:14:53 +02:00
values-zh-rCN Translated using Weblate (Chinese (Simplified)) 2022-03-06 16:40:28 +00:00
values-zh-rHK remove SavedToots (#2141) 2021-05-16 19:17:56 +02:00
values-zh-rMO remove SavedToots (#2141) 2021-05-16 19:17:56 +02:00
values-zh-rSG remove SavedToots (#2141) 2021-05-16 19:17:56 +02:00
values-zh-rTW remove SavedToots (#2141) 2021-05-16 19:17:56 +02:00
xml Settings refactor (#1615) 2020-06-08 09:21:12 +02:00