I deployed my own Parse server on Scalingo, following the link for an example server example. https://github.com/ParsePlatform/parse-server-example
Now I am developing an iOS browser app so that I follow This Link from Parse to share PFUser credentials among those containing the app and watch.
It is like my app delegate in the containing app.
[Parse enableDataSharingWithApplicationGroupIdentifier:@"group.abc.xys"];
[Parse initializeWithConfiguration:[ParseClientConfiguration configurationWithBlock:^(id<ParseMutableClientConfiguration> _Nonnull configuration) {
configuration.applicationId = @"myiosapp";
configuration.clientKey= @"myiosappclientkey";
configuration.server= @"https://myiosapp.scalingo.io/parse";
}]];
This is how I initialize Parse in my watch.
[Parse enableDataSharingWithApplicationGroupIdentifier:@"group.abc.xys"
containingApplication:@"com.abc.myapp"];
[Parse enableLocalDatastore];
[Parse initializeWithConfiguration:[ParseClientConfiguration configurationWithBlock:^(id<ParseMutableClientConfiguration> _Nonnull configuration) {
configuration.applicationId = @"myiosapp";
configuration.clientKey= @"myiosappclientkey";
configuration.server= @"https://myiosapp.scalingo.io/parse";
}]];
But it doesn't seem to get PFUser
which I registered in the application.
PS : it works fine when I use [Parse setApplicationId:@.......
for an application hosted on Parse.com, but when I use my own server with the above [Parse initializeWithConfiguration....
, it does not work.