-
Notifications
You must be signed in to change notification settings - Fork 27.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
local_auth: ^0.6.0+1 works fail #45230
Comments
Hi @suchul |
Hi Francecsco lapida
Thank you for your support
I will send you a sample app for this issue
pubspec.yml ==> local_auth: ^0.6.0+1
if you run this app, you can see the problem
And
pubspec.yml ==> local_auth: ^0.4.0+1.
if you modify the code and run it, it works fine.
this app was created as a flutter application
Please check you this issue
Thanks
sckang
test_local_auth.zip
<https://drive.google.com/file/d/1VLvcwQXfxKTQuShV_jWxVjCx9Oy-vt3J/view?usp=drive_web>
2019년 11월 20일 (수) 오후 7:20, Francecsco Iapicca <[email protected]>님이
작성:
… Hi @suchul <https://github.com/suchul>
could you please provide your flutter doctor -v
and your flutter run --verbose?
Also, to better address the issue, would be helpful
if you could post a minimal code sample to reproduce the problem
Thank you
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#45230?email_source=notifications&email_token=AG4MHEKHZ2ZHDCLSIZWWBQLQUUFQJA5CNFSM4JPNBPMKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEERO77Y#issuecomment-555937791>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AG4MHEI4P5VT72TF6S3BKDTQUUFQJANCNFSM4JPNBPMA>
.
|
It works well in older versions(0.4.1) but it doesn't work in newer versions pubspec.yml ==> local_auth: ^0.6.0+1 if you run this app, you can see the problem And if you modify the code and run it, it works fine. this app was created as a flutter application Please check you this issue Thanks test_local_auth.zip |
base on the error you have to change your public class MainActivity extends FlutterActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
GeneratedPluginRegistrant.registerWith(this);
}
}
public class MainActivity extends FlutterFragmentActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
GeneratedPluginRegistrant.registerWith(this);
}
} |
Hi @suchul |
Without additional information, we are unfortunately not sure how to resolve this issue. We are therefore reluctantly going to close this bug for now. Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away! |
@suchul did you got any solution for this issue. I am facing same issue. could you please let me know if you fixed. @VladyslavBondarenko I am facing same issue. |
Hi i am reserved this issue
below comment
base on the error you have to change your MainActivity
public class MainActivity extends FlutterActivity {
@OverRide
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
GeneratedPluginRegistrant.registerWith(this);
}
}
to
public class MainActivity extends FlutterFragmentActivity {
@OverRide
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
GeneratedPluginRegistrant.registerWith(this);
}
}
—
2020년 1월 23일 (목) 오후 2:54, Galaba <[email protected]>님이 작성:
… @suchul <https://github.com/suchul> did you got any solution for this
issue. I am facing same issue. could you please let me know if you fixed.
@VladyslavBondarenko <https://github.com/VladyslavBondarenko> I am facing
same issue.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#45230?email_source=notifications&email_token=AG4MHEIOTJ3N57SUXZ7IEDDQ7EWIRA5CNFSM4JPNBPMKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJWDMJI#issuecomment-577517093>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AG4MHEKQWEMBZ2UOXS6UNJTQ7EWIRANCNFSM4JPNBPMA>
.
|
I changed As you suggested. but I am getting below Error:
@VladyslavBondarenko Any help from your side. could you please look inti it once. |
@dnfield Could you please look into it above issue. |
@suchul This main file in kotlin should look like:
|
@VladyslavBondarenko where should add this code I mean Which file? I am not able to find any MainActivity.Java file |
@suchul |
@suchul |
I think @mklim @matthew-carroll or @blasten would know what's going on better here |
I've read through this read but it's not clear to me if a problem still exists, and if it does, what the particular problem is. There was a recommendation to change from |
I just created a new project using
I can't make this work by importing
Edit: Got it working by the following
|
Same for Kotlin :
|
Without additional information, we are unfortunately not sure how to resolve this issue. We are therefore reluctantly going to close this bug for now. Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away! Could everyone who still has this problem please file a new issue with the exact descriptions what happens, logs and the output of 'flutter doctor -v' please. |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
It works well in older versions(0.4.1) but it doesn't work in newer versions
Please check this issue
The text was updated successfully, but these errors were encountered: