g123k / flutter_app_badger

Support to update the app badge on the launcher (both for Android and iOS)
https://pub.dev/packages/flutter_app_badger
Apache License 2.0
307 stars 172 forks source link

Updated android gradle plugin (namespace) and compileSdk version #86

Open gaabrielricci opened 1 year ago

gaabrielricci commented 1 year ago

Resolved namespace incompatibility issue in build.gradle in app module. Error in the image below. And updated the package build version to the latest android version.

app_badger

j-ixcayau commented 1 year ago

Any update of this PR?

gaabrielricci commented 1 year ago

waiting for the owner

biklas7 commented 12 months ago

hey @gaabrielricci I tried to use your fork and it shows this error: Build file '/Users/.../.pub-cache/git/flutter_app_badger-b4c1958dd11e60ff69b34396522901a71078f036/android/build.gradle' should not contain a package statement.

gaabrielricci commented 12 months ago

@biklas7

Check the implementation if it is correct in your pubspec.yaml, I created a new flutter project, only added my fork, and it worked correctly with the updated gradle 8/8.1.3

implementation:

cupertino_icons: ^1.0.2 flutter_app_badger: path: C:/............../Documents/teste/flutter_app_badger

jakobleck commented 11 months ago

According to the migration guide for buttons it is recommended to use ElevatedButton as a replacement for RaisedButton. ;)

gaabrielricci commented 11 months ago

According to the migration guide for buttons it is recommended to use ElevatedButton as a replacement for RaisedButton. ;)

I just updated the android dependencies to get rid of the namespace error. I didn't update the code for this library

jakobleck commented 11 months ago

According to the migration guide for buttons it is recommended to use ElevatedButton as a replacement for RaisedButton. ;)

I just updated the android dependencies to get rid of the namespace error. I didn't update the code for this library

Are you sure? :) I'm referring to the changes in the example app.

nav-mrizzello commented 10 months ago

When will the new library be released with this change?

MyBlueford16 commented 10 months ago

Any chance this will get merged in soon? I really don't want to have to migrate to a different package but this is blocking us from releasing a critical update.

jakobleck commented 10 months ago

Just use a git ref for including the package until a new version is released?

MyBlueford16 commented 10 months ago

Just use a git ref for including the package until a new version is released?

@jakobleck yeahhh that's what I ended up doing. Was hoping to avoid that

leejh10003 commented 10 months ago

Yeah I need this patch too. Isn't there any update on this?

nohli commented 8 months ago

@g-30 @g123k could you publish a fix for the namespace please?

This prevents an app using this plugin to upgrade to Android Gradle Plugin >=8.

ChrisElliotUK commented 6 months ago

We’ve had to pgrade to Android Gradle Plugin >=8 due to another package and now we can’t compile because of this. Please can you merge this

j-ixcayau commented 6 months ago

For those who are still waiting for the merge, I added this update like this

  flutter_app_badger:
    git:
      url: https://github.com/g123k/flutter_app_badger.git