Giter VIP home page Giter VIP logo

Comments (6)

jonqwerty avatar jonqwerty commented on July 21, 2024 1

@maniac-tech: I already understand why this library not working in my case. For trying to use @maniac-tech/react-native-expo-read-sms library need:

  1. create development build ---> eas build --profile development --platform android
  2. install this build in your physical device or emulator
  3. open project in code editor and run in terminal ---> expo start --device-client
  4. open app in device or emulator.
    And now can try use @maniac-tech/react-native-expo-read-sms and edit code.

But now I have another issue.
When I try publish my app in Play Market I receive : [logs] [!] Google Api Error: Invalid request - Release artifacts require permissions that are missing from permission declaration: android.permission.READ_SMS,android.permission.RECEIVE_SMS.

Have you any thoughts?

from exporeadsms-testapp.

maniac-tech avatar maniac-tech commented on July 21, 2024

@jonqwerty well check and this and get back on this within ~2 Days

from exporeadsms-testapp.

maniac-tech avatar maniac-tech commented on July 21, 2024

@jonqwerty : Can you verify if this apk works for you: https://github.com/maniac-tech/ExpoReadSMS-TestApp/releases/tag/v1.0.2-stable_expo-read-sms

Note: This is an older build.

from exporeadsms-testapp.

maniac-tech avatar maniac-tech commented on July 21, 2024

@jonqwerty: What you explained w.r.t the build process is correct, and that was why I asked you to make use of the older stable release.

You can raise a PR, and have the same updated in the Readme of this repo, in the meantime, I'll see if I can upload the latest Stable build.

Coming to your second question:

When I try publish my app in Play Market I receive : [logs] [!] Google Api Error: Invalid request - Release artifacts require permissions that are missing from permission declaration: 

android.permission.READ_SMS,android.permission.RECEIVE_SMS.

You'll have to update your applications manifest file (depending on how you are building it) to seek these permissions of READ_SMS and RECEIVE_SMS

from exporeadsms-testapp.

jonqwerty avatar jonqwerty commented on July 21, 2024

@maniac-tech: I have no manifest file, because I use expo. But I fix it using settings in Play Market console.

from exporeadsms-testapp.

maniac-tech avatar maniac-tech commented on July 21, 2024

Play market console? I'm not sure I'm following you.

However, if you are using expo to build your application, you can specify these permissions in your app.json file in the permissions block like this:

"permissions": [
        "android.permission.READ_SMS",
        "android.permission.RECEIVE_SMS"
      ]

from exporeadsms-testapp.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.