question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

URL Open Issues with Firebase Dynamic links

See original GitHub issue

I am trying to use firebase dynamic links to direct users webview interactions to pages on the android App and it works well on web browser on emulator but throwsup the following error when website was loaded in webview and user selected the url with the dynamic link

Can't open url: intent://ncelltest.page.link/getapp#Intent;package=com.google.android.gms;action=com.google.firebase.dynamiclinks.VIEW_DYNAMIC_LINK;scheme=https;S.browser_fallback_url=https://play.google.com/store/apps/details%3Fid%3Dcom.mventus.ncell.activity;end;

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:4
  • Comments:8

github_iconTop GitHub Comments

1reaction
matinzdcommented, Jan 19, 2022

This issue is hasn’t solved yet. For testing purpose, you can test this link: https://forms.gle/n4kYs6KLhoaULBUi6

WARN Can't open url: intent://forms.gle/n4kYs6KLhoaULBUi6#Intent;package=com.google.android.gms;action=com.google.firebase.dynamiclinks.VIEW_DYNAMIC_LINK;scheme=https;S.browser_fallback_url=https://docs.google.com/forms/d/e/1FAIpQLSeVCUQbORH7FkvPXsb9FpkNLhNzJYmb0I2-RuCxQ2y-MM0lqg/viewform%3Fusp%3Dsend_form;end;

1reaction
arcslashcommented, May 14, 2020

There is a solution, But more like a work around so it seems like webview blocking up requests with “intent://” head, as a solution “intent://” can be added to whitelist of the WebView. check the code below,

 <WebView      
      originWhitelist={['intent://']}
      source={{ uri: 'http://10.0.2.2:3000/' }}/>  

But the user experience might not be that great as this makes the URL to be opened from the web browser and web browser will the one doing the navigation to the page inside the app

Read more comments on GitHub >

github_iconTop Results From Across the Web

Firebase Dynamic Links
Firebase Dynamic Links are links that work the way you want, on multiple platforms, and whether or not your app is already installed....
Read more >
Dynamic links fail to open on custom browsers as Facebook
We've rolled out a fix for this issue. Now, Firebase Dynamic Link (FDL) for Android uses market URL instead of intent redirect. The...
Read more >
Firebase Dynamic Link: Does not work correctly when opened ...
-The issue happens for both actual devices and simulators. -The link works fine when opened from iOS Chrome as an URL, other iOS...
Read more >
Why is my Firebase Dynamic Links asking users where to ...
Recently I am trying to use Firebase Dynamic Link. When users click on the link and select "Open with Chrome", another prompt wii...
Read more >
Getting Started with Firebase Dynamic Linking
The issue with standard deep links is that they do not survive the app installation process. If a user clicks on a deep...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found