Mobile-Logger icon indicating copy to clipboard operation
Mobile-Logger copied to clipboard

Keys.js Missing

Open hacKarim opened this issue 11 years ago • 1 comments

Hi, this is the print on my debugger [ERROR] : Script Error Could not find the file keys.js [ERROR] : Script Error { [ERROR] : backtrace = "#0 () at :0"; [ERROR] : line = 54; [ERROR] : message = "Can't find variable: GoogleAPI"; ...

I'm guessing keys.js should contain at the googleAPI variable. But i can't find an example on how to do so...

hacKarim avatar Oct 22 '13 08:10 hacKarim

It seems that I omitted the template file for keys.js. Make a file with that name in the Resources dir, containing the following:

// this file contains keys for third-party services and APIs
// it should *never* be committed to the repo
var GoogleAPI = {
    clientId : '<your client id>',
    clientSecret : '<your client secret>',
};

rcarlsen avatar Oct 22 '13 12:10 rcarlsen