Welcome toVigges Developer Community-Open, Learning,Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
668 views
in Technique[技术] by (71.8m points)

android - Firebase dynamic Link is not clickable in default messaging app of MI, realme devices

I am sending invite message using SMS intent but link in invite message is not clickable. Link is working and clickable in samsung phone (API 24), in oneplus (API 29) but it not clickable in MI , realme devices . And in same MI phone same messaging app bitly short link is clickable . I have created dynamic link using firebase dynamic link feature , here is my code to send sms using both links i.e firebase dynamic and Bitly short link :

String shareMessageFirebase = "Hi testing firebase dynamic link. Sent from Sky.
 https://test200.page.link/2020";

String shareMessageBitly = "Hi testing bitly short link. https://bitly/3n1Xo3k";

             try {
                    Intent sendIntent = new Intent(Intent.ACTION_VIEW);
                    sendIntent.setData(Uri.parse("sms:"));
                    sendIntent.putExtra("sms_body", shareMessageFirebase);
                    startActivity(sendIntent);

                } catch (Exception e) {
                    Util.showLog(TAG, "Exception  " + e);
                    e.printStackTrace();
                }

Screenshot of one plus

Screenshot of samsung device

Screenshot of Mi Device


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to Vigges Developer Community for programmer and developer-Open, Learning and Share

2.1m questions

2.1m answers

63 comments

56.6k users

...