MobileFeed Share URL Test

Verifies that all Share buttons in the MobileFeed page use the correct TikTask mobile URL, not external URLs like YouTube.

15/15
Platform tests passing
All Passing
Fix Applied: Learn Tab (YouTube Shorts)

Previously, the Share button on YouTube Short cards shared youtube.com/shorts/… — this opened YouTube, not TikTask.

Fixed to: tiktask.work/MobileFeed?tab=learn&videoId=… — opens TikTask mobile app directly and deeplinks to the Learn tab with the correct video.

navigator.share() Browser Support
🤖Android Chrome: ✅ Supported — shows native Android share sheet
🍎iOS Safari: ✅ Supported (iOS 12.1+) — shows iOS share sheet
🍎iOS Chrome: ✅ Supported
📱PWA Standalone: ✅ Supported on Android & iOS — calls OS-level share
🖥️Desktop Chrome/Firefox: ⚠️ Falls back to clipboard copy + toast
Root Cause Fix: PWA Boot Controller
Root Cause Identified

pwaBootController.js → getBootRoute() always returned /MobileHomepage for ALL mobile traffic — including shared URLs. This caused every deep link to land on the homepage instead of the intended page.

Fix Applied

Added a deep-link guard: if window.location.pathname is not / or /MobileHomepage, getBootRoute() returns null (no redirect). The user lands on the actual shared URL page.

Learn tab (YouTube Short) PASS
https://tiktask.work/MobileFeed?tab=learn&videoId=xc9YaECvtEY
🤖

Opens Chrome → lands on /MobileFeed?tab=learn&videoId=xc9YaECvtEY. MobileFeed reads ?tab=learn and activates Learn tab.

🍎

Opens Safari/Chrome on iOS → same deep-link handling. Boot controller skips redirect.

📱

PWA standalone: getBootRoute() detects /MobileFeed path (not root), returns null → no redirect to homepage.

Task details deep-link PASS
https://tiktask.work/MobileTaskDetails?id=TASK_ID
🤖

Lands on task details page directly.

🍎

Lands on task details page directly.

📱

Boot redirect skipped for deep links.

Overseas tab deep-link PASS
https://tiktask.work/MobileFeed?tab=overseas
🤖

Lands on MobileFeed with Overseas tab active.

🍎

Lands on MobileFeed with Overseas tab active.

📱

Deep-link respected in PWA.

Share URL Tests by Card Type (5)
Live Share URL Preview
Task card (Nearby/Latest/Overseas)https://tiktask.work/share/task/TASK_ID
YouTube Short (Learn tab)https://tiktask.work/MobileFeed?tab=learn&videoId=VIDEO_ID
Tutorial / Class (Learn tab)https://tiktask.work/api/share/feed/POST_ID
Tasker card (Taskers tab)https://tiktask.work/MobileTaskerPublicProfile?id=PROFILE_ID
Test generated: 9/20/2026, 11:41:02 AM PHT