Marc Rousavy

Results 246 issues of Marc Rousavy

recreating https://github.com/mrousavy/nitro/pull/692

Swift 6 introduces some new features no one asked for. I can see this becoming relevant for Nitro users in one specific case already; Lambdas not being `@Sendable`. Let's look...

enhancement
swift

Makes the Swift `Promise` type a `Sendable` `actor`, which makes it Thread-safe now and prepares it for Swift 6 usage. The usage inside the nitrogenerated code has to be adapted...

Preparation for Swift 6 update

This is a bit safer, and not deprecated like the previous install function. I am not sure which RN version this requires now tho

In Swift 6, Swift enforces Swift concurrency even more. Which is stupid imo if you think about interop with other languages (like JS or C++, which have different concurrency modules)....

Adds `MMKV.config` to get the original config used to create this MMKV instance. ```ts const storage = createMMKV({ id: 'custom' }) const id = storage.config.id //

This PR exists to one-spot see the differences between V3 and V4, since `v3` is now off-branched from `main`. See [all changes from V3 to V4](https://github.com/mrousavy/react-native-mmkv/compare/v3...main)