You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't know if this is valid? but when I declare a callback function in the config this in iOS works great. But building on Android has an error due to missing toCpp()
Reproduceable Code
import{typeHybridObject}from'react-native-nitro-modules'exporttypeNitroPreviewConfig={language: Language/** * Auto play video when open preview. * * @platform iOS, Android */videoAutoPlay?: booleanonLongPress?: (index: number)=>void// --> THIS FUNC}exportinterfaceMultipleImagePickerextendsHybridObject<{ios: 'swift';android: 'kotlin'}>{openPreview(media: MediaPreview[],index: number,config: NitroPreviewConfig): void}
What's happening?
I don't know if this is valid? but when I declare a callback function in the config this in iOS works great. But building on Android has an error due to missing
toCpp()
Reproduceable Code
Relevant log output
Device
Emulator Android
Nitro Modules Version
0.20.1
Nitrogen Version
0.20.1
Can you reproduce this issue in the Nitro Example app here?
I didn't try (⚠️ your issue might get ignored & closed if you don't try this)
Additional information
The text was updated successfully, but these errors were encountered: