FooStudio/flutter_statusbar_manager

Support androidx

HosseinArabbeigi opened this issue · 19 comments

Please add support for androidx.

Please add support for androidx.

Please can you give us some news ? Are you going to add support for androidx ?
Best regards

Ditto , Need to support AndroidX

you can use guitcastro commits in this issue to migrate to androidx.

Thanks for your answer @H03in , do you know where to locate local repository to merge guitcastro commits ?

Your welcome @vAugagneur, it doesn't need to pull commits, just add commits changes to your flutter plugin inside your project, using IDE, for example in android studio, this is my status bar plugin :

image

thanks @H03in (y)

any easy solution? thanks...

You can use guitcastro's master version by adding the following to you pubspec.yaml

flutter_statusbar_manager:
    git: git@github.com:guitcastro/flutter_statusbar_manager.git

Or fork it yourself, fix it and do the same thing pointing at your fork.

Me helped Android Studio > Refactor Menu > Migrate to AndroidX
https://stackoverflow.com/questions/51280090/what-is-androidx

You can use guitcastro's master version by adding the following to you pubspec.yaml

Got : git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.

@g-balas you need to set up ssh keys with github or just use https:

flutter_statusbar_manager:
    git: https://github.com/guitcastro/flutter_statusbar_manager.git

Please add support for androidX .
I upgraded my flutter project to androidX , but when i wantd to build a release apk , i got this error :

A problem occurred configuring root project 'flutter_statusbar_manager'.
> Failed to notify project evaluation listener.
   > org.gradle.api.tasks.compile.CompileOptions.setBootClasspath(Ljava/lang/String;)V

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 2s


The plugin flutter_statusbar_manager could not be built due to the issue above. 

I think this is because of android x incompatibility .

Please add support for androidX .
I upgraded my flutter project to androidX , but when i wantd to build a release apk , i got this error :

A problem occurred configuring root project 'flutter_statusbar_manager'.
> Failed to notify project evaluation listener.
   > org.gradle.api.tasks.compile.CompileOptions.setBootClasspath(Ljava/lang/String;)V

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 2s


The plugin flutter_statusbar_manager could not be built due to the issue above. 

I think this is because of android x incompatibility .

Did you read this entire thread?

Dependency problem with androidx.localbroadcastmanager:localbroadcastmanager
Screen Shot 2019-12-03 at 15 43 51

Flutter 1.9.1+hotfix.6 • channel stable
Dart 2.5.0

Why does it take so long to fix this?

Will there be a fix in the future or should we keep guitcastro's fork as permanent solution?

This should be fixed now