Chrome on android does not trigger
-
On an S9+ on chrome the plugin triggers as though it was a desktop. Thought it was a caching issue when I tested with the php code:
if ( wonderplugin_is_device(‘Mobile’) )
{
echo ‘This is a mobile or tablet’;
}if ( wonderplugin_is_device(‘iPhone,iPad’) )
{
echo ‘This is an iPhone or iPad’;
}if ( wonderplugin_is_device(‘Windows’) )
{
echo ‘This is a Windows PC’;
}if ( wonderplugin_is_browser(‘Chrome’) )
{
echo ‘This is a Chrome browser’;
}if ( wonderplugin_is_browser(‘IE,Edge’) )
{
echo ‘This is a Microsoft web browser’;
}Everything worked. but when I removed the above code the page no longer loaded correctly. So now, to get it to work correctly I need to load the above code (without the “echo” so that it will trigger correctly on Android with Chrome…
Still a Great plugin ??
- The topic ‘Chrome on android does not trigger’ is closed to new replies.