parse-platform

XMLHttpRequest failed on App

混江龙づ霸主 提交于 2020-02-14 07:56:02
问题 I'm trying to run a simple singup example on my mobile app using Ionic framework and Parse.com. The code is simple as follows: Parse.initialize(APP_KEY, JS_KEY); Parse.User.signUp("my.user", "123456", {}, { success: function(user) { // Hooray! Let them use the app now. console.log('yuhuuu ' + user) }, error: function(user, error) { // Show the error message somewhere and let the user try again. alert("Error: " + error.code + " " + error.message); } }); This code works when I test it on my

What does the Master Key in Parse Cloud?

不问归期 提交于 2020-02-13 21:50:16
问题 Could somebody explain me in brief that what does the master key within Parse Cloud Code? Is it possible that a recently implemented CC function (which uses the master key) can change the behavior of other non Cloud Code functions? As an instance, you have a properly working solution which lets to the current user to add other PFUser objects into a relation and delete them if needed. Until this point you don't need the master key because you writing the PFUser currentUser with the current

Video is not saving in parse

我的梦境 提交于 2020-02-08 05:31:05
问题 The output says: - Snapshotting a view that has not been rendered results in an empty snapshot. Ensure your view has been rendered at least once before snapshotting or snapshot after screen updates. - Save successful But when I go into the parse backend nothing is saved. @IBAction func recordAction(sender: AnyObject) { if UIImagePickerController.isSourceTypeAvailable(UIImagePickerControllerSourceType.Camera){ print("Camera Available") let imagePicker = UIImagePickerController() imagePicker

Twitter Login Stopped Working “sorry, that page doesn't exist”

戏子无情 提交于 2020-02-08 00:50:34
问题 I'm logging users in with twitter using the PFTwitterUtils loginWithBlock: method. This has always worked fine and the name of my app appears above the username and p/w ready for user input. However, recently (which may or may not correspond to installing Fabric.io) the modal display that appears, after entering the username and password and pressing authorise app, returns this image: Has something changed with the sdk lately? Or have i made a silly error while changing something. In short,

Parse - saving related objects

筅森魡賤 提交于 2020-02-03 05:34:09
问题 I'm using Parse for the back end in my project. As you would imagine there are quite a few relations in the data model. A lot of the time I create a "parent" object and all of its "children" at the same moment and save them all to Parse. Now, when doing this is it necessary to save the children individually? The same for files etc... First example - Adding an avatar to a user object UIImage *image = // image from camera NSData *pngData = UIImagePNGRepresentation(image); PFFile *imageFile =

I can't get image from PFFile

一世执手 提交于 2020-02-02 14:06:30
问题 Parse.com just updated their SDKs to support local storage. But after installing new SDKs I have occurred some problems with PFFile. I have used the same method for a long time, but now that I'm using the new SDK I can't get it to work. Here's my code: .h file @property (strong, nonatomic) IBOutlet PFFile *iconPhoto; .m file cell.iconPhoto.image = [UIImage imageNamed:@"placeholder.png"]; // placeholder image cell.iconPhoto.file = (PFFile *)object[@"icon"]; // remote image [cell.iconPhoto

I can't get image from PFFile

為{幸葍}努か 提交于 2020-02-02 14:01:38
问题 Parse.com just updated their SDKs to support local storage. But after installing new SDKs I have occurred some problems with PFFile. I have used the same method for a long time, but now that I'm using the new SDK I can't get it to work. Here's my code: .h file @property (strong, nonatomic) IBOutlet PFFile *iconPhoto; .m file cell.iconPhoto.image = [UIImage imageNamed:@"placeholder.png"]; // placeholder image cell.iconPhoto.file = (PFFile *)object[@"icon"]; // remote image [cell.iconPhoto

Parse Server Security [closed]

南笙酒味 提交于 2020-01-31 18:14:06
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 3 years ago . I am running a clean Heroku & MLab installation of the Parse Server (https://github.com/ParsePlatform/parse-server-example), which I am controlling using the Parse Server Dashboard (https://github.com/ParsePlatform/parse-dashboard). I can make Rest API calls & create new classes.

Parse Server Security [closed]

半腔热情 提交于 2020-01-31 18:13:54
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 3 years ago . I am running a clean Heroku & MLab installation of the Parse Server (https://github.com/ParsePlatform/parse-server-example), which I am controlling using the Parse Server Dashboard (https://github.com/ParsePlatform/parse-dashboard). I can make Rest API calls & create new classes.

Save SWITCH button state, and recover state with SharedPrefs

我的梦境 提交于 2020-01-30 03:27:10
问题 I have a Settings class so the user can decide to subscribe/unsubscribe to channels in Parse Push. I think I got it all figure out except for the part to recover, and maintain the switch state next time user open the app or changes the state. Can someone please help me on how to save the state, and switch the SWITCH to what the user selected? public class Settings extends Activity { /** * Called when the activity is first created. */ private Switch krspush, egspush; public static final String