AccountAuthenticatorActivity has now been deprecated. I like to use the AccountManager from Android as it allows you to share auth tokens between your suite of apps. However, the current way we are doing this is (1) messy and (2) using a deprecated AccountAuthenticatorActivity.
What we want to do:
Follow this guide about AccountManager to replace the current implementation of the app in there.
Goals:
Allow passwordless token exchange type of login with the AccountManager. My idea is that when the AccountManager gives you an Intent to launch, you can launch via startActivity() instead of startActivityForResult(). Then when you have an auth token, you can save it into AccountManager and move on with your app.
Simplify this app's UI with login. There are 6 activities right now for login alone and it's complex. The LaunchActivity is even complex.
AccountAuthenticatorActivity
has now been deprecated. I like to use theAccountManager
from Android as it allows you to share auth tokens between your suite of apps. However, the current way we are doing this is (1) messy and (2) using a deprecatedAccountAuthenticatorActivity
.What we want to do:
AccountManager
to replace the current implementation of the app in there.Goals:
AccountManager
. My idea is that when theAccountManager
gives you anIntent
to launch, you can launch viastartActivity()
instead ofstartActivityForResult()
. Then when you have an auth token, you can save it intoAccountManager
and move on with your app.AccountAuthenticatorActivity
gradle dependency