Rickard Natt och Dag

@willcodefor.beer

Developer at SEB. Currently love working with Go and htmx. Aspiring ultra runner. https://willcodefor.beer/

After upgrading to React Native 0.76, TurboModule threw an error: "Detected unsupported return class: kotlin.Unit". The issue? A custom Native Module was implicitly returning Unit? instead of Unit. Wrapping the logic in a void method fixed it.