Skip to content
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

require a higher Android SDK version #102

Open
godzyken opened this issue Apr 10, 2024 · 1 comment
Open

require a higher Android SDK version #102

godzyken opened this issue Apr 10, 2024 · 1 comment

Comments

@godzyken
Copy link

Platform (use [x])
[x] Android
[x] iOS
[x] macOS
[x] Windows
[x] Web

Device info
Manufacture: [Xiaomi.]
Model: [Redmi note 13]
OS version: [14]

Describe the bug:
Impossible d'utiliser le package ConnectyCube_SDK, car plusieurs de ses dépendances n'ont pas encore effectué la migration de leur
SDK.

Steps to Reproduce:

  1. Gradle build Task on android: ./gradlew cleanBuildCache
  2. Flutter clean & Flutter pub upgrade --major-versions
  3. gradle wrapper --gradle-version latest and start migration
  4. Flutter outdate to find & upgraded lower sdk packages in imports.

Logs:

log here
```Flutter Warning: The plugin url_launcher_android requires Android SDK version 34.
For more information about build configuration, see https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration.
One or more plugins require a higher Android SDK version.
Fix this issue by adding the following to /Users/*******/vscodeProjects/Deliveright/mobile_xp_driver/android/app/build.gradle:
android {
  compileSdkVersion 34
  ...
}

**Actual result:**
ConnectyCube sdk est desactivé dans mon projet.

**Expected behavior:**
Besoin d'une solution de contournement si aucune mise à jour sur le sdk n'est prévue.
@TatankaConCube
Copy link
Contributor

The compileSdkVersion 34 is url_launcher's plugin requirements, not our Connectycube Flutter SDK requirements. This plugin is used to open the media attachments in the browser for unsupported platforms. You can delete this feature from the sample if you don't require it. But you must update the compileSdkVersion to the 34 if you decide to publish your app in the Play Market.

Our ConnectyCube Flutter SDK requires only minSdkVersion 21 for Android and the Dart version 2.17.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants