Skip to content

getting error in cookieMaster #1

@Bhagirath123

Description

@Bhagirath123

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);
}
});

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions