Select to view content in your preferred language

I need to disable mobile entirely. To many users have their browsers zoomed in and its forcing mobile. I am using the Foldable Theme.

3078
7
01-25-2016 06:52 AM
ChrisHawk
Deactivated User

To many users have their browsers zoomed in and it's forcing mobile. I am using the foldable theme.

Thanks

Tags (1)
0 Kudos
7 Replies
RobertScheitlin__GISP
MVP Emeritus

Chris,

  This would be a huge undertaking... You would have to re-code several jimu code files. You can search for "window.appInfo.isRunInMobile" to get an idea of the locations that WAB uses that var to make changes based on the detected mobile environment. And that is just the beginning of the changes...

You would be much better off educating your users.

0 Kudos
ChrisHawk
Deactivated User

As always thanks for a quick reply, Robert.

I took a look and was afraid this was the answer. I just wanted some outside confirmation that I wasn't missing something.

0 Kudos
ChristopherSchreiber
Frequent Contributor

Is there anyway to decrease the threshold that must be crossed that enables mobile mode?

I know that it is 600 pixels by default.

Thanks!

0 Kudos
DavinShokes1
Frequent Contributor

Adding the &mobileBreakPoint=200 to the AGOL items app url works for hosted web appbuilder apps. Give it a shot.

ChristopherSchreiber
Frequent Contributor

Thanks!

I am using the Developer edition. I cannot find where the 600 pixel threshold is defined.

Chris

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Chris,

  Search for mobileBreakPoint in the jimu/main.js

0 Kudos
ChristopherSchreiber
Frequent Contributor

Robert,

Thank you! I was able to locate and change the threshold.

Chris

0 Kudos