-
Notifications
You must be signed in to change notification settings - Fork 83
SDK-216 BCIT App configured for deep link handling #991
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
0987846 to
d067a87
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #991 +/- ##
==========================================
+ Coverage 69.72% 69.73% +0.01%
==========================================
Files 111 111
Lines 8981 8981
==========================================
+ Hits 6262 6263 +1
+ Misses 2719 2718 -1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
| func application(_ application: UIApplication, continue userActivity: NSUserActivity, restorationHandler: @escaping ([UIUserActivityRestoring]?) -> Void) -> Bool { | ||
| return true // No deep link handling in this test app | ||
| print("🔗 [APP] Universal link received via NSUserActivity") | ||
| print("🔗 [APP] Activity type: \(userActivity.activityType)") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is our deep / universal link handler
| <string>applinks:example.com</string> | ||
| <string>applinks:links.example.com</string> | ||
| <string>applinks:links.tsetester.com</string> | ||
| </array> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is where we have specified an associated domain
| XCTAssertTrue(reminders.wait(for: .runningForeground, timeout: standardTimeout), "Reminders app should launch") | ||
| sleep(2) | ||
|
|
||
| // Dismiss welcome modal if it appears |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here is the logic for opening the reminders app
sumeruchat
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Leaving some comments for clarity
🔗 Deep Linking Integration Test - Universal Links from External Apps
deeplinktest.mp4
What This Does
Adds an automated integration test that validates deep linking works when users tap links from external iOS apps like Reminders, Notes, or Messages.
The Test Flow
Running It
Test Results
✅ Test passes in ~60 seconds
✅ Automated app switching (test app → Reminders → test app)
✅ Screenshots captured at each step
✅ Full XCTest report generated
Technical Setup
IterableAPI.handle(universalLink:)