agent
agent copied to clipboard
Fixed incompatibility with Mobile-Detect v2.8.43
The problem is caused by the ->is*() function, aka the "Extended" features confusing the core function of detecting mobile devices. I think the better way to fix it is to overwrite the getMobileDetectionRules() and make sure it won't be polluted. In this case the extended features still work while not sacrifice the ability to detect mobile devices.
No longer needed, see https://github.com/jenssegers/agent/pull/208#issuecomment-1800260630