parse-platform

No sound when sending push notifications through Parse

强颜欢笑 提交于 2020-01-15 10:12:29
问题 for whatever reason I cannot get my push notifications to make the default sound nor update the badge number when I receive them. Here's my code below. Do you think it's something wrong with my code? Or is there a configuration issue that I'm not aware of? Thanks for your help! PFQuery *pushQuery = [PFInstallation query]; [pushQuery whereKey:@"installationUser" containedIn:recipients]; // Send push notification to our query PFPush *push = [[PFPush alloc] init]; [push setQuery:pushQuery];

Parse - Uncaught TypeError: Cannot read property 'get' of undefined

放肆的年华 提交于 2020-01-15 09:50:08
问题 I am using Parse with javascript. I am trying to get an object and I am following the documentation closely. I still end up with the error Uncaught TypeError: Cannot read property 'get' of undefined $(document).ready(function(){ Parse.initialize("myInfo","myInfo"); var count = Parse.Object.extend('overallCount'); var myQuery = Parse.Query(count); myQuery.get('Gqwk38uUYz', { //HERE IS THE PROBLEM success: function(count) { // The object was retrieved successfully. var myCount = count.get(

How to save ParseObject to disk in .NET

拥有回忆 提交于 2020-01-15 09:27:48
问题 I need to save a list of ParseObjects to disk in C#, and was wondering if anyone had any recommendations on how to achieve this. I am sure that the Parse .NET SDK has a means of converting ParseObjects to/from JSON since that is the format used during transit to parse server, but I haven't been able to find any public methods to do this :( Hopefully someone has an answer for what should be an easy question! :) 回答1: If you are using Newtonsoft You can do this var jsonString = JsonConvert

New to Parse, not able to sign up a ParseUser

不想你离开。 提交于 2020-01-15 09:14:01
问题 I am just following the basic Parse quickstart guide found here: https://www.parse.com/apps/quickstart#social/mobile/android/native/new Everything compiled and ran just fine, but I checked and found that no user was actually being signed up on Parse. I checked the log and here is the error I am getting: PARSE.COM﹕ FAILEDjava.lang.IllegalArgumentException: Cannot save a ParseUser until it has been signed up. Call signUp first.-1 Here is the code I am working with. As you can see, I just copied

New to Parse, not able to sign up a ParseUser

六眼飞鱼酱① 提交于 2020-01-15 09:13:10
问题 I am just following the basic Parse quickstart guide found here: https://www.parse.com/apps/quickstart#social/mobile/android/native/new Everything compiled and ran just fine, but I checked and found that no user was actually being signed up on Parse. I checked the log and here is the error I am getting: PARSE.COM﹕ FAILEDjava.lang.IllegalArgumentException: Cannot save a ParseUser until it has been signed up. Call signUp first.-1 Here is the code I am working with. As you can see, I just copied

Wrong remote data when enableLocalDatastore with Parse

风格不统一 提交于 2020-01-15 06:54:27
问题 I have enable Parse local-datastore on my swift application. I want to sync remote data with local but I am facing issues with Pointer Array. I have a PFSubclass like this : class ShotModel : PFObject, PFSubclassing { @NSManaged var status: String? @NSManaged var pics: [PicModel]? } And when I update status on Parse server, the data is sync with my local datastore but when update the pics Pointer Array, the local data are not changed. For example: I fetch shots list (Array of Shot) which

Is Bolts framework[Parse+Facebook] need to use parse webservice?

狂风中的少年 提交于 2020-01-15 04:53:01
问题 I already post question How to use Bolts Framework[Facebook+Parse] but Now I've question, Must I use parse webservice if I want to use Bolts-framework? They provide sample code like below which related( saveAsync: ) to Parse webservice. But I've seen in this line "Using these libraries does not require using any Parse services. Nor do they require having a Parse or Facebook developer account" in Boltss' github [[object saveAsync:obj] continueWithBlock:^id(BFTask *task) { if (task.isCancelled)

Is Bolts framework[Parse+Facebook] need to use parse webservice?

和自甴很熟 提交于 2020-01-15 04:52:19
问题 I already post question How to use Bolts Framework[Facebook+Parse] but Now I've question, Must I use parse webservice if I want to use Bolts-framework? They provide sample code like below which related( saveAsync: ) to Parse webservice. But I've seen in this line "Using these libraries does not require using any Parse services. Nor do they require having a Parse or Facebook developer account" in Boltss' github [[object saveAsync:obj] continueWithBlock:^id(BFTask *task) { if (task.isCancelled)

Set default profile picture for parse signup

狂风中的少年 提交于 2020-01-15 04:00:07
问题 I am trying to set default profile picture at signup time in parse.the picture is in my project folder. Is there any way to set it without photo upload. var user = new Parse.User(); user.set("username", $('#username').val()); user.set("password", $('#password').val()); user.set("email", $('#email').val()); user.set("phone", $('#phone').val()); user.set("address", $('#address').val()); var parseFile = new Parse.File("profile.jpg", fileData, "image/jpg"); parseFile.save().then(function() {

WebStorm Code Assistance For Global Variables

不想你离开。 提交于 2020-01-15 01:25:31
问题 I'm working with WebStorm and Parse / Parse-Sever , but having an issue where code assistance is not working the Parse functions. It tells me require() call is missing for the Parse variable, but since Parse is defined globally, when I add the require, it overwrites the global variable and breaks things. Is there a way in WebStorm to enable code assistance for global variables? 回答1: When using libraries that define their own global symbols, it is recommended that you add the corresponding