RBSentinel
RBSentinel copied to clipboard
didUpdateResource not working in background
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).
will look into this.. thanks for the feedback