RBSentinel icon indicating copy to clipboard operation
RBSentinel copied to clipboard

didUpdateResource not working in background

Open troelsrichter opened this issue 9 years ago • 1 comments

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).

troelsrichter avatar Jul 31 '15 09:07 troelsrichter

will look into this.. thanks for the feedback

RoshanNindrai avatar Jul 31 '15 13:07 RoshanNindrai