flutter_app_badger icon indicating copy to clipboard operation
flutter_app_badger copied to clipboard

Android compability

Open dgangl opened this issue 1 year ago • 6 comments

Hello Team,

could you pls inform me when the compatible problem for android is fixed and released in pub get. Currently I am using Anroid 33 (Oreo).

Kind regards, David

dgangl avatar Dec 06 '23 11:12 dgangl

same issue

nickf2k avatar Dec 11 '23 07:12 nickf2k

Please add the namespace to the build.gradle of flutter_app_badger: This is what the build.gradle file should look like:

group 'fr.g123k.flutterappbadge.flutterappbadger'
version '1.0-SNAPSHOT'

buildscript {
    repositories {
        google()
        mavenCentral()
    }

    dependencies {
        classpath 'com.android.tools.build:gradle:4.1.0'
    }
}

rootProject.allprojects {
    repositories {
        google()
        mavenCentral()
    }
}

apply plugin: 'com.android.library'

android {
    if (project.android.hasProperty("namespace")) {
        namespace 'fr.g123k.flutterappbadge.flutterappbadger'
    }

    compileSdkVersion 29

    defaultConfig {
        minSdkVersion 16
        testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
    }
    lintOptions {
        disable 'InvalidPackage'
    }
}

dependencies {
    //noinspection GradleDependency
    implementation "me.leolin:ShortcutBadger:1.1.22@aar"
}

valentinozegna avatar Dec 12 '23 20:12 valentinozegna

This change is needed because people are having troubles compiling apps on Android with the latest Gradle Plugin and Kotlin Versions.

valentinozegna avatar Dec 12 '23 21:12 valentinozegna

Any updates here ?

Mounix99 avatar Jan 17 '24 11:01 Mounix99

Could be temporary fixed with this ref to package

  flutter_app_badger:
    git:
      url: https://github.com/g123k/flutter_app_badger.git
      ref: 33cbee6

Mounix99 avatar Jan 17 '24 12:01 Mounix99

same issue

quiztok-ssc avatar Jan 30 '24 11:01 quiztok-ssc