Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cookies with android problem #64

Open
adam-clarey opened this issue Mar 8, 2017 · 2 comments
Open

Cookies with android problem #64

adam-clarey opened this issue Mar 8, 2017 · 2 comments
Labels

Comments

@adam-clarey
Copy link
Contributor

I want to use cookie based authentication which works with a web app and ios, but not Android.

Has anyone come across this issue before?

@adam-clarey
Copy link
Contributor Author

I realised that unlike the browser and iOS emulator, the android emulator does not resolve local domains on your dev machine so it was trying to access http://mysite.local but couldn't access it without trying to hack the emulators hosts file

@signalpoint
Copy link
Owner

@adam-clarey Is this for D7 or D8. Not that it matters here, but IIRC you can use e.g. http://10.1.10.2 for an Android emulator. I haven't used an emulator in years though to be honest, I strictly develop in the browser, then compile to a real device when it's time to test on hardware.

Other than that, I've had no issue with compiled Android apps having cookie problems (I've only tested this in D7 though, I'm getting close to my first compiled D8 app for Android).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants