Amrutha Desai
Amrutha Desai

Reputation: 101

How to send app referal message using all available messaging apps in Flutter

I have developed an android app that has a button ,onclick of which it sends a message with a ready template. Before sending the message it prompts the user as to which app they want the message to go from. I have used this in my android app which works absolutely fine:

sendIntent.setAction(Intent.ACTION_SEND)
sendIntent.putExtra(Intent.EXTRA_TEXT,"Check out this app :" + PlayStoreURLtoShare);

I have also provided the screenshot below:

enter image description here

I want to know how can i do the same in Flutter for both Android and iOS devices.

Upvotes: 1

Views: 147

Answers (1)

Ankit Sangwan
Ankit Sangwan

Reputation: 1237

There a package for that in flutter called share. You can check it here

Upvotes: 2

Related Questions