handleActionWithIdentifier:forRemoteNotification:

I've developped an watch app o receive actionable notification in watchOS2

I've added handleActionWithIdentifier:forRemoteNotification: to ExtensionDelegate.swift but i never enter it once i clicked on one of the actions.

I actually implemented all optional func in the WKExtensionDelegate for remote push notification, also i'm sure this is the right class intanctiates as applicationWillResignActive is called.


See project:

https://github.com/corinnekrych/hellowatch


Anyone faing the issue?

++

Corinne


watchOS2 beta5

ios9beta5

Xcode7beta6

Replies

Would appreciate it if someone who has this working would respond. I'm having the same issue, quite frustrating.

Hmm have you tried adding these to your actions?


        textAction.activationMode = .Foreground
        declineAction.activationMode = .Foreground


Hope this helps!