Skip to content

Initialization error on release mode #19

@Zazo032

Description

@Zazo032

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions