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

Mobile client - Mobile view is not detected on nexus 7 tablet #54

Closed
scramatte opened this issue Nov 6, 2017 · 3 comments
Closed

Mobile client - Mobile view is not detected on nexus 7 tablet #54

scramatte opened this issue Nov 6, 2017 · 3 comments

Comments

@scramatte
Copy link

Mobile view is not detected on nexus 7 tablet.

@uprel
Copy link
Member

uprel commented Nov 11, 2017

Setting is now that phones get mobile client, but tablets don't. Mobile detection is done on server side, so I don't get screen sizes. I could add some specific conditions. Can you open this test site with Nexus 7 and get back which true values are reported. http://demo.mobiledetect.net/

@uprel
Copy link
Member

uprel commented Nov 11, 2017

Another option is that you add mobile=on parameter to URL.

@uprel
Copy link
Member

uprel commented Apr 10, 2018

Well, one simple solution, if this is still relevant, is to just force all tablets to open as mobile client. Change this line
https://github.com/uprel/gisapp/blob/179122f82db5a332b3baf3e62e92e2724b8cc554/index.php#L198

to

if( $detect->isMobile()){

@uprel uprel closed this as completed Apr 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants