Idemtree / cordova-plugin-google-sheets

GNU General Public License v2.0
1 stars 1 forks source link

Google Sheets Cordova Plugin

Description

This plugin has not been extensively tested, use it at your own risk.

Supported platforms

This plugin, at it's current state, brings support only for the android platform.

Installation instructions

Change directory to the root of your cordova project and run:

cordova plugin add cordova-plugin-google-sheets

Or if you are using Ionic Framework®.

ionic cordova plugin add cordova-plugin-google-sheets

Usage

If you are writing your app with Ionic Framework®. There is a typescript wrapper available at NPM. Just change directory into your project's root and type.

npm install @sumaq-plugins/google-sheets --save

Then just use the import statement like this:

import { GoogleSheets } from '@sumaq-plugins/google-sheets'

If you want to stick with javascript, you can access the plugin using cordova's require:

cordova.require('cordova-plugin-google-sheets.GoogleSheets');

The previous code listing returns an instance of the GoogleSheets javascript interface.

Documentation is still under work, feel free to browse the code of the SheetsApiTest app for further reference.