HighlightCenter returns no links

Hi

I got 2 universal links to my app in my Messages, but when I call highlightCenter.highlights, I get a count of 0.

What should I check to get the right links ?

Accepted Reply

Here are a couple of things you can check

  1. is Shared with You enabled for your app? Preferences > Messages > Shared with You and see if the toggle for your APP is enabled?
  2. is Shared with You enabled for the conversation where these universal links are shared
  3. In the conversation where the universal links are shared, is the participant a Contact?
  4. If you have sent the link, then you will need to "Pin" the link for it to surface in Shared with You.
  • About your first point, I don't see my app in the list of apps..

Add a Comment

Replies

Here are a couple of things you can check

  1. is Shared with You enabled for your app? Preferences > Messages > Shared with You and see if the toggle for your APP is enabled?
  2. is Shared with You enabled for the conversation where these universal links are shared
  3. In the conversation where the universal links are shared, is the participant a Contact?
  4. If you have sent the link, then you will need to "Pin" the link for it to surface in Shared with You.
  • About your first point, I don't see my app in the list of apps..

Add a Comment

Hi

I installed the beta2 of iOS 16, and of Xcode 14.

I'm finally able to see my app in Preferences > Messages > Shared with You. I toggled my app to YES. Shared with you is enabled in the conversation where I share universal links to my app The participant is a contact Both participants shared links

And yet, I still get an empty array. Any idea why ?

Ended up finding my problem. highlightCenter.highlights is not filled at the instantiation of highlightCenter, so I had to wait for the call to the delegate function.