The @portal-hq/gdrive-storage package contains a storage adapter intended for use with the @portal-hq/core package. This storage adapter allows end users to save backup MPC shares to their Google Drive.
@portal-hq/gdrive-storage
package contains a storage adapter intended for use with the @portal-hq/core
package.
This storage adapter allows end users to save backup MPC shares to their Google Drive.
ENABLE APIS AND SERVICES
Google Drive API
, select it, and click Enable
+ Create Credentials
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
Android Client ID
, download the JSON, and rename it to begoogle-service.json
/android/app
directory.Credentials
screen from the previous step and select Web Application.
name
. Then click create and copy the value from Your Client ID
PortalOptions
config when instantiating your portal
class.