Universal link in IOS is not accessible for Screen Mapping ? (Washington DC)

sieusaopolo15
Tera Guru

Hi,

I wanted to know has anybody seen or encountered this problem and how to fix it ? In my notifications there is URI_REF which is the link to the record when I open the link from the record in email it redirects me to this UI Page mobileapplink. I tried to click on "Open" button but it always redirect to app store even I have Agent app installed. But this did not happen in android only IOS devices.

 

Below here is the image:

sieusaopolo15_0-1714389211842.png

 

3 REPLIES 3

bineetchaubey
ServiceNow Employee
ServiceNow Employee

Hi @sieusaopolo15 , 

 

I’m encountering some issues with deep linking and universal linking in my mobile application and would appreciate any assistance.

 

Here’s a brief overview of the problem:

  1. When the app is installed on the mobile device:
    • The deep link works correctly.
    • The universal link, however, is not functioning as expected. It’s returning an error indicating that the Error Loading URL.
  2. When the app is not installed on the mobile device:
    • The universal link leads to a page showing the error: "Page not found. Sorry, the page you are looking for could not be found."

 

bineetchaubey_0-1722923850778.png

 

Details:

  • The deepLink generated works when the app is installed.
  • The uniLink does not seem to be valid, resulting in errors.
  • When the app is not installed, the universal link directs to a "Page not found" error in the browser.

 

 

What I’ve checked:

  • The deep link URL format appears correct and works as expected.
  • The universal link should theoretically resolve to the correct page, but it's either invalid or not properly set up.

Has anyone experienced similar issues or have any suggestions for troubleshooting or resolving this problem? Any advice on how to properly configure or debug the universal link would be greatly appreciated.

Following is script snippet which I am using for  generating universal link for a mobile form screen 

var screenSysId = '';
var screen = new GlideRecordSecure("sys_sg_form_screen");
screen.addQuery("name", "Workday Time Off Request");
screen.query();

if (screen.next()) {
    screenSysId = screen.sys_id.toString();
}

gs.info('screenSysId: ' + screenSysId);

var recordSysId = '1ef4c4201be30610096c21b0604bcbaa';
var tableName = 'x_snc_uni_inbox_universal_box_external_workday_approvals';

var deepLinkGen = new global.MobileDeepLinkGenerator('Request');
var deepLink = deepLinkGen.getFormScreenLink(screenSysId, tableName, recordSysId);
gs.info('deepLink: ' + deepLink);
var uniLink = deepLinkGen.getUniversalLink(deepLink);
gs.info('uniLink: ' + uniLink);

I think the problem is the UI Page mobileapplink, I tried to modified some content and made some adjustments but nothing works. But weird things is, this error only happens for iOS devices not android devices.

Hi @sieusaopolo15 
For me Universal link  is not working for both Android and IOS.