Comments (5)
Having same issue. I even get the success callback called.
from phonegap-parse-plugin.
I have ended up subscribing/unsubscribing manually via Parse queries:
parsePlugin.initialize(*APP_ID*,*CLIENT_KEY*, function() {
parsePlugin.getInstallationId(function(id) {
var installationQuery = new Parse.Query(Parse.Installation);
installationQuery.equalTo('installationId', id);
return installationQuery.first().then(function(installation) {
installation.set('channels', ['user_123']);
installation.save();
});
}, function(e) {
console.log('ID ERROR',e);
});
}, function(e) {
console.log('INIT ERROR',e);
});
from phonegap-parse-plugin.
@billymedia Hi there, where can read about installation.set and save methods?
from phonegap-parse-plugin.
@anteksiler
These methods come from BackboneJS which is used by Parse JS SDK.
from phonegap-parse-plugin.
I had this same problem.
This plugin -> https://github.com/denisbabineau/phonegap-parse-plugin solved my problem.
Use following command to install the plugin.
cordova plugin add https://github.com/denisbabineau/phonegap-parse-plugin --variable APP_ID=PARSE_APP_ID --variable CLIENT_KEY=PARSE_CLIENT_KEY --variable JS_KEY=PARSE_JS_KEY
from phonegap-parse-plugin.
Related Issues (20)
- Android version crashing at start
- Android update Manifest to include ParsePushBroadcastReceiver HOT 1
- Install command pointing out to benjie HOT 1
- Installation section of documentation shows wrong URL
- Question : How to get device token ?
- Android plugin crashes app HOT 6
- Allow ability to switch between dev & prod keys
- Bad repository in README
- BIT CODE Xcode 7 ISSUE HOT 7
- Error when i try run in Android HOT 2
- Undefined symbols for architecture arm64 HOT 4
- Blank white icon in staus bar(android lollypop)
- Advice for running the app on Windows (and Cordova 5)
- Update Parse iOS SDK to 1.10.0 HOT 1
- Can't register Push Notification service with iOS Devices - PhoneGap ParsePlugin HOT 9
- Android class missing bolts-tasks
- hasPermission?
- Dreaded PFFacebookUtils.h issue
- Android can't handle payload HOT 1
- Parse is shutting down: Migrating server - Will this plugin work with migrated server running with parse? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from phonegap-parse-plugin.