Platform support > Phones > doesn't work for Android

If you have questions or if you want to share your opinion about Aware IM post your message on this forum
Post Reply
RLJB
Posts: 914
Joined: Tue Jan 05, 2010 10:16 am
Location: Sydney, Australia

Platform support > Phones > doesn't work for Android

Post by RLJB »

Support - any chance we can get this working?

Problem is that the "Phones" option isn't recognized on Android phones, so you can build a nice mobile UI but it only activates for iPhones, Android users get the desktop version.

Image
upload pic
Rod. Aware 8.6 (latest build), Developer Edition, on OS Linux (Ubuntu) using GUI hosted on AWS EC2, MYSQL on AWS RDS
Jaymer
Posts: 2430
Joined: Tue Jan 13, 2015 10:58 am
Location: Tampa, FL
Contact:

Re: Platform support > Phones > doesn't work for Android

Post by Jaymer »

I posted this a year ago. Same issue.
Something happened to the image, so it’s not displaying correctly.
But when you compare side-by-side and Samsung/android login, with an iPhone login, you can see that aware sees them differently.
My experience a year ago was exactly what you’re saying now.
The mobile option for aware does not kick in on android
Click Here to see a collection of my tips & hacks on this forum. Or search for "JaymerTip" in the search bar at the top.

Jaymer
Aware Programming & Consulting - Tampa FL
aware_support
Posts: 7523
Joined: Sun Apr 24, 2005 12:36 am
Contact:

Re: Platform support > Phones > doesn't work for Android

Post by aware_support »

This is probably specific to some phone models. Could you please attach the contents of the Tomcat output after you try to login and it goes to the incorrect perspective?
Aware IM Support Team
RLJB
Posts: 914
Joined: Tue Jan 05, 2010 10:16 am
Location: Sydney, Australia

Re: Platform support > Phones > doesn't work for Android

Post by RLJB »

As requested...

Code: Select all

WebServlet URL got request with params:
login request (get) called
login request (post) called for domain FZM
User agent is: mozilla/5.0 (linux; android 10; pixel 2 xl) applewebkit/537.36 (khtml, like gecko) chrome/78.0.3904.62 mobile safari/537.36
Connecting to server localhost at port 9001
Successfully created a connection to the server
Setting session timeout to 10800 seconds.
Library com.hatchconsulting.functions.HCLibrary is not found.
Library com.hatch.plugin.PostWithAuth is not found.
Library com.hatchit.plugin2.PostContentsLibrary is not found.
Library com.hatch.plugin3.PostWithAuthSIB is not found.
Preparing dynamic locale...
Determining presentation for mobile platform=1
1. Picked presentation FZD
Evaluating condition LoggedInRegularUser.AccountLINK.Plan<>'FZD'
Getting logged in user...
Rod. Aware 8.6 (latest build), Developer Edition, on OS Linux (Ubuntu) using GUI hosted on AWS EC2, MYSQL on AWS RDS
aware_support
Posts: 7523
Joined: Sun Apr 24, 2005 12:36 am
Contact:

Re: Platform support > Phones > doesn't work for Android

Post by aware_support »

Unfortunately, for Android it is impossible to distinguish between the phone and the tablet, so you will have to make sure that you select "Phones and Tablets" for the perspective.
Aware IM Support Team
RLJB
Posts: 914
Joined: Tue Jan 05, 2010 10:16 am
Location: Sydney, Australia

Re: Platform support > Phones > doesn't work for Android

Post by RLJB »

Can it not be done by screensize? or something else?

The issue with the "Phones and Tablets" workaround is that the desktop version works fine on a Tablet, so we don't want to force an ipad (or Android tablet) user to the phone Visual Perspective.
Rod. Aware 8.6 (latest build), Developer Edition, on OS Linux (Ubuntu) using GUI hosted on AWS EC2, MYSQL on AWS RDS
Jaymer
Posts: 2430
Joined: Tue Jan 13, 2015 10:58 am
Location: Tampa, FL
Contact:

Re: Platform support > Phones > doesn't work for Android

Post by Jaymer »

On my IPad Pro, I'd hate to have it force to Mobile.
Because I can run a regular 1920x1080 Desktop app fine on the Ipad.
Trying to get my head wrapped around this...

So to accommodate Android going to Mobile, then I'd need to choose "Phones & Tablets".
But then the iPad would go to Mobile - I think that whats being said here?

If thats true, on the iPad/Chrome, you could still select "Request Desktop Version" and it would go back to regular, non-mobile mode.
Have you tried that on Android Tablet to kick it OUT of mobile mode?
Click Here to see a collection of my tips & hacks on this forum. Or search for "JaymerTip" in the search bar at the top.

Jaymer
Aware Programming & Consulting - Tampa FL
RLJB
Posts: 914
Joined: Tue Jan 05, 2010 10:16 am
Location: Sydney, Australia

Re: Platform support > Phones > doesn't work for Android

Post by RLJB »

Jaymer - yes that is the issue... "the iPad would go to Mobile"

You can, as you suggest, put buttons on each Visual Perspective menu to "Request Desktop Version" and "Request Mobile Version", but would prefer not having to do this and just have it go to the intended perspective immediately and consistently (it makes support trickier and also knowledge-base articles etc) but it is the best workaround I think.
Rod. Aware 8.6 (latest build), Developer Edition, on OS Linux (Ubuntu) using GUI hosted on AWS EC2, MYSQL on AWS RDS
idpSteve
Posts: 201
Joined: Thu Jul 27, 2017 6:13 am
Location: Johannesburg, South Africa
Contact:

Re: Platform support > Phones > doesn't work for Android

Post by idpSteve »

I think what Jaymer was saying is to use a browser's built in function to request the desktop version of the site. This is something I quite often used for things like getting WhatsApp web in a phone browser. Issue with this is how to get a user to do it, as well as there is no "Request desktop version" if you've built a phonegap app.
RLJB
Posts: 914
Joined: Tue Jan 05, 2010 10:16 am
Location: Sydney, Australia

Re: Platform support > Phones > doesn't work for Android

Post by RLJB »

Ah ok ... but why not just put in two Aware menus "Desktop version" and "Mobile version" and call the other VP?

Would prefer not to do that, but only way I see it working.
Rod. Aware 8.6 (latest build), Developer Edition, on OS Linux (Ubuntu) using GUI hosted on AWS EC2, MYSQL on AWS RDS
Post Reply