New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the Community Exchange, where community members ask and answer questions about DNN. To get started, just start typing your question below and either select one of the suggested questions or ask a new question of your own.

ClientCapabilityProvider.CurrentClientCapability.IsMobile return always false

Return to previous page

Question:

Salam Sabbagh 6 years ago

Hi

We are using Dnn Client Resource Management for identifying mobile in our website . https://www.dnnsoftware.com/wiki/dotnetnuke-61-dev... .

We have display problem when trying to view the DNN website with android phone , ClientCapabilityProvider.CurrentClientCapability.IsMobile always return false .

Product : DNN Platform

Version : 07.04.00 (353)

The host dictates default Client Resource Management behavior, but if you choose to do so, you may configure your site to behave differently. The host-level settings are currently set as follows:

Version: 97

Enable Composite Files: No

Minify Css: No

Minify Js: No

The problem occurs on only to this user agent:

Mozilla/5.0 (Linux; Android 7.0; MI MAX) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.80 Mobile Safari/537.36

The actual value of the ClientCapabilityProvider.CurrentClientCapability.IsMobile should be true when we open the dnn website from above device !!!

ClientCapabilityProvider.CurrentClientCapability.IsMobile return always false

Salam Sabbagh
Salam Sabbagh 6 years ago
Add an Answer

Answers

Sign In to Participate
Or register to become a member