Closed jsbriantes closed 6 years ago
@jsbriantes This may have to do with the cordova white list plugin. Have you tried configuring that to allow connection to your site from the app?
I'm not familiar with the Security Kit module, so I don't know for sure. I do have a Galazy S5 though ;)
Thanks. I'll review cordova whilelist plugin.
I have installed Security Kit module and It has checked (by default) HTTP origin in "Cross-site request forgery" section. With this configuration, Drupalgap can't connect from a device (or emulator), and I get "403 -forbbiden" error in console log (also an error on drupal system log about It's been locking ?=drupalgap/system/connect.json).
This problem happens only when I run the App with a device (Galaxy S5) or android emulator. If I run as web-app in browser, I works good. If I unchek this options, the app runs well from the device. Is there any solution to have this security option enabled? Thanks.