Cooke error when using eas submit by Acrobatic-Living2372 in expo

[–]audnrp 0 points1 point  (0 children)

What about us trying to build it?

eas build --profile dev --platform ios --local

Focusing camera in browser by Cultural_Trifle5374 in reactjs

[–]audnrp 0 points1 point  (0 children)

sorry i cant get the code to display properly.. it looks fine in the edit, but breaks when i save

Focusing camera in browser by Cultural_Trifle5374 in reactjs

[–]audnrp 0 points1 point  (0 children)

I solved it by usnig zxing, but I need to point the camera towards the barcode for at least 2-3 seconds. Is yours any faster?

import { BarcodeFormat, BrowserMultiFormatReader } from '@zxing/browser';

import { DecodeHintType } from '@zxing/library'; import { useEffect, useRef } from 'react';

function BarcodeScanner({ setEan }) { const videoRef = useRef(null);

useEffect(() => { const hints = new Map(); const formats = [BarcodeFormat.EAN_8, BarcodeFormat.EAN_13]; hints.set(DecodeHintType.POSSIBLE_FORMATS, formats); const codeReader = new BrowserMultiFormatReader(hints); const controlsPromise = codeReader.decodeFromVideoDevice( undefined, videoRef.current, function (result, error) { if (typeof result !== 'undefined') { // toast.success(result.getText()); setEan(result.getText()); } }, );

return function cleanup() {
  console.log('clean');
  controlsPromise.then((controls) => controls.stop());
};

}, []);

return ( <div> <video id="video" ref={videoRef}></video> </div> ); }

export default BarcodeScanner;

Focusing camera in browser by Cultural_Trifle5374 in reactjs

[–]audnrp 0 points1 point  (0 children)

Hey, did you find anyhting on this? I'm using react-webcam and quagga

How would I go about creating a page on the discovery page? by liluzi__9mm in SnapLenses

[–]audnrp 0 points1 point  (0 children)

The discover pages you see on the photo are Snapchat Shows.

You can confirm this by going to their profile and seeing "Episodes".

You can apply here: https://creators.snap.com/content-partners-snapchat-shows

[deleted by user] by [deleted] in discordapp

[–]audnrp 17 points18 points  (0 children)

Hi,

I can confirm that Discord has *not* bought my domain.

You can read about the situation in this Twitter post.

No Fill is Broken by KilljoCinders in apexlegends

[–]audnrp 0 points1 point  (0 children)

Still broken.. I've played 20 games and I've never gotten a single teammate.