phonegap-parse-plugin icon indicating copy to clipboard operation
phonegap-parse-plugin copied to clipboard

Help to configure for Windows Phone 8

Open mayurloved opened this issue 9 years ago • 2 comments

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.

mayurloved avatar Jun 03 '15 07:06 mayurloved

Hello, One more thing i notise that when i installed plugin it only get js file its not getting any .cs file in project.

mayurloved avatar Jun 03 '15 08:06 mayurloved

I got this working. I had to upgrade my Parse plugin to 1.6.0

vkeepe avatar Sep 25 '15 00:09 vkeepe