What is the server address for Ionic View?


#1

Hello! I am trying to integrate the Gmail API with my Ionic app (see JS quickstart page here). The API requires an Authorized JavaScript Origin URL, which is the server where the app is hosted. I usually put http://localhost:8100 in this field, which is where Ionic Serve hosts the app. This works and I can connect to Gmail fine with Ionic Serve. However, when I’m using Ionic View, the connection to the Gmail API is lost because it is no longer on localhost:8100.

Does anyone have an idea what address Ionic View hosts the app on, or where I could find this information? I’ve looked through everything and am stumped.

Thank you so much for your help!