I develop web/phone app that uses Google Endpoints. App properly works from localhost and when deployed to GAE. App also properly works in Intel XDK emulator and when debugged in Intel XDK App Preview on device.
App doesn't works when run on Android device as .apk
. Looks like it cannot make call to Google Endpoints.
It also doesn't works when running in browser from file system. In this case I see the exception:
Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('file://') does not match the recipient window's origin ('null').
Some answers (Google API in Javascript) provide information that issue can be solved by changing configuration on Google Console, but I cannot found anything in Google Console that related to origin.
I am new to mobile development, so I can had miss something obvious.
Any help will be very appreciated.