phonegap-parse-plugin
phonegap-parse-plugin copied to clipboard
Help to configure for Windows Phone 8
Hello, I have install plugin using CLI with app id and .NET Key. And use following code in my html file
function init() { document.addEventListener("deviceready", initPushwoosh, true); //rest of the code } function initPushwoosh() { alert("om"); parsePlugin.initialize(); } parsePlugin.initialize(appId, clientKey, function () { alert('success'+appId+"----"+clientKey); }, function (e) { alert('error'); });
parsePlugin.getInstallationId(function (id) {
alert(id);
}, function (e) {
alert('error');
});
parsePlugin.getSubscriptions(function (subscriptions) {
alert(subscriptions);
}, function (e) {
alert('error');
});
parsePlugin.subscribe('SampleChannel', function () {
alert('OK');
}, function (e) {
alert('error');
});
parsePlugin.unsubscribe('SampleChannel', function (msg) {
alert('OK');
}, function (e) {
alert('error');
});
</script>
</head>
But its not going in parsePlugin.initialize function. Please help me. Thanks in Advance.
Hello, One more thing i notise that when i installed plugin it only get js file its not getting any .cs file in project.
I got this working. I had to upgrade my Parse plugin to 1.6.0