Skip to content

TW-1208: [research] GoogleDrive for iOS#1008

Draft
alex-tsx wants to merge 2 commits into
developmentfrom
TW-1208-research-gdrive-for-ios
Draft

TW-1208: [research] GoogleDrive for iOS#1008
alex-tsx wants to merge 2 commits into
developmentfrom
TW-1208-research-gdrive-for-ios

Conversation

@alex-tsx

Copy link
Copy Markdown
Collaborator
  • TW-1208: [research] GoogleDrive for iOS. + react-native-google-drive-api-wrapper
  • TW-1208: [research] GoogleDrive for iOS. + iOS support

@alex-tsx

Copy link
Copy Markdown
Collaborator Author

To see, how Google Drive on iOS works, you can try:

GoogleDriveAPI.requestSignInToCloud()
  .then(res => {
    console.log(1, res);

    return GoogleDriveAPI.doesCloudBackupExist();
  })
  .then(res => {
    console.log(2, res);

    return GoogleDriveAPI.fetchCloudBackup();
  })
  .then(res => {
    console.log(3, res);

    return GoogleDriveAPI.saveCloudBackup(
      'system key zone during luggage diagram robust ivory setup scrap stable heart',
      'Aaa@123'
    );
  })
  .then(res => {
    console.log(4, res);

    return GoogleDriveAPI.doesCloudBackupExist();
  })
  .then(res => {
    console.log(5, res);

    return GoogleDriveAPI.fetchCloudBackup();
  })
  .then(res => {
    console.log(6, res);
  })
  .catch(error => {
    console.error('E:', error);
  });

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant