Giter VIP home page Giter VIP logo

sms_user_consent's People

Contributors

nico04 avatar pharshdev avatar san-smith avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

sms_user_consent's Issues

Can I actively stop retrived sms ?

I have 1 popup to show OTP input but if I close that popup suddenly and I called dispose but then still show permission screen: SMS_CONSENT_REQUEST, is it possible to add a function to actively stop sms retrieved?

Crash brightness_1 Huawei Y9 Prime 2019 brightness_1 Android 10 (SDK 29) brightness_1

The plugin crashes on android 10.
java.lang.RuntimeException:
at android.app.ActivityThread.deliverResults (ActivityThread.java:5471)
at android.app.ActivityThread.handleSendResult (ActivityThread.java:5512)
at android.app.servertransaction.ActivityResultItem.execute (ActivityResultItem.java:51)
at android.app.servertransaction.TransactionExecutor.executeCallbacks (TransactionExecutor.java:149)
at android.app.servertransaction.TransactionExecutor.execute (TransactionExecutor.java:103)
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:2386)
at android.os.Handler.dispatchMessage (Handler.java:107)
at android.os.Looper.loop (Looper.java:213)
at android.app.ActivityThread.main (ActivityThread.java:8178)
at java.lang.reflect.Method.invoke (Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:513)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1101)
Caused by: java.lang.IllegalArgumentException:
at android.app.LoadedApk.forgetReceiverDispatcher (LoadedApk.java:1507)
at android.app.ContextImpl.unregisterReceiver (ContextImpl.java:1647)
at android.content.ContextWrapper.unregisterReceiver (ContextWrapper.java:664)
at dev.pharsh.sms_user_consent.SmsUserConsentPlugin$onAttachedToActivity$1.onActivityResult (SmsUserConsentPlugin.kt:76)
at io.flutter.embedding.engine.FlutterEnginePluginRegistry$FlutterEngineActivityPluginBinding.onActivityResult (FlutterEnginePluginRegistry.java:691)
at io.flutter.embedding.engine.FlutterEnginePluginRegistry.onActivityResult (FlutterEnginePluginRegistry.java:378)
at io.flutter.embedding.android.FlutterActivityAndFragmentDelegate.onActivityResult (FlutterActivityAndFragmentDelegate.java:625)
at io.flutter.embedding.android.FlutterActivity.onActivityResult (FlutterActivity.java:583)
at android.app.Activity.dispatchActivityResult (Activity.java:8413)
at android.app.ActivityThread.deliverResults (ActivityThread.java:5464)

Google play store Vulnerability detection because of startActivityForResult

I was trying to upload a version of my application to google play and faced this:

Your app(s) are vulnerable to Intent Redirection.
To address this issue, follow the steps in this Google Help Center article.
q3.b$b.onReceive
androidx.activity.ComponentActivity.startActivityForResult
While these vulnerabilities may not affect every app, it’s best to stay up to date on all security patches.

I think it is referring to this part of code:
mActivity.startActivityForResult(extras.getParcelable(SmsRetriever.EXTRA_CONSENT_INTENT), SMS_CONSENT_REQUEST)

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.