Please provide the following:
- SDK Version: 49
- Platforms(Android/iOS/web/all): Android
- Add the appropriate “Tag” based on what Expo library you have a question on.
Hey all,
I am currently working on a new native library using expo modules. I would like to create a video View, with a ref to be able to play and pause the video when a user interacts with the app.
It is my understanding that using AsyncFunction, in the View declaration, we can create such function. However on the react native side, I don’t understand how we can attach a ref to the native view, especially in typescript. Should I implement a Class component? If yes, how could I do that?
Thanks a lot to anyone answering
Anat