This is to allow your app to have access to store files in your users google drive.
ENABLE APIS AND SERVICES
Google Drive API
, select it, and click Enable
+ Create Credentials
User type
to External
in order to allow external users to authenticate with Google.OAuth client ID
and choose Android
from the Application Type
listName
, Package name
, and SHA-1
from your Keystore.
keytool -keystore ./app/debug.keystore -list -v
+ Create Credentials
again, and select Oauth client ID
again. Then select Web Application
as the Application type.Name
. Then click create and copy the value from Your Client ID
.PortalOptions
config when instantiating your Portal
class.