enuchi / React-Google-Apps-Script

This is your boilerplate project for developing React apps inside Google Sheets, Docs, Forms and Slides projects. It's perfect for personal projects and for publishing complex add-ons in the Google Workspace Marketplace.
MIT License
1.34k stars 178 forks source link

Any luck developing with Safari? #94

Closed alexblack closed 3 years ago

alexblack commented 3 years ago

Thanks for this library - we're having success using it to build an addon with React. While our addon works in Chrome in development, it doesn't start up in Safari in development (it does work in production though).

I get:

serverFunctions.myFunctionNameHere is not a function.

enuchi commented 3 years ago

Hey @alexblack, thanks for pointing this out. Looks like it's an issue with gas-client, which is what I built to support local development. Think I've identified what the issue is so hope to patch soon! Will post again here when I fix.

alexblack commented 3 years ago

Fantastic!

enuchi commented 3 years ago

Hi @alexblack, can you run npm install gas-client@latest in your project and see if it works in Safari in development?

alexblack commented 3 years ago

Hi @alexblack, can you run npm install gas-client@latest in your project and see if it works in Safari in development?

Yes, amazing, I can confirm it works in Safari. Thanks again!!

enuchi commented 3 years ago

Fixed by #97 and https://github.com/enuchi/gas-client/pull/14