Marc Rousavy

Results 1813 comments of Marc Rousavy

Well you can just load the `MMKV` instance and check if there are any keys in it, no? ```ts const instance = new MMKV({ id: 'some-id' }) const instanceExists =...

Or maybe `instance.size > 0`, this is size in bytes

> Initializing without encryption key will erase all data. This is also a bit weird imo - that should throw an error instead of erasing all data..

Hi! Thanks for the sponsorship - does this also happen if you disable video?

Okay thanks, good research on `preview={false}` that is actually quite helpful - I just merged a PR a few days ago that changes the Preview resolution selector to now use...

The problem here is that the Formats API on Android is not 100% accurate, which sucks - I know. On Android, there is no API to figure out which **combination**...

Formats with high resolutions should not be avoided, no. But the useCameraFormat/getAvailableCameraDevices should just be accurate in telling us which video/photo resolution combinations are supported.

This has been changed recently and now works exactly like on iOS - preview will try to match the format's **video** resolution and aspect ratio, with the priority being the...

Oh wow interesting, great research! I'm thinking what a good solution to this would be, maybe I'll just always allow minFps of 20...