My first app (lets call it CoreApp) works in background. When this CoreApp receives silent push notification I would like to pass data to my second app (UiApp).
Custom url scheme is not an option here because:
[[UIApplication sharedApplication] openURL:url]returnsNOwhenCoreAppis in background.- If I open via url scheme,
UiAppmoves to foreground, but I want to keep it in background.
I am thinking of adding voip key to both apps and communicate through sockets.
Any other ideas? Both apps are not for appstore, so I am able to use any hacks.
EDIT
The goal is to increase badge number of UiApp when CoreApp received notification. So, I want pass simple int number from CoreApp to UiApp.