Skip to content
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

didUpdateResource not working in background #1

Open
troelsrichter opened this issue Jul 31, 2015 · 1 comment
Open

didUpdateResource not working in background #1

troelsrichter opened this issue Jul 31, 2015 · 1 comment

Comments

@troelsrichter
Copy link

When I implement this in the parent app:

[self.sentinel addListenerForResource:@"message" withCompletionHandler:^(id response) {
[weakSelf.parentAppMessage setText:response];
}];

and this in the extension:

[self.sentinel didUpdateResource:@"message" withContent:self.userInput.text];

Then it is not working in the background.

It seams like only your rest-based methods are working in the background because they use the native method [WKInterfaceController openParentApplication:...] where ass didUpdateReseource uses the shared app group.

I where trying out RBSentinal because I am experiencing a 4 second delay when I use [WKInterfaceController openParentApplication:...] when running on a physical watch (simulator is working fiine).

@RoshanNindrai
Copy link
Owner

will look into this.. thanks for the feedback

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants