[url_launcher][Android] forced - requires android SDK version 33

This issue has been tracked since 2022-11-24.

Steps to Reproduce

  1. Added url_launcher: ^6.1.6 to my yaml
  2. Added a button that sends the user to a pdf
  3. Trying to compile in a emulated android phone with sdk 31

image

Expected results:
https://pub.dev/packages/url_launcher indicates that it should work on sdk 16+

Actual results:
Works only on sdk 33, tested on sdk 33 and works fine, anything else we get an error.

stuartmorgan wrote this answer on 2022-11-24

You are conflating compileSdkVersion and minSdkVersion. The plugin continues to support devices running SDK 16 and higher, your app just has to use a compileSdkVersion of 33+ when building. Almost all plugins (and apps) have a higher compileSdkVersion than minSdkVersion.

Closing as this is the expected behavior.

More Details About Repo
Owner Name flutter
Repo Name flutter
Full Name flutter/flutter
Language Dart
Created Date 2015-03-06
Updated Date 2022-12-07
Star Count 147031
Watcher Count 3560
Fork Count 23915
Issue Count 11300

YOU MAY BE INTERESTED

Issue Title Created Date Updated Date