Create a custom account type on Android for Librem One services
This explains how:
https://developer.android.com/training/id-auth/custom_auth.html#java
My rough understanding is that we need to:
-
Add a login screen to the Hub asking for Librem One username and passphrase -
Login to Librem One service with the supplied credentials and collect access tokens for social.librem.one -
Store these access tokens in Android system -
Implement some sort of "intent" in the Hub app that handles adding new accounts
Edited by Thomas Markiewicz