[Deeplinks] "www.ingress.com" not whitelisted in Firebase (Agent profile Deep Links)

InvestigateXMInvestigateXM ✭✭✭✭✭
edited April 2 in Report a Bug

There are currently three types of deeplinks for Ingress: Portals, Missions and Agent profiles. Both Portal and mission links are handled so that if it opened on a PC it opens the intel map with the respective Portal/mission selected. As Agent profiles aren't available on intel it seems the intention was to redirect the browser to https;//www.ingress.com instead (via the parameter "&ofl=https%3A%2F%2Fwww.ingress.com%2F"), however, that specific URL hasn't been whitelisted by the provider that handles Deeplinks, Firebase, and instead falls back to intel.ingress.com/agent/AGENTNAME which gives an error.

I have used this (shortened) link to enable the debug view for Deeplinks where it shows a chart of what happens across the various platforms if an agent link is used and which shows that error ("&d=1" at the end):

https://link.ingress.com/?link=https%3A%2F%2Fintel.ingress.com%2Fagent%2FInvestigateXM&ofl=https%3A%2F%2Fwww.ingress.com%2F&d=1

If you change the "https;//www.ingress.com" to just "https;//ingress.com" however, it works as https;//ingress.com itself is whitelisted.

https://link.ingress.com/?link=https%3A%2F%2Fintel.ingress.com%2Fagent%2FInvestigateXM&ofl=https%3A%2F%2Fwww.ingress.com%2F&d=1

This bug has two solutions, an easy one would be to whitelist "https;//www.ingress.com" in the Firebase settings, the other would be to update the Deeplink via a Scanner update so it uses "https;//ingress.com" instead.

Complete broken link for comparison:
https://link.ingress.com/?link=https%3A%2F%2Fintel.ingress.com%2Fagent%2FInvestigateXM&apn=com.nianticproject.ingress&isi=576505181&ibi=com.google.ingress&ifl=https%3A%2F%2Fapps.apple.com%2Fapp%2Fingress%2Fid576505181&ofl=https%3A%2F%2Fwww.ingress.com%2F

Complete fixed link for comparison:

https://link.ingress.com/?link=https%3A%2F%2Fintel.ingress.com%2Fagent%2FInvestigateXM&apn=com.nianticproject.ingress&isi=576505181&ibi=com.google.ingress&ifl=https%3A%2F%2Fapps.apple.com%2Fapp%2Fingress%2Fid576505181&ofl=https%3A%2F%2Fingress.com%2F

1
1 votes

Active · Last Updated

Sign In or Register to comment.