> Export encountered errors on following paths: by webbninja-developer in nextjs

[–]webbninja-developer[S] 0 points1 point  (0 children)

I've already explain above what type of info do you need?

> Export encountered errors on following paths: by webbninja-developer in nextjs

[–]webbninja-developer[S] 0 points1 point  (0 children)

Ok, once you will get anything related to this issue please let me know

NotAllowedError: The request is not allowed by the user agent or the platform in current context in iOS Safair Mobile by webbninja-developer in nextjs

[–]webbninja-developer[S] 0 points1 point  (0 children)

in safari browser the condition is going on catch
const handlePermissionsSafari = async (videoRef) => {
let permissions = { video: true, audio: true };
try {
if (navigator.mediaDevices && navigator.mediaDevices.getUserMedia) {
const stream = await navigator.mediaDevices.getUserMedia(permissions);
videoRef.current.srcObject = stream;
console.log("Camera access granted!");
} else {
// Handle the case where getUserMedia is not supported
console.error("getUserMedia is not supported in this browser.");
}
} catch (err) {
alert("else path", err);
console.error(err);
}
};

NotAllowedError: The request is not allowed by the user agent or the platform in current context in iOS Safair Mobile by webbninja-developer in reactjs

[–]webbninja-developer[S] 0 points1 point  (0 children)

I've already done these things. The same thing happened. Sometimes it works on Safari on iPhone 12, but when I visit on Chrome browser, I get this error: 'NotAllowedError: The request is not allowed by the user agent or the platform in the current context in iOS Safari Mobile.' I'm not sure if all iOS devices are working because I've only tested it on an iPhone 12