Skip to content

Minimal complete reproducible code sample for Local_auth crashing in android #64996 issue

Notifications You must be signed in to change notification settings

akifarhan/local_auth_bug

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

local_auth_bug

A minimal complete reproducible code sample for flutter/flutter#64996

Description

I am using local_auth to sign in with fingerprint and encounter some problem with Android. When I run in debug mode, it works fine. However, if I build it in app-bundle/apk in release mode --release, the app crashing before the popup to ask for fingerprint.

Step to reproduce

Try to flutter build apk and flutter install on an Android device, you'll encounter the crash after the apps loaded.

Issue

Update android gradle plugin.

  • When I opened this project in Android studio, I saw this Plugin Update Recommended popup.

image

  • After I updated the plugin, this is the changes; (android/build.gradle).

image

  • Encounter the issue.

Workaround for this issue

Change back to classpath 'com.android.tools.build:gradle:3.5.0' in android/build.gradle . Do not update the plugin.

About

Minimal complete reproducible code sample for Local_auth crashing in android #64996 issue

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages