-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
undefined is not a function (evaluation '_reactNativeWallPaperManager2.default.setWallPaper') #4
Comments
Same here... any help guys on this? |
@raghunathmestry @Jalson1982 you need to correctly access the setWallpaper function, there is typo in the function name. |
I do like this ApplyWallpaper(link){ |
yes you are right thanks for helping |
undefined is not a function (evaluation '_reactNativeWallPaperManager2.default.setWallPaper') |
WallPaperManager.setWallpaper({uri: 'http://example.com/test.png'}, (res)=> console.log(res)); copy that upper code in your code the difference is, replace setWallPaper to setWallpaper |
WallPaperManager.setWallpaper({uri: 'http://example.com/test.png'}, (res)=>
console.log(res));
copy that upper code in your code the difference is, replace setWallPaper
to setWallpaper
…On Sun, Jul 14, 2019 at 12:22 AM antoinefotso ***@***.***> wrote:
undefined is not a function (evaluation
'_reactNativeWallPaperManager2.default.setWallPaper')
still get this error😢
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#4?email_source=notifications&email_token=AIQW7MMRE33LWCPMBSRQ7MLP7IP6TA5CNFSM4FZNGMW2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZ3XLXQ#issuecomment-511145438>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AIQW7MP3L7XDCQBHKBY6ZDLP7IP6TANCNFSM4FZNGMWQ>
.
|
I still get the error
|
I also see this in my android project
|
hello !!! isthere any one who can tell me how to use this library as i'm getting error its not working ....plz help me guys... thanks in advance |
Does this works now? |
guys why there is no genus make Wallpaper module working with expo for us |
@kotsh23 I don't think it's available for expo until you eject |
Please help me getting out of this.I Done all steps
step 1. react-native link react-native-wallpaper-manager
and i also remove
step 2.
@OverRide
public List<Class<? extends JavaScriptModule>> createJSModules() {
return Collections.emptyList();
}
and i also link react-native-wallpaper-manager after the removing above code from WallPaperPackage.java but it is not working in android it gives me error undefined is not a function (evaluation '_reactNativeWallPaperManager2.default.setWallPaper') with this dependencies
"dependencies": {
"react": "16.3.1",
"react-data-fetching": "^0.2.2",
"react-dom": "^16.4.1",
"react-native": "~0.55.2",
"react-native-wallpaper-manager": "0.3.16"
}
"devDependencies": {
"babel-preset-react-native-stage-0": "^1.0.1",
"jest": "^23.4.1",
"jest-react-native": "^18.0.0",
"react-test-renderer": "16.3.1"
}
The text was updated successfully, but these errors were encountered: