Live Activity doesn't open watchOS app

Our watchOS App isn't opened when tapping on a Live Activity. Added the following to our Info.plist and still get the Open on iPhone option.

<key>WKSupportsLiveActivityLaunchAttributeTypes</key>
	<array/>

Is there something else we need to configure?

Answered by Frameworks Engineer in 798232022

Thank you for asking about this and including so much detail. Based on the information you've posted, it seems like you've added the Info.plist key to your Watch app.

This might be a bug. Will you please file Feedback with a Sysdiagnose from the Watch? We'd like to investigate this. Please post the Feedback number here as a reply when you have it.

Thank you so much!

Added our activity attributes type to the plist and I no longer get the Open on iPhone option. But it doesn't open our app on watchOS either.

<key>WKSupportsLiveActivityLaunchAttributeTypes</key>
	<array>
		<string>MyAttributes</string>
	</array>

Here's the errors I see in the Console:

error	14:41:36.648880+0200	ClockFace	Failed to retreive application record for bundle ID <private>: Error Domain=NSOSStatusErrorDomain Code=-10814 UserInfo={_LSLine=1767, _LSFunction=<private>}

error	14:41:36.654383+0200	ClockFace	[FBSSystemService][0x691f] Error handling open request for se.jagcesar.mat: <NSError: 0x14e23f40; domain: FBSOpenApplicationServiceErrorDomain; code: 4 ("InvalidRequest")> {
    FBSOpenApplicationRequestID = 0x691f;
    NSLocalizedDescription = The request to open "se.jagcesar.mat" failed.;
    NSUnderlyingError = <NSError: 0x14e4e8b0; domain: FBSOpenApplicationErrorDomain; code: 4 ("NotFound"); "Application info provider (FBSApplicationLibrary) returned nil for "se.jagcesar.mat"">;
}

error	14:41:36.654812+0200	ClockFace	Error opening application: Error Domain=FBSOpenApplicationServiceErrorDomain Code=4 UserInfo={BSErrorCodeDescription=<private>, NSLocalizedDescription=<private>, NSUnderlyingError=0x14e4e8b0 {Error Domain=FBSOpenApplicationErrorDomain Code=4 UserInfo={BSErrorCodeDescription=<private>, NSLocalizedFailureReason=<private>}}, FBSOpenApplicationRequestID=<private>}

It looks as if it's trying to open an app with the bundle identifier se.jagcesar.mat, but the watchOS bundle identifier is se.jagcesar.mat.watchkitapp.

Afaik the watchOS bundle identifier has to use the iOS bundle identifier as a prefix followed by .watchkitapp.

Thank you for asking about this and including so much detail. Based on the information you've posted, it seems like you've added the Info.plist key to your Watch app.

This might be a bug. Will you please file Feedback with a Sysdiagnose from the Watch? We'd like to investigate this. Please post the Feedback number here as a reply when you have it.

Thank you so much!

I am experiencing the same issue. I have looked through the Console logs and seeing pretty much the same thing as @JagCesar2 . It would be great if this could be fixed soon, because I'd love to test the logic of performing sync with my server after the app is opened by tapping on the live activity, and then displaying the relevant screen.

I have submitted a Feedback for this: FB14754576

@JagCesar2 @luksape was it fixed for you? I'm trying with WatchOS 11.2 Beta and still same behavior showing "Open on iPhone" view instead of going into watch app

Live Activity doesn't open watchOS app
 
 
Q