Is there any way to read messages from device?


#1

Hello expo teams! It’s been awesome working with expo + react native app for 3 months. It’s super cool and faster way to build cross platforms app. I’m trying to find any API that allow me to access Messages on Android Device (can be both) and display that information to the App. I’ve found only Contact API on Expo docs. Thanks!


#2

Hey, @yimankaing! Glad you have been having a great experience building with Expo thus far! Unfortunately, there isn’t currently a means to access a user’s device messages within the Expo SDK. I would encourage you to open up a Feature Request on our Canny page (https://expo.canny.io/feature-requests) so that we can keep track of what Expo developers want us to add in the SDK and others can voice their support for the same features. With that said, if you need to continue with production quickly, it looks like there is a library that allows you to access Android messages https://github.com/msmakhlouf/react-native-android-sms but you would have to detach your Expo project and begin developing with ExpoKit (https://docs.expo.io/versions/latest/guides/detach.html) so you can make the native code configurations that are necessary to use that library!

Cheers,

Adam


closed #3

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.