This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { Component } from 'react'; | |
import { Platform, StyleSheet, Text, View } from 'react-native'; | |
import OrgChart from './Orgchart'; | |
import NodeComponent from './NodeComponent'; | |
const instructions = Platform.select({ | |
ios: 'Press Cmd+R to reload,\n' + 'Cmd+D or shake for dev menu', | |
android: 'Double tap R on your keyboard to reload,\n' + 'Shake or press menu button for dev menu', | |
}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import GoogleSignIn from 'react-native-google-sign-in' | |
const url = 'https://www.googleapis.com/drive/v3' | |
const uploadUrl = 'https://www.googleapis.com/upload/drive/v3' | |
const boundaryString = 'foo_bar_baz' // can be anything unique, needed for multipart upload https://developers.google.com/drive/v3/web/multipart-upload | |
let apiToken = null |