Closed NateyLB closed 1 year ago
I have same issue please provide solution
can you console your props.dog.url
?
I am having same issue I tried to implement this to my expo app.
Guys it will not work on expo app. Because setting wallpaper is done by native modules. So try to eject your expo project to react-native app. It will work 😊
In one word it is not possible. In Apple devices, There is no provision for the change of iOS Screen wallpaper programmatically. The user has to do that manually through the settings or photos app. See this
Steps to reproduce
1.NPM install 2.Copy example use case 3.set onPress to use _setWallpaper
Expected behaviour
The app should let user set wallpaper
Actual behaviour
We get TypeError: null is not an object (evaluating '_reactNative.NativeModules.ManageWallpapers.setWallpaper') Error
Environment
react-native-manage-wallpaper
Version: npm version or "master" 6.14.4
Link to repo (highly encouraged)
https://github.com/NateyLB/randomDog