sAleksovski / react-native-android-widget

Build Android Widgets with React Native
https://sAleksovski.github.io/react-native-android-widget/
MIT License
578 stars 22 forks source link

Issue building the dev client after installing this package #91

Closed zameel7 closed 3 months ago

zameel7 commented 3 months ago

I am trying to create a widget for my app. I am going with the tutorial here. Once I installed the package and rebuild the dev client I get an error.

Screenshot 2024-06-09 at 12 44 09 PM
sAleksovski commented 3 months ago

Your widget config should contain a widgets array. See https://saleksovski.github.io/react-native-android-widget/docs/tutorial/register-widget-expo#use-config-plugin-in-appjsonconfigjsconfigts

zameel7 commented 3 months ago

@sAleksovski , in that we have to give a preview screenshot too right? So, for that, shouldn't I get the preview first?

sAleksovski commented 3 months ago

The preview image is optional, you can use it without image, get the preview, the set it.

sAleksovski commented 3 months ago

Closing since this is not a bug with the library, but a configuration issue in the app config.