Is Apple Watch Kit Extension Request handler possible through CoronaDelegate?

The Watch Kit App can request information from the iOS app by calling the WKInterfaceController’s openParentApplication function. The iOS app can respond via the UIApplicationDelegate’s handleWatchKitExtensionRequest function.

As we do not have direct access to the app delegate class where the handleWatchKitExtensionRequest is normally implemented, we can only implement the function at the CoronaDelegate level. Does the app delegate class in Corona allow for the handleWatchKitExtensionRequest function to be passed to our CoronaDelegate class?

Looks like this API is part of the iOS 8.2 beta , so this is not supported in the current version of Corona Enterprise which assumes iOS 8.1. 

Hooking into the CoronaDelegate seems like the right mechanism. We’ll have a better idea once iOS 8.2 goes out of beta (and the APIs stabilize), and Corona Enterprise is updated against 8.2. 

Hi walter,

Thanks for the reply. We’ll keep an eye out for the update to 8.2.

This now works in Corona Enterprise daily build 2015.2560.

We verified this using the ‘App’ sample project template, so you might want to double check your project settings if you changed them. But the main requirement is to link against the latest iOS SDK (8.2)

Thanks for the update, walter. We’ll post a follow-up if we encounter any further issues.

Looks like this API is part of the iOS 8.2 beta , so this is not supported in the current version of Corona Enterprise which assumes iOS 8.1. 

Hooking into the CoronaDelegate seems like the right mechanism. We’ll have a better idea once iOS 8.2 goes out of beta (and the APIs stabilize), and Corona Enterprise is updated against 8.2. 

Hi walter,

Thanks for the reply. We’ll keep an eye out for the update to 8.2.

This now works in Corona Enterprise daily build 2015.2560.

We verified this using the ‘App’ sample project template, so you might want to double check your project settings if you changed them. But the main requirement is to link against the latest iOS SDK (8.2)

Thanks for the update, walter. We’ll post a follow-up if we encounter any further issues.