-
-
Notifications
You must be signed in to change notification settings - Fork 871
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[PFInstallation currentInstallation]'s objectId is nil #1568
Comments
Do you ever specifically call The |
Yes, I specifically had the user who was experiencing this issue run a command that called |
I wonder if the save was successful or returned an error. Do you see their installation in Installation table on Parse Dashboard? |
The |
@cbaker6 to follow up on this, it looks like the data is being saved to Parse correctly and the object on Parse does have an objectId. The Parse SDK on-device is just returning null for the objectId on the currentInstallation. |
@bmueller Can you try to always dispatch to the main when saving the Installation as it uses some UIApplication (badges) which requires the main queue. This can be the reason for the sporadic behavior. Let me know if you have any luck with this. |
I'll give that a try! |
Same issue |
In the past few weeks, I've had multiple users reporting problems with my app related to the Parse SDK. After some troubleshooting, it looks like the issue is that the
objectId
on their[PFInstallation currentInstallation]
is nil.I've never seen this happen before and have been using the Parse SDK for years now. What could be causing this? Is there a way to force the currentInstallation to get a new objectId? I tried saving the installation and calling
[PFInstallation getCurrentInstallationInBackground]
, but neither of those created a new objectId.I'm running the latest version of the Parse iOS SDK - not sure if there were any recent changes that could be causing this.
The text was updated successfully, but these errors were encountered: