Socket
Socket
Sign inDemoInstall

react-native-google-drive-api

Package Overview
Dependencies
0
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-google-drive-api

Call Google Drive functions with this Api wrapper.


Version published
Maintainers
1
Weekly downloads
1

Weekly downloads

Readme

Source

Google Drive API Wrapper for React Native Applications

Communicates with Google drive through this package.

Give a donation and i will send full development manual, test application runing with this API Wrapper and remote support.

Donate in Patreon

Tier:

https://bit.ly/2wzXPKQ

Donate Some Crypto

BITCOIN:

17nunWK3iF6vMav7aZV1s9jJTgNSBQiakr

ETHER:

0x1DF4dc4Da9563Eaa388E17FC441068dBd1587587

BITCOIN CASH:

qp98lzgt8dcuhfvxdv25wlr6eu6zapaajy6h38vg3g

Import and call methods

Import in your react native application.
import {GoogleDrive} from 'react-native-google-drive-api';



The follow methods are available:

Set Access Token
GoogleDrive._setAccessToken(myAccessToken);

Get Access Token
GoogleDrive._getAccessToken();

About
GoogleDrive._about([{name:'fields',value:'user,storageQuota'}]).then((responseAbout)=>
      { 
          console.log(responseAbout)                 
      }); 

Changes

getStartPageToken

GoogleDrive._changes_getStartPageToken([]).then((responseStartPageToken)=>
      { 
          if(this.state.loaded==false)
          {
            this.setState({responseStartPageToken:responseStartPageToken,loaded:true})
          }                  
      }); 

list

GoogleDrive._changes_list([{'name':'pageToken','value':pageToken}]).then((responseList)=>
      { 
          if(this.state.loaded==false)
          {
            this.setState({responseList:responseList,loaded:true})
          }                  
      }); 

watch

GoogleDrive._changes_watch([{'name':'pageToken','value':pageToken}]).then((responseWatch)=>
      { 
          if(this.state.loaded==false)
          {
            this.setState({responseWatch:responseWatch,loaded:true})
          }                  
      }); 

Channels


Comments


Files


Permissions


Replies


Revisions


Teamdrives

Keywords

FAQs

Last updated on 03 Sep 2018

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc