https://github.com/rockscripts/react-native-google-drive-api-wrapper
Communicates with Google drive through this package.
https://github.com/rockscripts/react-native-google-drive-api-wrapper
android ios javascript mobile-development npm-package react-native
Last synced: about 2 months ago
JSON representation
Communicates with Google drive through this package.
- Host: GitHub
- URL: https://github.com/rockscripts/react-native-google-drive-api-wrapper
- Owner: rockscripts
- License: apache-2.0
- Created: 2018-08-27T11:25:03.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-09-03T13:58:00.000Z (almost 8 years ago)
- Last Synced: 2026-03-22T22:35:01.364Z (3 months ago)
- Topics: android, ios, javascript, mobile-development, npm-package, react-native
- Language: JavaScript
- Homepage:
- Size: 6.89 MB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
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