Comments (10)
Hi @WesselvanDam
I checked this issue on my Android 14 device using package example but couldn't reproduce the error. Could you try with this example and confirm?
Also, I see the fetched url_launcher_android
is not up-to-date. You can try upgrading to the latest version url_launcher_android: ^6.3.1
and retry.
from flutter.
Thanks for the reply. I tried the package example, and url's work as expected there; with the following pubspec.lock:
pubspec.lock example app
url_launcher: dependency: "direct main" description: path: ".." relative: true source: path version: "6.2.6" url_launcher_android: dependency: transitive description: name: url_launcher_android sha256: "360a6ed2027f18b73c8d98e159dda67a61b7f2e0f6ec26e86c3ada33b0621775" url: "https://pub.dev" source: hosted version: "6.3.1"In my app, when changing the url_launcher pubspec version to 6.2.6, it does not bump the _android version to 6.3.1 but to 6.2.0. Making it a direct dependency (instead of transitive) and setting it to 6.3.1 does not fix the issue on my app.
So in short:
- Using my laptop and my Android phone, my app doesn't work
- Using my laptop and my Android phone, the example app does work
- Using a different laptop and my Android phone, my app does work
Which is a strange set of observations.
Android version is 13 btw.
from flutter.
Do you use pigeon
package? Could you share dependencies on your project? (pubspec.yaml, pubspec.lock) (It may too long so please put it inside the collapse section as you did above, thanks)
from flutter.
I do not use pigeon
. Here's my dependencies:
pubspec.yaml
dependencies:
animations: ^2.0.2
async: ^2.11.0
blurhash_dart: ^1.2.1
cached_network_image: ^3.2.1
cloud_firestore: ^4.15.5
cloud_functions: ^4.6.0
connectivity_plus: ^2.0.3
confetti: ^0.7.0
crop_image: ^1.0.11
cupertino_icons: ^1.0.3
envied: ^0.5.2
firebase_auth: ^4.15.5
firebase_core: ^2.25.4
firebase_messaging: ^14.0.1
firebase_remote_config: ^4.2.3
firebase_storage: ^11.5.6
firebase_ui_firestore: ^1.6.2
flutter:
sdk: flutter
flutter_blurhash: ^0.8.2
flutter_local_notifications: ^16.1.0
flutter_localizations:
sdk: flutter
flutter_quill: 9.3.4
flutter_quill_extensions: 9.3.4
flutter_riverpod: ^2.5.1
freezed_annotation: ^2.2.0
go_router: ^13.2.4
google_fonts: ^4.0.3
googleapis: ^11.2.0
googleapis_auth: ^1.4.1
http: ^1.0.0
image: ^4.1.7
image_cropper: ^5.0.0
image_picker: ^1.0.4
intl: ^0.18.0
keyboard_dismisser: ^3.0.0
package_info_plus: ^4.0.2
path_provider: ^2.0.1
riverpod_annotation: ^2.3.5
share_plus: ^7.0.2
shared_preferences: ^2.0.0
slang: ^2.7.0
slang_flutter: ^2.7.0
stack_trace: ^1.11.0
table_calendar: ^3.0.0
timezone: ^0.9.1
tuple: ^2.0.1
url_launcher: ^6.0.6
url_strategy: ^0.2.0
visibility_detector: ^0.4.0+2
dependency_overrides:
super_native_extensions: ^0.8.10
device_info_plus: ^10.0.1
dev_dependencies:
flutter_test:
sdk: flutter
lint: ^2.1.2
slang_build_runner: ^2.7.0
build_runner: ^2.2.0
fake_cloud_firestore: ^2.4.9
freezed: ^2.4.7
mockito: ^5.4.4
riverpod_generator: ^2.3.5
custom_lint: ^0.5.4
riverpod_lint: ^2.3.2
envied_generator: ^0.5.2
The .lock as a text file because it is quite large indeed:
pubspec.txt
from flutter.
Thanks for the update. I quoted the fetched package from your pubspec.lock file here:
url_launcher in pubspec.lock
url_launcher:
dependency: "direct main"
description:
name: url_launcher
sha256: "0ecc004c62fd3ed36a2ffcbe0dd9700aee63bd7532d0b642a488b1ec310f492e"
url: "https://pub.dev"
source: hosted
version: "6.2.5"
url_launcher_android:
dependency: transitive
description:
name: url_launcher_android
sha256: "31222ffb0063171b526d3e569079cf1f8b294075ba323443fdc690842bfd4def"
url: "https://pub.dev"
source: hosted
version: "6.2.0"
I see url_launcher_android
is not up-to-date. Could you try upgrading it to the latest version url_launcher_android: ^6.3.1
and retry? If the issue persists, please share the entire output of flutter run -v
, thanks!
from flutter.
Apologies, in a previous comment I stated:
In my app, when changing the url_launcher pubspec version to 6.2.6, it does not bump the _android version to 6.3.1 but to 6.2.0. Making it a direct dependency (instead of transitive) and setting it to 6.3.1 does not fix the issue on my app.
In the pubspec.yaml and lock I attached later, the versions were reset and showed the older dependencies. Using url_launcher_android 6.3.1 does not fix the problem.
I'll see if I can share the output of flutter run -v later today!
from flutter.
@huycozy here it is:
Not seeing anything strange right away though
from flutter.
@WesselvanDam
I looked at the dependencies you are using and the issue could be occuring due to third party package conflict that you'll need to verify by narrowing down the issue and by removing the packages one by one and see which one could be leading to the error. I suspect flutter_quill
and shared_preferences
could be the one. See this for reference and check if it helps in your case or not.
from flutter.
@darshankawar thank you for the leads! The linked issue led me to uninstall Rust (which I didn't need anyway) from my device, and that alone fixed the issue already. It does seem that an updated version of Rust may have solved the issue as well, but as I didn't need it anymore I decided to just uninstall it. Thanks again!
from flutter.
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v
and a minimal reproduction of the issue.
from flutter.
Related Issues (20)
- Class function attribute 'call' breaks in web release mode with null values
- win-7 pickups error "get_dimensions(): expected a dict, got None". HOT 1
- [Semantics / Accessibility] TextField is invisible to TalkBack when suffixIcon is a IconButton. HOT 1
- Upgrade all packages to `package:web` version `1.0.0`
- the doctor check crashed
- TextInput.finishAutofillContext() doesn't bring up the system prompt - iOS
- CustomScrollView with the property "scrollDirection: Axis.horizontal" doesn't work in desktop web brower and the mouse
- linux-51 is dead. HOT 1
- Promote camera plugin to 1.0 HOT 3
- Missing `//flutter` in `//testing/scenario_app` causes a crash HOT 2
- FlexibleSpaceBar causing Null check operator used on a null value HOT 1
- kotlin gradle plugin failure only after installing tts in flutter app HOT 4
- Improve fidelity of `CupertinoRadio`
- [rfw] Goldens tests disabled due to blocking flutter->packages roll
- TextField becomes focused on navigator back (pop) action HOT 3
- Flutter GPU has analysis errors that probably (?) were just hidden before
- `ExpansionTileController` is unusable if the `ExpansionTile` changes HOT 2
- `TextPainter.getFullHeightForCaret` reports incorrect results for spans with different styles HOT 1
- mac-23 lost external connection phone device. HOT 1
- Dart on web: The integer negative zero formats as "-0.0" HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flutter.