Welcome to 16892 Developer Community-Open, Learning,Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

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


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

1 Answer

等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to 16892 Developer Community-Open, Learning and Share
...