Closed
Description
Following PR #579
The installation data will attempt to resave if installation is removed on the server.
But the resaving is not allowed when the local datastore is enabled due to objectID is unchangeable in offline store.
But I think in this case should be allowed .
- The
setObjectId(id)
seems only updating the in-memory map (call sequences: 1 -> 2 -> 3). Maybe just unregister old object from the map whensetObjectId(null)
and allowingParseInstalltion
type only. - The
ParseInstallation
offline store (database) will be updated after resaving (call sequences: 1 -> 2 -> 3). The code seems okay does not need to be changed.
Plz correct me if I'm wrong. 😄
Metadata
Metadata
Assignees
Labels
No labels