-
-
Notifications
You must be signed in to change notification settings - Fork 9
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
Z fold 2 build #5
Comments
Hmm that sounds to me like your Android project isn’t configured correctly. Does the example work for you? |
yes, example works perfectly but only in debug mode, might be that there is a problem on my chair regarding flutter build apk. |
I just tested and |
is there any additional configuration which should be performed for apk release in build.graddle? ` def localProperties = new Properties() def flutterRoot = localProperties.getProperty('flutter.sdk') def flutterVersionCode = localProperties.getProperty('flutter.versionCode') def flutterVersionName = localProperties.getProperty('flutter.versionName') apply plugin: 'com.android.application' android {
} flutter { dependencies { ` |
The only difference seems to be target/compile SDK 29 vs 28. I just tried 29 and it still worked for me. So I don’t know what the problem could be. |
I did changed build to 28 and afterwards I got this:
|
@MisterJimson same issue :( I ran debug it working fine but when i built apk and upload to firebase it crash and report this log |
You could try adding this to your build.gradle to ensure the library is set correctly.
|
Yep i had tried from alpha01 to alpha09 . After changed i run example project in release mode first time it return error in previous comment, but after that app crash without log. Can y check for me? I run in physical device zflip and flutter version 2.5.1 |
androidx.window.WindowManager.registerDeviceStateChangeCallback (WindowManager.java:2) error t got from firebase @MisterJimson |
@MisterJimson :( Can you help me fix this? |
I don't have a fold 1 or 2 anymore, so unfortunately its difficult for me to help. Will revisit when the Android WindowManager lib hits 1.0.0 stable. |
Can y update your lib to newest WindowManager. I cannot create WindowInfoRepository in FlutterPlugin because it not implement AppCompatActivity. So use to method channel in my app not use lib and it working because my MainActivity extends FlutterFragmentActivity |
Yep, I will give it a try when it hits 1.0.0 stable. There are a lot of changes from the current one, so its not simple. |
Tks you :D Hope the library will be finished soon |
@ducvu212 I just pushed version 3.0.0 which resolved the compile issues on my end. |
While running apk with 1.0.1 lib it crashes with missing implementation medhod getInfoModel().
Is there any other dependency which should be included for galaxy fold device?
The text was updated successfully, but these errors were encountered: