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

This issue has been created 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-10
Star Count 147243
Watcher Count 3561
Fork Count 23950
Issue Count 11325

YOU MAY BE INTERESTED

Issue Title Created Date Comment Count Updated Date
pypy3.7 installation 3 2021-08-05 2022-11-29
Group Tile Change Listener 3 2020-11-27 2022-11-12
Run prebuild on git push 0 2021-10-16 2022-11-11
[BUG] fn:doc() and RESTXQ not working: incorrect header values 6 2022-03-23 2022-10-07
[BUG] XQuery Update and XUpdate can produce wrong results when used from Before phase(s) of Triggers 0 2022-03-22 2022-10-05
3.0.0 compare fails with require() of ES Module 0 2022-09-09 2022-09-19
V4 Miniscope retrieve frame failed 4 2021-01-05 2022-09-20
Python issues compiling in Linux 5 2021-01-07 2022-10-25
Could not resolve ktor-client-js 0 2021-11-30 2022-11-18
How to dynamic setting initial value with Next.js 3 2022-02-18 2022-11-10
The SSL certificate expired for cKnowledge.org 1 2021-06-06 2022-08-30
[CK legacy] Aggregated ideas for incremental enhancements 6 2021-06-13 2022-10-31
Add "deprecated" key to CK packages and soft 0 2021-06-13 2022-11-09
Syntax error when generating tokens, will not compile 1 2021-03-24 2022-11-23
如何获取测试集结果? 0 2021-07-04 2022-01-14
Android12,targetSdkVersion=30如何适配 0 2022-04-12 2022-11-24
appid how to support multiple feature strings to identify or single feature like ip 3 2021-08-20 2022-11-24
Check multi-abi support when not all contracts are deployed 0 2021-06-11 2022-09-21
how to do gradient accumulation in bugua 1 2022-03-24 2022-11-30
Allocation of Resources - Course Notes 0 2020-09-29 2022-01-02
component typescript problem 5 2021-11-17 2022-10-31
Is there a way to access WiFi IP and connect/disconnect/scan functions from the uC? 0 2021-02-23 2022-11-21
Monitor Only Deployment Support 0 2021-02-25 2022-10-13
Alerting monitor clients when log STH hasn't been updated for a while 0 2021-04-04 2022-12-04
Implement ResetSystem runtime call with device tree 4 2021-02-28 2022-11-25
nvm use xx.xx.x exit status 145 2 2021-12-03 2022-12-04
Embedded browser mostly fails with external identity providers 19 2021-01-19 2022-12-02
TabContainer: Controlled selected state gets ignored if user select a tab 6 2022-05-13 2022-09-01
Issue with "downloads.open()": (short summary here please) 1 2021-09-30 2022-11-13
DynamoDB custom endpoint 1 2022-10-16 2022-11-03
[PROPOSAL] Regarding order of auto updating packages 2 2022-04-21 2022-10-23
Unable to Scale up the existing node pool/cluster 2 2022-08-07 2022-11-25
MacOS CI tests not detecting Panda3D rendering pipeline 0 2021-08-27 2022-12-01
ROS# UWP TCP Client 13 2019-05-13 2022-01-15
Add support for local cross-validation on segmentation models 0 2022-11-16 2022-11-30
MIBs for Lantech 2 2021-05-04 2022-01-13
python-telegram-bot 13.14 requires tornado==6.1, but you have tornado 6.2 which is incompatible 4 2022-09-26 2022-10-06
`TestProxyMakeConnectionHandler` flakiness 3 2022-09-01 2022-09-05
Request aarch64 linux android support 0 2022-06-18 2022-06-22
V1 wormhole. CATO on solana to CATO on ETH. Cannot redeem tokens 1 2021-11-13 2022-12-04
New Icon: Messenger 0 2018-11-17 2022-01-23
Managed Kafka instances - General Availability 1 2021-09-02 2022-12-09
Look into ways of writing an efficient `divvy`. 2 2021-03-07 2022-11-04
Failed installation of tfjs-tflite-node on MacOS 1 2022-12-06 2022-12-03
ERROR : Unknown op 'IsFinite' 0 2022-12-06 2022-12-03
JSON marshalling of commonv1.Config on non-pointer receivers 0 2021-11-15 2022-09-24
TypeError [ERR_UNKNOWN_FILE_EXTENSION]: Unknown file extension ".css" with ssr 2 2022-08-27 2022-10-05
[DependencyInjection] CheckTypeDeclarationsPass does not validate deprecated services (in lint:container) 3 2021-09-30 2022-12-04
Resolve ambiguous parameter name `context` using the closest one 0 2022-11-14 2022-11-08
dotnet-dump should get process handle directly with OpenProcess 0 2022-03-19 2022-12-01