user23150486
user23150486

Reputation: 1

what is the process of reading message from device message app using flutter

I made a flutter app for storing message. Now I want to read the message from the device message box and show it in a window using flutter how can i do that

it would be better if i can get name of a package to do so or the process of doing this.

Upvotes: 0

Views: 107

Answers (2)

Koleksiyonum
Koleksiyonum

Reputation: 11

You can use the telephony package for Android. Add the following permission in your AndroidManifest.xml, You can access your SMS data with the telephony.getInboxSms() method. for detail => https://telephony.shounakmulay.dev/query-sms

Upvotes: 0

arMan .96Dev
arMan .96Dev

Reputation: 11

it think this package can help you with what you want . it gives you access to read device sms box .you can also get messages of a specific number with help of it's recipents argument which get a list of numbers which you want to access in string .

https://pub.dev/packages/flutter_sms

i hope this can help you

Upvotes: 0

Related Questions