Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

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

android - Get selected app from flutter share plugin

I am using the share plugin in my flutter app.

My use case is as follows:
If the user selects WhatsApp from the app list, then I want to share a predefined message template with the URL.
If the user selects any other social media app like FB/Twitter/Instagram/etc, then it should just forward the URL.

The issue over here is that I am unable to get any information on which app was selected from the share dialog.

Any help would be appreciated!


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

1 Answer

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

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...