hyochan / react-native-audio-recorder-player

react-native native module for audio recorder and player.
MIT License
681 stars 203 forks source link

Turbomodule + Bridgeless support #602

Open sektr63a opened 2 months ago

sektr63a commented 2 months ago

This PR converts Native module to Turbomodule Also updates Example project.

hyochan commented 4 weeks ago

Wow this is huge 😅 Let me come back soon to review this.

sektr63a commented 1 week ago

Hello @hyochan

I've just investigated the issue you faced. The main problem is with the types you added: The AudioSet type contains an enum, which is not supported by codegen. The same applies to the Record type.

There is some useful article about codegen type mapping. https://github.com/reactwg/react-native-new-architecture/blob/main/docs/appendix.md#iii-typescript-to-native-type-mapping