-
-
Notifications
You must be signed in to change notification settings - Fork 39
Setting up Google Drive API
These steps are required for Notes Backup with Google Drive.
1. Create a Google Cloud project
Go to Google Cloud Console and click on "New Project".
Call the project "Unique Bible App"
2. Create OAuth client ID credentials
Go to Menu > APIs & Services > Credentials
Click on "Create Credentials" at the top and select "Oauth client ID".
Select "Desktop App" for Application type.
Enter "Unique Bible App" for name.
It will then show a window that says "OAuth client created". Click on the "Download JSON" link. It will download a file like "client_secret_1234567890.apps.googleusercontent.com.json". Rename this file to "credentials.json" and place it in the UBA root folder.
Go to Menu > APIs & Services > Library
Search for "google drive api" and click on "Google Drive API"
Click on "Manage", then click on "Enable"
Under "Credentials", verify the "Unique Bible App" Oauth is selected.
Click on "Oauth consent screen" in the left menu. Verify Publishing status is "In Production".
When you first run this, it will ask for the Google account to use.
Choose your google account

Select "Advanced"
(Do not worry! Our app do NOT collect any of your information.)
(Remarks: You credentials is stored locally on your device. It is used only for communicating with google-drive.)
(UBA does NOT collect your data.)

Select "Go to ..."

Select "Allow"

Select "Allow"

If you get "Failed to upload bible notes!". Try stopping UBA, delete the file "token.pickle", then restart UBA.