Closed thomaslee-u closed 2 years ago
did you find any solution ? @arsamme
I have forked and fix this repository. You can use add dependency like this into your pubspec.yaml
android_sms_retriever:
git:
url: https://github.com/happysingh23828/flutter-sms-retriever
@happysingh23828 I've merged and published your PR. Thanks.
@happysingh23828 One time consent not working after changing FlutterActivity
to FlutterFragmentActivity
because onActivityResult
does not get called.
Do you have any idea?
@arsamme I'll check on this, Ideally it should not have any impact by changing from FlutterActivity
to FlutterFragmentActivity
I am using along with the local_auth which need to set up integration on Android using
FlutterFragmentActivity
https://github.com/flutter/plugins/tree/master/packages/local_auth#android-integration
But it has some incompatible issue with
SmsRetrieverPlugin.kt
i saw someone mention to replace
FlutterActivity
withActivity
but i am not sure https://github.com/AmolGangadhare/flutter_barcode_scanner/issues/128