Skip to content
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

getting error in cookieMaster #1

Open
Bhagirath123 opened this issue May 1, 2020 · 0 comments
Open

getting error in cookieMaster #1

Bhagirath123 opened this issue May 1, 2020 · 0 comments

Comments

@Bhagirath123
Copy link

TypeError: Cannot read property 'getCookieValue' of undefined
TypeError: Cannot read property 'setCookieValue' of undefined

hear is my code for get cookie
cordova.cookieMaster.getCookieValue('url', 'session_id', function(data) {
console.log(data.cookieValue);
}, function(error) {
if (error) {
console.log('error: ' + error);
}
});

hear is my code for set cookie

cordova.cookieMaster.getCookieValue('url', 'session_id','2748635748', function(data) {
console.log(data.cookieValue);
}, function(error) {
if (error) {
console.log('error: ' + error);
}
});

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant