Questions
Assistance Required: iOS Push Notification Deep Linking & Badge Issues
Hi Median.co Team,
We are currently facing an issue where deep links and push notification clicks are failing to route users to the intended URLs inside our mobile app, consistently falling back to the home page instead.
Push Notification Payload Issue
Per Median's documentation, we are using the targetUrl key inside the data payload with OneSignal. However, tapping the notification opens the app without navigating to the specific target page.
Universal / App Links Behavior
Beyond push notifications, standard shared links opened on mobile devices exhibit the exact same behavior: instead of resolving to the specified internal path, the app launches directly to the home screen.
Request for Support
Could you confirm if additional setup is required on the Median App Portal (e.g., custom URL scheme rules, internal link behavior configuration, or domain handling rules)?
Is there a specific link handler or JavaScript bridge API configuration needed to capture and route incoming deep link paths correctly?
Please let us know if you require our app ID or additional logs to help diagnose this.
Here is our current payload implementation:
Text
notification_body = {
gs.ONESIGNAL_APP_ID,
: 'push',
': "New message from {}".format(sender.username)},
': message},
ids': list(player_ids),
rl,
targetUrl,
e": str(dialogue.name),