How to publish Google apps script add-on with Picker API? -


i started learn google picker api , read file-open dialogs in google apps guide. tested sample code , worked fine, don't understand whether can publish google apps script add-on including feature. concern there 'developer_key' on code. don't know how 'developer_key' publishing, please help.

edit: question follows: correct way write down browser key on script, publishing google apps script add-on?

isn't dangerous publish browser key value? can add-on users see code.gs and/or page.html?

you can publish add-on picker. have publish add-ons using picker myself(private domain or else share them you).
find key, editor open resources menu , select developers console project. click link open project script associated with.
developers console project, assuming have enabled picker api, open credentials menu. if have created browser key listed here. if havent, click create new key under public api access, select browser key.
referers need add in text box are: *.google.com *.googleusercontent.com once have entered these click create. developer key listed api key browser application key. use in code, assign value developer_key variable.


Comments

Popular posts from this blog

Fail to load namespace Spring Security http://www.springframework.org/security/tags -

sql - MySQL query optimization using coalesce -

unity3d - Unity local avoidance in user created world -