Getting error like Cannot read property 'setWallpaper' of null. I am facing this issue in ios only. Android app is working fine. Attaching my code below for your reference.
_setWallpaper = (val, item) => {
WallPaperManager.setWallpaper({ uri: item.url }, (res) => {
if(res.status == 'success') {
alert('Wallpaper set successfully');
} else {
alert(res.message);
}
});
};
Help me if any one have the solution. Thanks in advance.
Getting error like Cannot read property 'setWallpaper' of null. I am facing this issue in ios only. Android app is working fine. Attaching my code below for your reference.
Help me if any one have the solution. Thanks in advance.