[FR]: Add an origin marker to FIAM-generated NSUserActivity

Open
#16,972 1 comment 8 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

@mennahmustafaa is already working on this.

Since Nov 8, 2026.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
64/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
ios, objective-c
Domain
mobile

Research direction

Start with followURLWithSceneContinueUserActivity: in FirebaseInAppMessaging/Sources/Runtime/FIRIAMActionURLFollower.m (lines 225–240), where FIAM creates and forwards the activity. Check how the activity’s userInfo is populated and how this API is documented. Done means FIAM-created activities include a documented origin identifier that lets callers distinguish them from Universal Links.

Written by the indexing model from the issue text.

Description

api: inappmessaging type: feature request
Description

Since v13, FIAM prioritizes scene(_:continue:) for HTTP(S) action URLs.

Even ordinary web URLs that are not Universal Links are delivered as NSUserActivityTypeBrowsingWeb. There is currently no explicit marker to distinguish these FIAM-generated activities from actual Universal Links.

We need this distinction to open ordinary FIAM web URLs externally without also opening unsupported Universal Links.

Relevant implementation: followURLWithSceneContinueUserActivity: creates and forwards the activity without an origin identifier.

API Proposal

Add a documented FIAM origin identifier to userActivity.userInfo when FIAM creates the activity.

Firebase Product(s)

In-App Messaging

Dominant language
C++
Stars
7k
Forks
1.8k
Avg merge
1d 1h
Merged PRs (30d)
70

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from firebase/firebase-ios-sdk

All issues in firebase/firebase-ios-sdk

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.