I've set up the plugin and it works correctly on debug/profile modes, but when I run it on release mode, I always get this error when the plugin is initialized:
E/flutter (31094): [ERROR:flutter/lib/ui/ui_dart_state.cc(213)] Unhandled Exception: type 'Null' is not a subtype of type 'bool'
E/flutter (31094): #0 new MsalMobileResult.fromJson (package:msal_mobile/result.dart:13)
E/flutter (31094): #1 MsalMobile.create (package:msal_mobile/msal_mobile.dart:45)
However, if I set minifyEnabled false in android/app/build.gradle, it works as intended, but the app size goes a lot bigger. I've tried adding many Proguard rules, but that doesn't seem to work.
I'm using #15
I've set up the plugin and it works correctly on debug/profile modes, but when I run it on release mode, I always get this error when the plugin is initialized:
However, if I set
minifyEnabled falseinandroid/app/build.gradle, it works as intended, but the app size goes a lot bigger. I've tried adding many Proguard rules, but that doesn't seem to work.I'm using #15