Closed abdul-wajid-afridi closed 3 months ago
You should not have navigation inside the configuration screen. It should be used to configure the widget, not navigate inside the app.
Look at it like a small separate app with one screen. You can reuse other components from your app if you want, but stores/context will need to be provided again.
I'll close this since it is not something that should be handled by this library.
const navigation: NavigationProp<TLinkableRoutes> = useNavigation() <TouchableOpacity onPress={() => navigation.navigate("AddUser")} > <MaterialIcons size={30} name="plus" color={"yellow"} /> </TouchableOpacity>
when i add navigation the widgets does not opens the configuration screen and just blinks once and hide and and widget does not shows and not pasting on screen. i want to select user from configuration screen and shows data according to that user if user is not there then i want to add it from the configuration screen and open app and exact page of adding users
from configuration screen not from widgets