Open daheeahn opened 4 months ago
Not much of your links works.. So hard to help you.
Be aware than on Android specials caracters isn't supported.
my-animation.riv
<- isn't valid and won't works cause of the -
.
Should be my_animation
or myAnimation.riv
I have a question about creating a new Rive React Native module on top of the expo module. The reason I post this issue is to ask for help making a new expo module that supports the new architecture on the expo module.
I first created a new expo module using
create-expo-module
. Here is a repository; expo-rive that I’ve created.I almost copied codes with rive-react-native/android to expo-rive/android.
What I’m currently trying to in the expo-rive/example is rendering riv file like below. (Don’t mind the blue background.)
I set only the minimum code necessary to render the Rive view in the expo-rive/android, but it's not working like below. The file should appear inside the pink background.
It's my first time creating a native module, so it's difficult. Even though I followed the expo module tutorial.
You can test it by running
yarn android
inexample/android
. I would appreciate it if you could tell me what might be wrong.