Skip to content

Share Extension - [PFUser currentUser] is nil #565

Closed
@seecahkhing

Description

@seecahkhing

Hi,

I've tested the previously working Share Extension (using Parse platform) after I migrated to Parse-server. The main/container app is working fine with queries and is still configured as follows:
[Parse enableDataSharingWithApplicationGroupIdentifier:AppGroupId];
[Parse initializeWithConfiguration:[ParseClientConfiguration configurationWithBlock..

So on my share extension I'm still using the same initialization as well except [Parse setApplicationId.. which is changed to Parse initializeWithConfiguration,

[Parse enableDataSharingWithApplicationGroupIdentifier:AppGroupId containingApplication:AppGroupId]; [Parse enableLocalDatastore];
before I set the Parse initializeWithConfiguration...

On the share extension, the [PFUser currentUser] is always nil..

Kindly advise if there are some tweaks need to be done.. Thanks in advance..

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions