HomeiOS Developmentjava - Drawback with flutter_blue_plus plugin in launch mode for android

java – Drawback with flutter_blue_plus plugin in launch mode for android


I am fairly new to flutter. I constructed a bluetooth-based utility and use the flutter_blue_plus plugin. The applying is in debug mode and works with none issues. If I put it in launch mode, various things occur, it does not at all times ship or obtain knowledge. In fact, the issue is on Android, I have never observed any such issues on iOS.

I learn the documentation fastidiously and added proguard-rules.professional in android/app/:

-keep class com.lib.flutter_blue_plus.* { *; }

and I added one thing like this in android/app/construct.gradle:

    buildTypes {
        launch {
            signingConfig signingConfigs.debug
            minifyEnabled false
            shrinkResources false
            proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.professional'
        }
    }

Please assist

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments