Discussions

Expand all | Collapse all

Need help o mobile view for Search it just does not work.

  • 1.  Need help o mobile view for Search it just does not work.

    Posted 09-05-2017 15:07
    The search functionality I have presents an error in mobile view. Need help on this. Thank you.


  • 2.  RE: Need help o mobile view for Search it just does not work.

    Posted 09-05-2017 15:20
    You appear to need to call the action ?act=QuickSearch against a table dbid on mobile. I get the same result as you did.


  • 3.  RE: Need help o mobile view for Search it just does not work.

    Posted 09-06-2017 06:04

    Hi dandibolt, you know what fix should be made for this? Thank you.



  • 4.  RE: Need help o mobile view for Search it just does not work.

    Posted 09-06-2017 07:54
    I believe that QuickBase is employing user agent sniffing to determine if the device being used is a mobile device.

    When I am on a Windows desktop using Chrome I get the following user agent string:
    >navigator.userAgent
    "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.59 Safari/537.36"
    When I emulate Nexus 5X through the Chrome dev tools I get the following user agent string:
    ?navigator.userAgent
    "Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.59 Mobile Safari/537.36"
    Now you can't change the user agent string in the browser but you might be able to change it in a service worker by manipulating the request header. So theoretically there might be a technical solution.

    However, even if it worked your user would have the weird experience of breaking out of the mobile design and temporarily entering the desktop design for this one URL. And there could be all sort of other display, navigation or browser anomolies.

    The bottom line is that somewhere in the history and bowels of QuickBase a developer made the decision to have ?act=QuickSearch not work the way you want on mobile.

    This technical question is something I might normally explore as I basically want to know everything about Service Workers but at this time it would be a high effort low impact task not worth my time.


  • 5.  RE: Need help o mobile view for Search it just does not work.

    Posted 09-06-2017 12:58
    Up