From c42fc94db32b2d741ce1255cde5bbfdefe4c0f66 Mon Sep 17 00:00:00 2001 From: Xelio Date: Wed, 15 May 2013 12:49:12 +0800 Subject: [PATCH] Plugin Sync: Add notice for developers --- plugins/sync.user.js | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/plugins/sync.user.js b/plugins/sync.user.js index 30beb4fe..bf1ad693 100644 --- a/plugins/sync.user.js +++ b/plugins/sync.user.js @@ -19,6 +19,19 @@ if(typeof window.plugin !== 'function') window.plugin = function() {}; // PLUGIN START //////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////// +// Notice for developers: +// +// You should treat the data stored on Google Realtime API as volatile. +// Because if there are change in Google API client ID, Google will +// treat it as another application and could not access the data created +// by old client ID. Store any important data locally and only use this +// plugin as syncing function. +// +// Google Realtime API reference +// https://developers.google.com/drive/realtime/application +//////////////////////////////////////////////////////////////////////// + // use own namespace for plugin window.plugin.sync = function() {};