How can we know what device client is running on?

If you have questions or if you want to share your opinion about Aware IM post your message on this forum
Post Reply
BenHayat
Posts: 2749
Joined: Thu Dec 23, 2010 5:48 am
Location: Fla, USA
Contact:

How can we know what device client is running on?

Post by BenHayat »

@Support;

At runtime, how can we ask Aware, if user is running the app in web browser on Mobile or in Hybrid mode?
By getting this info, I can then make certain functionalities available or not.

To extend this, it would very useful for aware to tell us at any point in runtime, if the client's request came from Desktop or tablet or mobile web browser or Mobile Hybrid app.
BenHayat
Posts: 2749
Joined: Thu Dec 23, 2010 5:48 am
Location: Fla, USA
Contact:

Re: How can we know what device client is running on?

Post by BenHayat »

Any answer to this question Support? How can we check via code if the client using the Hybrid version vs. Web browser version on the mobile, so we can enable/disable the Hybrid specif features?

Thanks!
mrbdrm
Posts: 349
Joined: Tue Oct 16, 2012 11:44 am

Re: How can we know what device client is running on?

Post by mrbdrm »

most importantly we need to know for mobile platform.
since the new features in 7.1 will throw an error if the application is not native app.
aware_support
Posts: 7525
Joined: Sun Apr 24, 2005 12:36 am
Contact:

Re: How can we know what device client is running on?

Post by aware_support »

We'll implement something in 7.1 (probably the last thing that we will do there)
Aware IM Support Team
BenHayat
Posts: 2749
Joined: Thu Dec 23, 2010 5:48 am
Location: Fla, USA
Contact:

Re: How can we know what device client is running on?

Post by BenHayat »

aware_support wrote:We'll implement something in 7.1 (probably the last thing that we will do there)
Thanks, that would be very helpful.
aware_support
Posts: 7525
Joined: Sun Apr 24, 2005 12:36 am
Contact:

Re: How can we know what device client is running on?

Post by aware_support »

There will be a new function called NATIVE_MOBILE_MODE returning Yes or No. You can only use this function is applicability conditions, but not in rules
Aware IM Support Team
BenHayat
Posts: 2749
Joined: Thu Dec 23, 2010 5:48 am
Location: Fla, USA
Contact:

Re: How can we know what device client is running on?

Post by BenHayat »

aware_support wrote:There will be a new function called NATIVE_MOBILE_MODE returning Yes or No. You can only use this function is applicability conditions, but not in rules
Like in menus and etc.?
Does it also apply to "Is visibility condition" too?

That's great!
Thanks!
Post Reply