Questions tagged [parse-ios-sdk]

Parse Platform iOS/MacOS/TVOS SDK

The Parse iOS/MacOS/TVOS SDK allows you to store data, manage users, send push notifications, track analytics, and more in just a few lines of code.

Contribute

30 questions
0
votes
0 answers

Xcode 11 Error connecting with Parse to Amazon Web Service

I am trying to connect to my AWS server, but when I try to save an object there, Xcode cannot reach and trow me this error: Optional(Error Domain=Parse Code=0 "unauthorized" UserInfo={error=unauthorized, NSLocalizedDescription=unauthorized,…
0
votes
0 answers

Parse Platform on iOS: best way to replace changed local values with more-recently changed server values?

So imagine the following scenario, using the Parse platform on iOS: I get a PFObject from the server, let's call it GlassChalice. Someone else, let's say Bill Blofeld, changes GlassChalice from a different location. Later, I make some changes to my…
Le Mot Juiced
  • 3,761
  • 1
  • 26
  • 46
0
votes
1 answer

Duplicated anonymous users when session expired in Parse platforms

if let cachedUser = PFUser.current() { // proceed to save some objects } else { PFAnonymousUtils.logIn{ (user, error) in // proceed to save some objects if ((error as NSError).code == 209) { // session expired,…
mkto
  • 4,584
  • 5
  • 41
  • 65
0
votes
1 answer

Parse live Query "Invalid HTTP upgrade", code: 403)

I have Connected my iOS Apps with self-hosted parse backend.I am implemented live query for real time data update on my iOS Apps. After subscription its showing me and error: WebSocket did disconnect with error: Optional(Starscream.WSError(type:…
Ekramul Hoque
  • 672
  • 4
  • 17
0
votes
1 answer

Local Parse Database gives error in SwiftUI

I'm trying to store objects in a local Parse datastore on the device itself. I get an error when retrieving the stored object: 'Method requires Pinning enabled.' I've implemented 'Parse.enalbelLocalDatastore() in AppDelegate.swift. I tried to…
JanR
  • 51
  • 3
0
votes
0 answers

Error while trying to save an image in background in Xcode and Parse

I am trying to save an image on the Parse server launched with AWS. when I push the postImage button i see the following error message: "The data couldn't be read because it isn't in the right format" . My Xcode version is 10.2.1 If I save the…
aspnet82
  • 33
  • 1
  • 8
0
votes
1 answer

Getting data from Parse server into xcode

I just got into xcode and swift using Parse. I've created a view controller with an image view and some labels. I also set up a Parse server with images and description of those images (for example: an image of a tree with a separate file of the…
Muahahaz
  • 5
  • 3
0
votes
1 answer

PFLogInViewController logInView.usernameField.attributedPlaceholder is gone

In a CustomLogInViewController class of mine subclass of PFLogInViewController, I had this kind of code: @implementation CustomLogInViewController - (void)viewDidLoad { [super viewDidLoad]; ....... …
Michel
  • 10,303
  • 17
  • 82
  • 179
0
votes
1 answer

Errors using PFUser.getCurrentUserInBackground()

I am using Parse and PFUser in a Swift iOS app, and find myself in a case where PFUser.current() does not do exactly what I want, due to synchronisation issues. For that reason I am trying to use: PFUser.getCurrentUserInBackground(). I got started…
Michel
  • 10,303
  • 17
  • 82
  • 179
0
votes
2 answers

PFQuery returning blank query

I'm trying to run a PFQuery that will populate an array of custom structs. Everything looks ok, but when I run the code the query returned is empty. I also tried this using PFUser.Query, which worked, but did not return a value for objectId, so…
Khledon
  • 193
  • 5
  • 23
0
votes
1 answer

Not able to read email from Parse

I'm trying to read user info from Parse I can read both name and phone (among lots else) fine, but the email column is not being red. I set the user info like this: PFUser.current()?["name"] = name …
Eccles
  • 394
  • 1
  • 3
  • 13
0
votes
2 answers

Unable to load data from Parse Server with error =( Error?) nil none

I'm unable to load data from the server as I'm getting an error - error =( Error?) nil none. Before the error it sees the PFObject's 4 values. Then download and beats. And pointing to a line - let detailPrognozS = object["detailPrognozS"] as!…
0
votes
1 answer

Parse-Server LiveQuery not sending events

I am trying to get live queries working with iOS and Parse-Server. The following is my setup for my Parse-Server: ... let api = new ParseServer({ databaseURI: databaseUri || constants.DATABASE_URI, cloud: process.env.CLOUD_CODE_MAIN ||…
RPK
  • 1,830
  • 14
  • 30
0
votes
1 answer

Remove objects from parse local datastore unpinAll not working

So I'm writing a bunch of data to the parse local data store, but want to remove the old table before i pin the new table. problem is it doesn't seem to be deleting and i end up with multiple entries for the same table. This is the code that writes…
Pippo
  • 1,439
  • 1
  • 18
  • 35
-4
votes
1 answer

Back4app with Stripe using swift iOS

I'm trying to build an iOS app with back4app acting as the db. I've added Stripe to the cloud code and I've added all the relevant API keys to it. I've been following https://www.back4app.com/docs/cloud-code-functions/stripe-android-app as…
1
2