-
Notifications
You must be signed in to change notification settings - Fork 53
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
Remove native portion #7
Comments
Yes it is possible. Just clone the code into your own project and replace the channel.invokeMethod("hideStatusBar"); callback with SystemChrome.setEnabledSystemUIOverlays([]); and channel.invokeMethod("showStatusBar"); with SystemChrome.setEnabledSystemUIOverlays( [SystemUiOverlay.bottom, SystemUiOverlay.top]); |
Kindly help me, have anybody tried above solution? is it working?
BUILD FAILED in 1s Please review your Gradle project setup in the android/ folder.` |
Well, yes I did try the above solution. It works fine, doesn't act as smooth tho. You will always have these build errors, unless the creator updates the package, which I think will unfortunately not happen. |
i also got this issues
|
#11 works fine for me |
I created new repo. Owner of this project don't accept pull requests. You can use mine. |
this?
|
Is it possible to remove the native code portion altogether and use Flutters
SystemChrome
methods?Besides, the Kotlin version is out of date again:
Highly suggest to move this back to Java..
The text was updated successfully, but these errors were encountered: