Does not work on IPad 5,3
WillFontana opened this issue · 1 comments
WillFontana commented
Issue:
Detector does not work on IPad 5,3. Though it works fine in other IOs devices , Mac's also doesn't seems to have the same problem, so it only occurs on Ipad 5,3
Expected behaviour:
Print the device data as shown in the example.
Actual behaviour:
The library simply breaks the script and stop the others JS that needs to run after.
Code example:
import DeviceDetector from "device-detector-js";
const deviceDetector = new DeviceDetector();
function printDevice(deviceData) {
const device = deviceDetector.parse(deviceData);
return device;
}
window.deviceData = printDevice;
Outputs and Logs:
Unfortunately I have no access to any Mac's, and because of that i cannot see any debug log.
WillFontana commented
Issue solved here: matomo-org/device-detector/issues/6619.;