This plugin has not been extensively tested, use it at your own risk.
This plugin, at it's current state, brings support only for the android platform.
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
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.