text:
Desktop keyboard interaction with RTL or mixed TextDirection is wrong

There seem to be many inconsistencies with how native desktop platforms handle RTL and Flutter.  Navigating through the text in Flutter happens in string order, but on native it happens in visual order.  This is me just repeatedly pressing the right arrow on both platforms:

Native Mac TextEdit
Flutter

Example app
import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: Scaffold(
        appBar: AppBar(
          title: Text('TextField Demo'),
        ),
        body: Center(
          child: TextField(),
        ),
      ),
    );
  }
}

Example string: "Cairo" in Arabic is: القاهرة and it's written right to left.
Cause
A lot of our selection manipulation code seems to not consider the RTL case, for example _getRightByWord.  We'll have to update these methods to consider RTL and mixed direction text, and make sure the user experience matches native.
Adding TODOs for this issue in https://github.com/flutter/flutter/pull/86736.

Hi
I've updated the code sample to already add some mixed RTL and LTR text for easier reproduction and to increase the font size for recordings.
Here is what I discovered
Desktop
(macOS, Windows, Linux all have the issue on stable to master) -  (recording from Windows)

stable
beta
dev
master

❌
❌
❌
❌

https://user-images.githubusercontent.com/48603081/129362097-b0bd25ed-0ffe-452f-b465-d27c4d3b861c.mp4
Web in HTML
(macOS, Windows, Linux has no issue stable  but issue reprpduceds from beta  to master) -  (recording from Windows)

stable

✅

https://user-images.githubusercontent.com/48603081/129362923-d25633f8-7cc0-4e53-8ad1-c34700f53b80.mp4

beta
dev
master

❌
❌
❌

https://user-images.githubusercontent.com/48603081/129362924-eb167294-7a8e-4000-a776-80f45bdf79aa.mp4
Web in Canvakasit
(macOS, Windows, Linux all have the issue on stable to master) - -  (recording from Windows)

stable
beta
dev
master

❌
❌
❌
❌

https://user-images.githubusercontent.com/48603081/129362935-5fe320ae-25fe-4add-bebd-06ad6211c358.mp4
Check flutter doctor -v outputs for each channel below

flutter doctor -v
[✓] Flutter (Channel stable, 2.2.3, on Microsoft Windows [Version 10.0.22000.120], locale en-US)
    • Flutter version 2.2.3 at C:\Users\Taha\Code\flutter_stable
    • Framework revision f4abaa0735 (6 weeks ago), 2021-07-01 12:46:11 -0700
    • Engine revision 241c87ad80
    • Dart version 2.13.4

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at C:\Users\Taha\Code\android-sdk
    • Platform android-31, build-tools 31.0.0
    • ANDROID_SDK_ROOT = C:\Users\Taha\Code\android-sdk
    • Java binary at: C:\Users\Taha\Code\android-studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[✓] Visual Studio - develop for Windows (Visual Studio Community 2019 16.10.4)
    • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
    • Visual Studio Community 2019 version 16.10.31515.178
    • Windows 10 SDK version 10.0.19041.0

[!] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/docs/get-started/install/windows#android-setup for detailed instructions).

[✓] VS Code (version 1.59.0)
    • VS Code at C:\Users\Taha\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.25.0

[✓] Connected device (3 available)
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.22000.120]
    • Chrome (web)      • chrome  • web-javascript • Google Chrome 92.0.4515.131
    • Edge (web)        • edge    • web-javascript • Microsoft Edge 92.0.902.67

! Doctor found issues in 1 category.

[✓] Flutter (Channel beta, 2.5.0-5.1.pre, on Microsoft Windows [Version 10.0.22000.120], locale en-US)
    • Flutter version 2.5.0-5.1.pre at C:\Users\Taha\Code\flutter_beta
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 65cf7de5f4 (2 days ago), 2021-08-11 15:48:01 -0700
    • Engine revision fbeb7e22bd
    • Dart version 2.14.0 (build 2.14.0-377.4.beta)

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at C:\Users\Taha\Code\android-sdk
    • Platform android-31, build-tools 31.0.0
    • ANDROID_SDK_ROOT = C:\Users\Taha\Code\android-sdk
    • Java binary at: C:\Users\Taha\Code\android-studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[✓] Visual Studio - develop for Windows (Visual Studio Community 2019 16.10.4)
    • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
    • Visual Studio Community 2019 version 16.10.31515.178
    • Windows 10 SDK version 10.0.19041.0

[✓] Android Studio (version 2020.3)
    • Android Studio at C:\Users\Taha\Code\android-studio
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)

[✓] VS Code (version 1.59.0)
    • VS Code at C:\Users\Taha\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.25.0

[✓] Connected device (3 available)
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.22000.120]
    • Chrome (web)      • chrome  • web-javascript • Google Chrome 92.0.4515.131
    • Edge (web)        • edge    • web-javascript • Microsoft Edge 92.0.902.67

• No issues found!

[✓] Flutter (Channel dev, 2.5.0-6.0.pre, on Microsoft Windows [Version 10.0.22000.120], locale en-US)
    • Flutter version 2.5.0-6.0.pre at C:\Users\Taha\Code\flutter_dev
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 225a43d941 (8 days ago), 2021-08-05 11:32:48 -0700
    • Engine revision 07ec4b82c7
    • Dart version 2.14.0 (build 2.14.0-383.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at C:\Users\Taha\Code\android-sdk
    • Platform android-31, build-tools 31.0.0
    • ANDROID_SDK_ROOT = C:\Users\Taha\Code\android-sdk
    • Java binary at: C:\Users\Taha\Code\android-studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[✓] Visual Studio - develop for Windows (Visual Studio Community 2019 16.10.4)
    • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
    • Visual Studio Community 2019 version 16.10.31515.178
    • Windows 10 SDK version 10.0.19041.0

[✓] Android Studio (version 2020.3)
    • Android Studio at C:\Users\Taha\Code\android-studio
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)

[✓] VS Code (version 1.59.0)
    • VS Code at C:\Users\Taha\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.25.0

[✓] Connected device (4 available)
    • Windows (desktop)       • windows • windows-x64     • Microsoft Windows [Version 10.0.22000.120]
    • Windows (UWP) (desktop) • winuwp  • windows-uwp-x64 •
    • Chrome (web)            • chrome  • web-javascript  • Google Chrome 92.0.4515.131
    • Edge (web)              • edge    • web-javascript  • Microsoft Edge 92.0.902.67

• No issues found!

[✓] Flutter (Channel master, 2.5.0-7.0.pre.65, on Microsoft Windows [Version 10.0.22000.120], locale en-US)
    • Flutter version 2.5.0-7.0.pre.65 at C:\Users\Taha\Code\flutter_master
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 4bd8b288bb (12 hours ago), 2021-08-12 18:02:02 -0700
    • Engine revision 670a681c1d
    • Dart version 2.15.0 (build 2.15.0-6.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at C:\Users\Taha\Code\android-sdk
    • Platform android-31, build-tools 31.0.0
    • ANDROID_SDK_ROOT = C:\Users\Taha\Code\android-sdk
    • Java binary at: C:\Users\Taha\Code\android-studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[✓] Visual Studio - develop for Windows (Visual Studio Community 2019 16.10.4)
    • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
    • Visual Studio Community 2019 version 16.10.31515.178
    • Windows 10 SDK version 10.0.19041.0

[✓] Android Studio (version 2020.3)
    • Android Studio at C:\Users\Taha\Code\android-studio
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)

[✓] VS Code (version 1.59.0)
    • VS Code at C:\Users\Taha\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.25.0

[✓] Connected device (4 available)
    • Windows (desktop)       • windows • windows-x64     • Microsoft Windows [Version 10.0.22000.120]
    • Windows (UWP) (desktop) • winuwp  • windows-uwp-x64 •
    • Chrome (web)            • chrome  • web-javascript  • Google Chrome 92.0.4515.131
    • Edge (web)              • edge    • web-javascript  • Microsoft Edge 92.0.902.67

• No issues found!

✅: No Issue ❌: Issue reproduced

I believe TextEdit is wrong, and the HTML rendered used to be wrong but @mdebbar fixed it. The way Flutter edits bidi text (i.e. in "string order") is intentional behavior that we consider to be correct. Unless I'm wrong, we can close this bug.

That's right @yjbanov. The web html renderer on stable is buggy, and it was fixed some time ago in master. If you try this on a regular input field in Chrome, you'll get the same behavior as Flutter (try here).
But Mac seems to be in favor of the behavior described in this issue. I tried in multiple apps (including Safari) and they behave as @justinmc showed.
I'm not sure what the right answer here is. Maybe we should change the behavior based on the platform?

Ah I had no idea this was how some platforms work, I should have tried more native apps.  Thanks for pointing that out and thanks @TahaTesser for the great repro platform info.
It seems that the address bar in Chrome on Mac also behaves as I showed, even though actual HTML inputs don't.  More evidence that it's a Mac platform thing.
I guess I'll go ahead and close this issue and keep Flutter's behavior as-is for now, since I'm unsure whether changing it per-platform would really benefit any native RTL language users right now.  I'd love to hear from anyone that has a strong opinion on this though, so feel free to continue the discussion or open a new issue and tag me.

authors: TahaTesser justinmc mdebbar yjbanov


text:
IMA Ads support

Do you guys have any plan to support IMA ads in video player.

Hi @pavelsust
video_player is not for this purpose, IMA would be ideal for a third-party package
Closing, as this isn't an issue with video_player itself. If you disagree, please write in the comments and I will reopen it.
Thank you

source: gharchive/issue

authors: TahaTesser pavelsust

repo: flutter/flutter

license_type: permissive

license_source: github-api


text:
Error rendererBox

Steps to Reproduce

Run flutter create bug.
Update the files as follows: ...
...

Expected results:
Actual results:

Logs

Hi @Domiynsbelhanda, Can you please provide your flutter doctor -v and flutter run --verbose logs, and a minimal complete reproducible code sample?
Thank you

authors: Domiynsbelhanda danagbemava-nc


text:
Inkwell Shape Differ from Parent Material Shape in ButtonStyleButton

The shape the Inkwell widget takes differs from its parent Material widget leading to ink splashes that do not accurately follow the border.
This PR fixes the problem for my use case: https://github.com/flutter/flutter/pull/91849
Steps to Reproduce
https://github.com/MateusAmin/flutter-issues-91844
Expected results:
The splash should fill the shape of both buttons.
Actual results:
The splash does not fill the shape of the ButtonStyleButton
Workaround
Bump up border size to cover up the misalignment or use my changes: https://github.com/flutter/flutter/pull/91849

@MateusAmin
Tried your code sample using latest master (Channel master, 2.6.0-12.0.pre.360). Tapped on both buttons and it seemed to be filling with splash properly on both and seems to be working per expected result:
https://user-images.githubusercontent.com/67046386/137446481-f5196573-efcf-43e6-9417-bb5df094dbe5.mov

https://github.com/flutter/flutter/pull/91849 got an initial review but was lacking tests, if anyone would like to fix this issue, it sounds like picking up that patch and submiting a new PR that adds a test is all that's needed.

authors: Hixie MateusAmin darshankawar


text:
[Camera] How to dispose and re-initialize camera after Unity Page pop?

Hello,
Im using the camera package and the  Unity package (https://pub.dev/packages/flutter_unity_widget) to show AR content.
From the Camera page, i navigate to Unity page. When i pop to Camera page again, the camera is freezed and the app is not responding.
Steps to Reproduce

Execute flutter run on the code sample
...
...

Expected results:
The camera reinitialized and displays normally
Actual results:
Camera is freezed and closed

Code sample
ElevatedButton(
    onPressed: () async {
    await  Navigator.of(context).push(
        CupertinoPageRoute(
          builder: (context) => UnityPage(
            poi: _poi,
            excerpt: widget.excerpt,
            voyager: widget.voyager,
            onSoundStop: widget.onSoundStop,
          ),
        ),
      );
    //When i return from Unity Page, i re-initialize the camera
    await _controller.initialize();
    },

Logs
D/AudioTrack( 4696): stop() called with 927552 frames delivered
I/Camera  ( 4696): close

Without additional information, we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.


text:
TextStyle property height shows different behavior on web than on mobile

Steps to Reproduce

Use Text('Test', style: TextStyle(height: 0))
Run on web or mobile platform

Expected results:
Should behave the same on each platform
Actual results:
On the web setting the value of 0 has no impact at all.
Mobile:

Web:

Changing the value to 0.001 shows the same behavior on both platforms.

Code sample
Text('Test', style: TextStyle(height: 0))

Logs
$ flutter analyze
Analyzing flutterapp...
No issues found! (ran in 2.5s)

$ flutter doctor -v
[√] Flutter (Channel stable, 2.5.3, on Microsoft Windows [Version 10.0.19043.1348], locale de-CH)
    • Flutter version 2.5.3 at C:\src\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 18116933e7 (2 months ago), 2021-10-15 10:46:35 -0700
    • Engine revision d3ea636dc5
    • Dart version 2.14.4
    • Pub download mirror https://pub.dev

[√] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at C:\Users\SebastianBuechler\AppData\Local\Android\sdk
    • Platform android-31, build-tools 30.0.2
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

[√] Android Studio (version 2020.3)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)

[√] VS Code (version 1.63.2)
    • VS Code at C:\Users\SebastianBuechler\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.29.0

[√] Connected device (2 available)
    • Android SDK built for x86 (mobile) • emulator-5554 • android-x86    • Android 10 (API 29) (emulator)
    • Chrome (web)                       • chrome        • web-javascript • Google Chrome 96.0.4664.110

• No issues found!

@sebastianbuechler
Tried the sample code on latest stable and see expected result on both, as below:

Left is mobile, right is web
The text is rendered above the layout tree.
You may try to upgrade to latest stable (2.8.1) and check the behavior.

@darshankawar Upgraded to latest stable (2.8.1) and still the different behavior is found.
Mobile:

Web:

I adjusted the example so that it has a fixed Container around it:
SizedBox(
  height: 50,
  child: Text(
    'Test',
    style: TextStyle(height: 0),
  ),
)

Your examples actually already exhibit the bug: Mobile is rendered above the zero height box and web is inside a regular box. They are obviously not the same.

Yes, thanks for the update. I verified again with updated code sample and do see the same behavior. If text style height < 1, on web, it renders differently.

 stable, master flutter doctor -v
[[✓] Flutter (Channel stable, 2.8.1, on Mac OS X 10.15.4 19E2269 darwin-x64,
    locale en-GB)
    • Flutter version 2.8.1 at /Users/dhs/documents/fluttersdk/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 77d935af4d (13 hours ago), 2021-12-16 08:37:33 -0800
    • Engine revision 890a5fca2e
    • Dart version 2.15.1

[✓] Android toolchain - develop for Android devices (Android SDK version 30)
    • Android SDK at /Users/dhs/Library/Android/sdk
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = /Users/dhs/Library/Android/sdk
    • Java binary at: /Users/dhs/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/202.7486908/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.3, Build version 12C33
    • CocoaPods version 1.10.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.1)
    • Android Studio at /Users/dhs/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/202.7486908/Android
      Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6915495)

[✓] VS Code (version 1.57.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.21.0

[✓] Connected device (4 available)
    • Darshan's iphone (mobile)  • 21150b119064aecc249dfcfe05e259197461ce23 •
      ios            • iOS 14.4.1 18D61
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729     •
      ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                    •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                                   •
      web-javascript • Google Chrome 93.0.4577.82

• No issues found!

[✓] Flutter (Channel master, 2.9.0-1.0.pre.209, on Mac OS X 10.15.4 19E2269
    darwin-x64, locale en-GB)
    • Flutter version 2.9.0-1.0.pre.209 at
      /Users/dhs/documents/fluttersdk/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 6054eda86b (2 hours ago), 2021-12-28 18:19:16 -0800
    • Engine revision 01d19ceef4
    • Dart version 2.16.0 (build 2.16.0-134.0.dev)
    • DevTools version 2.9.2

[✓] Android toolchain - develop for Android devices (Android SDK version 30)
    • Android SDK at /Users/dhs/Library/Android/sdk
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = /Users/dhs/Library/Android/sdk
    • Java binary at: /Users/dhs/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/202.7486908/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.5.1, Build version 12E507
    • CocoaPods version 1.10.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.1)
    • Android Studio at /Users/dhs/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/202.7486908/Android
      Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6915495)

[✓] VS Code (version 1.57.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.21.0

[[✓] Connected device (4 available)
    • Darshan's iphone (mobile)  • 21150b119064aecc249dfcfe05e259197461ce23 •
      ios            • iOS 14.4.1 18D61
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729     •
      ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                    •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                                   •
      web-javascript • Google Chrome 93.0.4577.82

• No issues found!

Yes, thanks for the update. I verified again with updated code sample and do see the same behavior. If text style height < 1, on web, it renders differently.
stable, master flutter doctor -v

Thanks for confirming. Two remarks: it was also found in release 2.5 (regarding your labels) and I'm not sure about your condition regarding height < 1. I see only the effect at height = 0 which could be connected to the fundamental differences that platform web has in rendering with JS. Could it be that it is simply not allowed for the web implementation to have zero height and thus it gets ignored?

authors: darshankawar sebastianbuechler


text:
[Android] App got stuck

App got stuck when we open another app and come back to flutter android app .
Flutter 2.10.0-1.0.pre.306 • channel master • https://github.com/flutter/flutter.git
Framework • revision 5d60049c68 (3 hours ago) • 2022-01-26 18:35:11 -0500
Engine • revision c248c6e38e
Tools • Dart 2.17.0 (build 2.17.0-63.0.dev) • DevTools 2.10.0-dev.1

Hi @selvam920, by stuck, do you mean it becomes non-responsive?
Does this happen with the counter app as well?
Please provide flutter doctor -v as well as any relevant logs, thank you.

Stuck means the screen got freezed
i clicked home button in phone and switched qnother app come back to flutter app the screen freezed unable to click anything
I this issue happen in counter app also
I tried in beta version, it's working fine

Please provide the output of flutter doctor -v for the beta channel version you used for reference.
Thank you

Flutter (Channel beta, 2.10.0-0.3.pre, on Microsoft Windows [Version 10.0.22538.1010], locale en-US)
• Flutter version 2.10.0-0.3.pre at D:\SW\flutter_windows_2.10.0-0.1.pre-beta_1\flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision fdd0af78bb (33 hours ago), 2022-01-25 22:01:33 -0600
• Engine revision 5ac30ef0c7
• Dart version 2.16.0 (build 2.16.0-134.5.beta)
• DevTools version 2.9.2

This appears to be a regression in master as it works just fine on beta and stable.
This does not occur on iOS.
Steps to reproduce

Create a new flutter app
Run the app
Tap the fab to test that the app is working
Put it into the background
Come back to the app
Tap the fab, it should be unresponsive at this point.

videos

master
stable & beta

flutter doctor -v
[✓] Flutter (Channel stable, 2.8.1, on macOS 11.6.2 20G314 darwin-arm, locale en-GB)
    • Flutter version 2.8.1 at /Users/nexus/dev/sdks/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 77d935af4d (6 weeks ago), 2021-12-16 08:37:33 -0800
    • Engine revision 890a5fca2e
    • Dart version 2.15.1

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/nexus/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.0)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2020.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)

[☠] IntelliJ IDEA Community Edition (the doctor check crashed)
    ✗ Due to an error, the doctor check did not complete. If the error message below is not helpful, please let us know about this issue at https://github.com/flutter/flutter/issues.
    ✗ FormatException: Unexpected extension byte (at offset 5)
    • #0      _Utf8Decoder.convertSingle (dart:convert-patch/convert_patch.dart:1789:7)
      #1      Utf8Decoder.convert (dart:convert/utf.dart:318:42)
      #2      InputStream.readString (package:archive/src/util/input_stream.dart:207:30)
      #3      new ZipDirectory.read (package:archive/src/zip/zip_directory.dart:40:30)
      #4      ZipDecoder.decodeBuffer (package:archive/src/zip_decoder.dart:19:30)
      #5      ZipDecoder.decodeBytes (package:archive/src/zip_decoder.dart:14:12)
      #6      IntelliJPlugins._findPluginXml (package:flutter_tools/src/intellij/intellij.dart:130:44)
      #7      IntelliJPlugins._readPackageVersion (package:flutter_tools/src/intellij/intellij.dart:141:40)
      #8      IntelliJPlugins.validatePackage (package:flutter_tools/src/intellij/intellij.dart:63:35)
      #9      IntelliJValidator.validate (package:flutter_tools/src/intellij/intellij_validator.dart:103:15)
      #10     asyncGuard.<anonymous closure> (package:flutter_tools/src/base/async_guard.dart:111:32)
      #11     asyncGuard.<anonymous closure> (package:flutter_tools/src/base/async_guard.dart:109:18)
      #12     _rootRun (dart:async/zone.dart:1428:13)
      #13     _CustomZone.run (dart:async/zone.dart:1328:19)
      #14     _runZoned (dart:async/zone.dart:1863:10)
      #15     runZonedGuarded (dart:async/zone.dart:1851:12)
      #16     runZoned (dart:async/zone.dart:1782:12)
      #17     asyncGuard (package:flutter_tools/src/base/async_guard.dart:109:3)
      #18     Doctor.startValidatorTasks (package:flutter_tools/src/doctor.dart:197:9)
      #19     Doctor.diagnose (package:flutter_tools/src/doctor.dart:301:47)
      #20     DoctorCommand.runCommand (package:flutter_tools/src/commands/doctor.dart:53:47)
      #21     FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:1290:12)
      <asynchronous suspension>
      #22     FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1140:27)
      <asynchronous suspension>
      #23     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
      <asynchronous suspension>
      #24     CommandRunner.runCommand (package:args/command_runner.dart:209:13)
      <asynchronous suspension>
      #25     FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:288:9)
      <asynchronous suspension>
      #26     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
      <asynchronous suspension>
      #27     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:236:5)
      <asynchronous suspension>
      #28     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:62:9)
      <asynchronous suspension>
      #29     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
      <asynchronous suspension>
      #30     main (package:flutter_tools/executable.dart:94:3)
      <asynchronous suspension>

[✓] VS Code (version 1.63.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.32.0

[✓] Connected device (4 available)
    • M2007J20CG (mobile)         • 5dd3be00      • android-arm64  • Android 11 (API 30)
    • sdk gphone64 arm64 (mobile) • emulator-5554 • android-arm64  • Android 12 (API 31) (emulator)
    • macOS (desktop)             • macos         • darwin-arm64   • macOS 11.6.2 20G314 darwin-arm
    • Chrome (web)                • chrome        • web-javascript • Google Chrome 97.0.4692.99

! Doctor found issues in 1 category.

[✓] Flutter (Channel beta, 2.10.0-0.2.pre, on macOS 11.6.2 20G314 darwin-arm, locale en-GB)
    • Flutter version 2.10.0-0.2.pre at /Users/nexus/dev/sdks/flutter_beta
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 73adb1406a (8 days ago), 2022-01-19 17:02:56 -0600
    • Engine revision 74b74b10ea
    • Dart version 2.16.0 (build 2.16.0-134.1.beta)
    • DevTools version 2.9.2

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/nexus/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.0)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2020.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)

[☠] IntelliJ IDEA Community Edition (the doctor check crashed)
    ✗ Due to an error, the doctor check did not complete. If the error message below is not helpful, please let us know about this issue at https://github.com/flutter/flutter/issues.
    ✗ FormatException: Unexpected extension byte (at offset 5)
    • #0      _Utf8Decoder.convertSingle (dart:convert-patch/convert_patch.dart:1789:7)
      #1      Utf8Decoder.convert (dart:convert/utf.dart:351:42)
      #2      InputStream.readString (package:archive/src/util/input_stream.dart:207:30)
      #3      new ZipDirectory.read (package:archive/src/zip/zip_directory.dart:40:30)
      #4      ZipDecoder.decodeBuffer (package:archive/src/zip_decoder.dart:19:30)
      #5      ZipDecoder.decodeBytes (package:archive/src/zip_decoder.dart:14:12)
      #6      IntelliJPlugins._findPluginXml (package:flutter_tools/src/intellij/intellij.dart:130:44)
      #7      IntelliJPlugins._readPackageVersion (package:flutter_tools/src/intellij/intellij.dart:141:40)
      #8      IntelliJPlugins.validatePackage (package:flutter_tools/src/intellij/intellij.dart:63:35)
      #9      IntelliJValidator.validate (package:flutter_tools/src/intellij/intellij_validator.dart:103:15)
      #10     asyncGuard.<anonymous closure> (package:flutter_tools/src/base/async_guard.dart:111:32)
      #11     asyncGuard.<anonymous closure> (package:flutter_tools/src/base/async_guard.dart:109:18)
      #12     _rootRun (dart:async/zone.dart:1426:13)
      #13     _CustomZone.run (dart:async/zone.dart:1328:19)
      #14     _runZoned (dart:async/zone.dart:1861:10)
      #15     runZonedGuarded (dart:async/zone.dart:1849:12)
      #16     runZoned (dart:async/zone.dart:1780:12)
      #17     asyncGuard (package:flutter_tools/src/base/async_guard.dart:109:3)
      #18     Doctor.startValidatorTasks (package:flutter_tools/src/doctor.dart:205:9)
      #19     Doctor.diagnose (package:flutter_tools/src/doctor.dart:309:47)
      #20     DoctorCommand.runCommand (package:flutter_tools/src/commands/doctor.dart:50:48)
      #21     FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:1320:12)
      <asynchronous suspension>
      #22     FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1161:27)
      <asynchronous suspension>
      #23     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
      <asynchronous suspension>
      #24     CommandRunner.runCommand (package:args/command_runner.dart:209:13)
      <asynchronous suspension>
      #25     FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:281:9)
      <asynchronous suspension>
      #26     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
      <asynchronous suspension>
      #27     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:229:5)
      <asynchronous suspension>
      #28     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:62:9)
      <asynchronous suspension>
      #29     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
      <asynchronous suspension>
      #30     main (package:flutter_tools/executable.dart:94:3)
      <asynchronous suspension>

[✓] VS Code (version 1.63.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.32.0

[✓] Connected device (4 available)
    • M2007J20CG (mobile)         • 5dd3be00      • android-arm64  • Android 11 (API 30)
    • sdk gphone64 arm64 (mobile) • emulator-5554 • android-arm64  • Android 12 (API 31) (emulator)
    • macOS (desktop)             • macos         • darwin-arm64   • macOS 11.6.2 20G314 darwin-arm
    • Chrome (web)                • chrome        • web-javascript • Google Chrome 97.0.4692.99

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

[✓] Flutter (Channel master, 2.10.0-1.0.pre.307, on macOS 11.6.2 20G314 darwin-arm, locale en-GB)
    • Flutter version 2.10.0-1.0.pre.307 at /Users/nexus/dev/sdks/flutters
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision b7424c619c (12 hours ago), 2022-01-26 17:25:45 -0800
    • Engine revision c248c6e38e
    • Dart version 2.17.0 (build 2.17.0-63.0.dev)
    • DevTools version 2.10.0-dev.1

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/nexus/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.0)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2020.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)

[✓] IntelliJ IDEA Community Edition (version 2021.3)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin version 213.5744.122

[✓] VS Code (version 1.63.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.32.0

[✓] Connected device (4 available)
    • M2007J20CG (mobile)         • 5dd3be00      • android-arm64  • Android 11 (API 30)
    • sdk gphone64 arm64 (mobile) • emulator-5554 • android-arm64  • Android 12 (API 31) (emulator)
    • macOS (desktop)             • macos         • darwin-arm64   • macOS 11.6.2 20G314 darwin-arm
    • Chrome (web)                • chrome        • web-javascript • Google Chrome 97.0.4692.99

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

CC @goderbauer

I would suspect that this is something on the engine side rather than framework (also since iOS is unaffected).
/cc @egarciad Did anything change with the Android embedding that may have caused this?

This is due to https://github.com/flutter/engine/pull/30893
That PR has since been reverted (https://github.com/flutter/engine/pull/31108)

Thanks, @jason-simmons. I am closing this since it has been reverted.

authors: HansMuller danagbemava-nc goderbauer jason-simmons selvam920


text:
update android and ios folder   with  flutter  commend

If there is a way to update  android and ios folder  auto that will be great. today i run  my flutter  app new android 12  amulator . this  show  an error  .after  try lot of thing  i  know i have to add  android:exported="true"  to   android\app\src\main\AndroidManifest.xml
file .

@samithe7
Your description isn't clear so I am not sure what is the issue you are facing. Please elaborate with a use case and a code sample if possible.


text:
TextSelection toolbar should be hidden when scrolled

Use case
Provide more native-like features on text selection toolbar
Proposal
Toolbar for text selection should be hidden when text field is scrolled.
Please check videos below, how native application works.
Native Android (record from YouTube)
https://user-images.githubusercontent.com/16171447/152736726-7f70be09-9bab-4ba2-8556-0dace92992b5.mov
Native iOS (record from default Calendar app)
https://user-images.githubusercontent.com/16171447/152736772-51fb7d23-bb0e-4eaf-9a3c-3669b9df0135.mov
How Flutter works now
https://user-images.githubusercontent.com/16171447/152736923-5ce971c1-34ec-445c-9cc8-789ec4d8b892.mov

cc @justinmc

Hi @SuhwanCha, Thanks for filing the issue.
There is a similar issue describing this case  https://github.com/flutter/flutter/issues/52425, Please follow up there for further updates, Closing this issue as a duplicate. If you disagree feel free to write in the comments and I will reopen it.
Thank you.

authors: SuhwanCha maheshmnj


text:
fix: removed Widget type from child parameter in OutlinedButton

Description
Removes the type Widget from the super parameter being used in OutlinedButton.
Issue
Using flutter 3.3.0 and OutlinedButton results in a breaking change since child is no longer a parameter. Instead the parameter has been named to Widget.
// main.dart
import 'package:flutter/material.dart';

void main() {
  runApp(const MaterialApp(
    home: _Page(),
  ));
}

class _Page extends StatelessWidget {
  const _Page({super.key});

  @override
  Widget build(BuildContext context) {
    return OutlinedButton(onPressed: onPressed, Widget: Widget);
  }
}

# pubspec.yaml
name: issue_outlined_button
description: A new Flutter project.
publish_to: 'none' # Remove this line if you wish to publish to pub.dev

version: 1.0.0+1

environment:
  sdk: '>=2.18.0 <3.0.0'
  flutter: 3.3.0

dependencies:
  flutter:
    sdk: flutter
  cupertino_icons: ^1.0.2

dev_dependencies:
  flutter_test:
    sdk: flutter
  flutter_lints: ^2.0.0

flutter:
  uses-material-design: true

Pre-launch Checklist

[X] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[X] I read the Tree Hygiene wiki page, which explains my responsibilities.
[X] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[X] I signed the CLA.
[X] I listed at least one issue that this PR fixes in the description above.
[X] I updated/added relevant documentation (doc comments with ///).
[X] I added new tests to check the change I am making, or this PR is test-exempt.
[X] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

test-exempt: code cleanup

source: gharchive/pull-request

authors: Hixie alestiago


text:
Add @widgetFactory annotation

This PR adds the @widgetFactory annotation, which allows developers to mark extension methods as widget factories for the purpose of widget creation tracking.
Instrumentation of widget factories has been implemented in the Dart SDK (https://github.com/dart-lang/sdk/issues/50067).
Related issues:

https://github.com/flutter/flutter/issues/112468
https://github.com/flutter/devtools/issues/4772

Pre-launch Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I signed the CLA.
[x] I listed at least one issue that this PR fixes in the description above.
[x] I updated/added relevant documentation (doc comments with ///).
[x] I added new tests to check the change I am making, or this PR is test-exempt.
[x] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

cc @kenzieschmoll @jacob314

Could you resolve the merge conflict? Thanks!

@jacob314 Can you approve this one as well?

@goderbauer The "Google testing"  check seems stuck. Is there anything I should do?

Can you rebase this with the latest master? That should get the check unstuck.

Can you rebase this with the latest master? That should get the check unstuck.

Hm, looks like that didn't help. 🤔

authors: blaugold goderbauer


text:
[release + cherry pick] run verify codesign test on post submit only

cherry picks https://github.com/flutter/flutter/pull/120411

Umm it seems like this one wasn't merged to stable, and that might be the reason why we are still seeing presubmit checks on stable?

Closing this since it looks like 3.7.1 is no longer the stable anymore


text:
Add missing parameters to PaginatedDataTable.

This PR fixes #100790.
This PR takes over and extends the #101556. This adds missing parameters to PaginatedDataTable.

dataTextStyle
headingRowColor
headingTextStyle
dividerThickness

The under lying DataTable provides default values for these parameters, so all are allowed to be null in this PR.
Pre-launch Checklist

[x] I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
[x] I read the [Tree Hygiene] wiki page, which explains my responsibilities.
[x] I read and followed the [Flutter Style Guide], including [Features we expect every widget to implement].
[x] I signed the [CLA].
[x] I listed at least one issue that this PR fixes in the description above.
[x] I updated/added relevant documentation (doc comments with ///).
[x] I added new tests to check the change I am making, or this PR is [test-exempt].
[x] All existing and new tests are passing.

@shirou I am going to close this PR to remove it from the review queue since we have not heard anything for a while. If you would like to continue working on this, please feel welcome to come back and re-open the PR. Thank you for contributing!

Yah. Unfortunately now I do not have time to add more tests. If someone else could take over this PR I would be grateful.

authors: Piinks shirou


text:
[Android] Support Android 34 (take 2)

Re-lands https://github.com/flutter/flutter/pull/137191.
The fix for the issue causing that PR to be reverted was tested in this PR but ultimately landed separately in https://github.com/flutter/flutter/pull/138093.
Pre-launch Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I signed the CLA.
[ ] I listed at least one issue that this PR fixes in the description above.
[ ] I updated/added relevant documentation (doc comments with ///).
[x] I added new tests to check the change I am making, or this PR is test-exempt.
[x] All existing and new tests are passing.

The reason that the first PR seemed to have failed is due to these warnings:
[2023-11-07 10:28:15.561422] [STDOUT] run:stderr: /opt/s/w/ir/cache/gradle/caches/transforms-3/2febba88601fdfcd50f9b2931eeb9213/transformed/rules-1.2.0-api.jar(/androidx/test/rule/ActivityTestRule.class): warning: [classfile] MethodParameters attribute introduced in version 52.0 class files is ignored in version 51.0 class files
[2023-11-07 10:28:15.563314] [STDOUT] run:stderr: error: warnings found and -Werror specified
[2023-11-07 10:28:15.601735] [STDOUT] run:stderr: /opt/s/w/ir/x/w/recipe_cleanup/tmpfr_3x8zx/flutter sdk/packages/integration_test/android/src/main/java/dev/flutter/plugins/integration_test/FlutterTestRunner.java:23: warning: [rawtypes] found raw type: Class
[2023-11-07 10:28:15.601983] [STDOUT] run:stderr:   final Class testClass;
[2023-11-07 10:28:15.602130] [STDOUT] run:stderr:         ^
[2023-11-07 10:28:15.602277] [STDOUT] run:stderr:   missing type arguments for generic class Class<T>
[2023-11-07 10:28:15.602581] [STDOUT] run:stderr:   where T is a type-variable:
[2023-11-07 10:28:15.602765] [STDOUT] run:stderr:     T extends Object declared in class Class
[2023-11-07 10:28:15.604360] [STDOUT] run:stderr: /opt/s/w/ir/x/w/recipe_cleanup/tmpfr_3x8zx/flutter sdk/packages/integration_test/android/src/main/java/dev/flutter/plugins/integration_test/FlutterTestRunner.java:35: warning: [deprecation] newInstance() in Class has been deprecated
[2023-11-07 10:28:15.604502] [STDOUT] run:stderr:           Object instance = testClass.newInstance();
[2023-11-07 10:28:15.604594] [STDOUT] run:stderr:                                      ^
[2023-11-07 10:28:15.604674] [STDOUT] run:stderr:   where T is a type-variable:
[2023-11-07 10:28:15.604747] [STDOUT] run:stderr:     T extends Object declared in class Class
[2023-11-07 10:28:15.604911] [STDOUT] run:stderr: 1 error
[2023-11-07 10:28:15.605002] [STDOUT] run:stderr: 3 warnings

This LGTM, but lets try to land it at the same time as #138183

"At the same time" as in after?

I was hoping the checks would pass on that PR. I think its actually fine to land this now.
The motivation for the comment is that I believe that if one of them lands first, the tests will start downloading the other version, and it would be better to just have the correct version already installed instead of downloading it. For example (this is at least my understanding), every check we change to use android api 34 here will need to download it when it tries to run the test (because it won't have it pre-installed from CIPD).


text:
Roll Flutter Engine from f9c497f178d3 to 2bb13ccb8503 (1 revision)

https://github.com/flutter/engine/compare/f9c497f178d3...2bb13ccb8503
2024-06-19 jonahwilliams@google.com [Impeller] Compute correct-ish binding order for Vulkan. (flutter/engine#53463)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC jsimmons@google.com,rmistry@google.com,zra@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


text:
Roll engine 2e8e96fad1ad..f3d51b0cfbd4 (4 commits)

https://github.com/flutter/engine/compare/2e8e96fad1ad...f3d51b0cfbd4
git log 2e8e96fad1ad..f3d51b0cfbd4 --no-merges --oneline
f3d51b0cf Fix Top, Left, and Right padding for fullscreen android apps. (flutter/engine#6282)
7ec1d211e Compute maxIntrinsicWidth based on the width of styled runs added to the line breaker (flutter/engine#6281)
2b25fd7da Don't use unix or win namespaces (flutter/engine#6277)
60c5bb86d Return null instead of throwing if an instance method is passed to PluginUtilities.getCallbackHandle (flutter/engine#6260)
The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
If the roll is causing failures, please contact the current sheriff, who should
be CC'd on the roll, and stop the roller if necessary.

@rmistry @liyuqian : New roll has been created by https://autoroll.skia.org/r/flutter-engine-flutter-autoroll

Trybots failed. These were the failed builds: https://flutter-dashboard.appspot.com/build.html

Commit queue failed; closing this roll.


text:
Roll engine 4663d357a360..713fe130eb02 (2 commits)

https://github.com/flutter/engine/compare/4663d357a360...713fe130eb02
git log 4663d357a36043b7dcafa01fc88511f457cc1319..713fe130eb0200412b04cc0c3356fce5f6f98153 --no-merges --oneline
713fe130e Roll src/third_party/skia 103288b50fa7..454e5fb7457d (11 commits) (flutter/engine#7792)
87b40ba97 Allow embedders to specify pointer device IDs. (flutter/engine#7790)
The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
If the roll is causing failures, please contact the current sheriff (chinmaygarde@google.com), and stop
the roller if necessary.

Auto-roller completed checks. About to merge.


text:
Measure iOS CPU/GPU percentage

For https://github.com/flutter/flutter/issues/33899
Test added:

simple_animation_perf_ios

Test modified:

backdrop_filter_perf_ios__timeline_summary

We'll add the CPU/GPU measurement to more iOS tests
once it's proven to be non-flaky.

@dnfield @goderbauer @digiter : ready to review again.


text:
Roll Plugins from 0434f0640052 to 6d18db83f00f (2 revisions)

https://github.com/flutter/plugins/compare/0434f0640052...6d18db83f00f
2021-01-14 info@bemacized.net [camera] Fix picture capture causing a crash on some Huawei devices. (flutter/plugins#3414)
2021-01-14 ditman@gmail.com [file_selector_web] Add dummy ios directory. (flutter/plugins#3416)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-plugins-flutter-autoroll
Please CC flutter-ecosystem@google.com on the revert to ensure that a human
is aware of the problem.
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/master/autoroll/README.md

Commit queue failed; closing this roll.

Commit queue failed; closing this roll.


text:
Roll Engine from 6993cb229b99 to 04afdadbb552 (23 revisions)

https://github.com/flutter/engine/compare/6993cb229b99...04afdadbb552
2021-02-17 iska.kaushik@gmail.com Revert "Reland "Remove pipeline in favor of layer tree holder (#18901)" (#24387)" (flutter/engine#24456)
2021-02-17 skia-flutter-autoroll@skia.org Roll Skia from 8172d165772e to 2bb5ef3e9fbf (2 revisions) (flutter/engine#24455)
2021-02-17 mouad.debbar@gmail.com [web] Fix right click issue when dragging (flutter/engine#24447)
2021-02-17 skia-flutter-autoroll@skia.org Roll Dart SDK from 34052583a73c to d70fb6e63fe4 (2 revisions) (flutter/engine#24454)
2021-02-17 skia-flutter-autoroll@skia.org Roll Skia from fbc3a8362d7f to 8172d165772e (1 revision) (flutter/engine#24453)
2021-02-17 skia-flutter-autoroll@skia.org Roll Dart SDK from 494cd25b1d9a to 34052583a73c (1 revision) (flutter/engine#24452)
2021-02-17 skia-flutter-autoroll@skia.org Roll Fuchsia Mac SDK from kyS_yAeml... to RsAmJzDpe... (flutter/engine#24451)
2021-02-17 skia-flutter-autoroll@skia.org Roll Skia from fcc758cdc24e to fbc3a8362d7f (1 revision) (flutter/engine#24450)
2021-02-17 skia-flutter-autoroll@skia.org Roll Dart SDK from 1e0fec6e48cf to 494cd25b1d9a (12 revisions) (flutter/engine#24449)
2021-02-17 skia-flutter-autoroll@skia.org Roll Skia from bf43df6478f9 to fcc758cdc24e (4 revisions) (flutter/engine#24448)
2021-02-17 skia-flutter-autoroll@skia.org Roll Fuchsia Linux SDK from C2FaCuCLB... to PNW_Evsrm... (flutter/engine#24444)
2021-02-17 47866232+chunhtai@users.noreply.github.com Fixes hot restart correctly reset the browser history (flutter/engine#24377)
2021-02-17 skia-flutter-autoroll@skia.org Roll Skia from dbd4e6f0c0d4 to bf43df6478f9 (2 revisions) (flutter/engine#24446)
2021-02-16 yjbanov@google.com fix infinite loop in findMinimumFontsForCodeunits (flutter/engine#24441)
2021-02-16 skia-flutter-autoroll@skia.org Roll Skia from fc48f2b5f67d to dbd4e6f0c0d4 (5 revisions) (flutter/engine#24442)
2021-02-16 chris@bracken.jp Roll buildroot to 47043991a50e1cfda66766009885197a05bb29f1 (flutter/engine#24438)
2021-02-16 hterkelsen@users.noreply.github.com Roll CanvasKit to 0.23 (flutter/engine#24249)
2021-02-16 skia-flutter-autoroll@skia.org Roll Clang Mac from hoapl8VNW... to QimZEUJUn... (flutter/engine#24440)
2021-02-16 skia-flutter-autoroll@skia.org Roll Clang Linux from 6BYbqFtrH... to L9TEpKo-D... (flutter/engine#24439)
2021-02-16 iska.kaushik@gmail.com Reland "Remove pipeline in favor of layer tree holder (#18901)" (flutter/engine#24387)
2021-02-16 skia-flutter-autoroll@skia.org Roll Fuchsia Mac SDK from eG4TqZBn9... to kyS_yAeml... (flutter/engine#24437)
2021-02-16 skia-flutter-autoroll@skia.org Roll Skia from 4a3ec173b31b to fc48f2b5f67d (2 revisions) (flutter/engine#24435)
2021-02-16 matej.knopp@gmail.com Unblock FlutterResizeSynchronizer on engine shutdown (flutter/engine#24264)
Also rolling transitive DEPS:
fuchsia/sdk/core/linux-amd64 from C2FaCuCLBodZ to PNW_EvsrmQCD
fuchsia/sdk/core/mac-amd64 from eG4TqZBn9_IN to RsAmJzDpengZ
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC wrightgeorge@google.com on the revert to ensure that a human
is aware of the problem.
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/master/autoroll/README.md

AutoRoller is stopped; closing the active roll.


text:
Fix animate to curve argument

This PR adds a test to ensure the curve argument is applied to the animation and then fixes the animateTo function. Credit to jyardin for the code changes to the animateTo function.
Fixes #95743
This is a replica of #95744 because I accidentally polluted it with a bunch of commits.
cc @dnfield
Pre-launch Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I signed the CLA.
[x] I listed at least one issue that this PR fixes in the description above.
[x] I updated/added relevant documentation (doc comments with ///).
[x] I added new tests to check the change I am making, or this PR is test-exempt.
[x] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

@dnfield do you mind merging this?

Merging on the basis that a prior version of this patch was LGTM'd already by goderbauer, and this version was only created to fix GitHub related issues with the previous one.

authors: caseycrogers dnfield


text:
Roll Engine from 19a19cd50b0e to dd13225cbe89 (4 revisions)

https://github.com/flutter/engine/compare/19a19cd50b0e...dd13225cbe89
2022-02-12 skia-flutter-autoroll@skia.org Roll Dart SDK from a37650334e51 to adf8fb6e09c1 (1 revision) (flutter/engine#31425)
2022-02-12 skia-flutter-autoroll@skia.org Roll Dart SDK from ee66faef9353 to a37650334e51 (1 revision) (flutter/engine#31424)
2022-02-12 egarciad@google.com Improve platform views performance (flutter/engine#31198)
2022-02-12 skia-flutter-autoroll@skia.org Roll Skia from 1542db1a9b9f to e4d3d3947caa (1 revision) (flutter/engine#31423)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC aaclarke@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


text:
Retrigger full CI checks

Add flutter doctor step, which fetches the tags from the Flutter repo.
The output is also useful to debug potential tooling issues.

This should be fixed by https://github.com/flutter/flutter/issues/67068, I'm re-triggering builds.

Thanks @christopherfujino !!

authors: blasten christopherfujino

repo: flutter/plugins


text:
Roll Flutter from 355fd23a799d to df2781ad18de (1 revision)

https://github.com/flutter/flutter/compare/355fd23a799d...df2781ad18de
2022-04-12 47630729+maxzod@users.noreply.github.com Use kDebugMode in error_widget.0.dart example (flutter/flutter#93408)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-plugins
Please CC dit@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Plugins: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


text:
Roll Flutter from e8eac0d047cd to 0588b925a070 (16 revisions)

https://github.com/flutter/flutter/compare/e8eac0d047cd...0588b925a070
2023-02-08 59848602+MarchMore@users.noreply.github.com Removed "if" on resolving text color at "SnackBarAction" (flutter/flutter#120050)
2023-02-08 hans.muller@gmail.com Correct Badge interpretation of its alignment parameter (flutter/flutter#119853)
2023-02-08 engine-flutter-autoroll@skia.org Manual roll Flutter Engine from f310ffd1461a to bdc5b6b768f6 (12 revisions) (flutter/flutter#120261)
2023-02-08 mdebbar@google.com Revert "Stop recursively including assets from asset folders (#120167)" (flutter/flutter#120283)
2023-02-08 36861262+QuncCccccc@users.noreply.github.com Add trackOutlineColor for Switch and SwitchListTile (flutter/flutter#120140)
2023-02-08 xubaolin@oppo.com fix a TextFormField bug (flutter/flutter#120182)
2023-02-08 zanderso@users.noreply.github.com Revert "Roll Flutter Engine from f310ffd1461a to 7098858dc0a5 (9 revisions) (#120251)" (flutter/flutter#120257)
2023-02-08 rmolivares@renzo-olivares.dev Add support for extending selection to paragraph on ctrl + shift + arrow up/down on Non-Apple platforms (flutter/flutter#120151)
2023-02-08 engine-flutter-autoroll@skia.org Roll Flutter Engine from f310ffd1461a to 7098858dc0a5 (9 revisions) (flutter/flutter#120251)
2023-02-08 gnprice@gmail.com Add test for RenderProxyBoxMixin; clarify doc, resolve TODO (flutter/flutter#117664)
2023-02-08 gnprice@gmail.com Fix hang on successful dev/bots/analyze.dart (flutter/flutter#117660)
2023-02-07 christopherfujino@gmail.com Revert "Revert "Fix unable to find bundled Java version (#119244)" (#119981)" (flutter/flutter#120107)
2023-02-07 engine-flutter-autoroll@skia.org f310ffd14 Roll Skia from 3b1401c4870d to 87dbc81b421f (4 revisions) (flutter/engine#39457) (flutter/flutter#120214)
2023-02-07 christopherfujino@gmail.com un-pin package:intl (flutter/flutter#119900)
2023-02-07 jmccandless@google.com Web tab selection (flutter/flutter#119583)
2023-02-07 36861262+QuncCccccc@users.noreply.github.com Update to v0.158 of the token database. (flutter/flutter#120149)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-plugins
Please CC rmistry@google.com,stuartmorgan@google.com,tarrinneal@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Plugins: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


text:
flutter devtools里额外出现一个蒙层把widget全部都盖住了

版本信息

Flutter版本：v3.7.0
flutter_smart_dialog版本：master

描述bug/需求

windows下跑仓库里的example
打开flutter devtools里的"overlay guidlines to assists with fixing layout issues"
可以看到在额外有一个蒙层把widget其它实际widget的框都挡住了

有一点影响开发
问题demo
包里的example

这个问题已经彻底解决，可以试下新版本，同时废弃也不需要useDebugModel参数了

dependencies:
  flutter_smart_dialog: ^4.9.7

license: MIT


text:
Some questions about dio mock data

New Issue Checklist

[x] I have searched for a similar issue in the project and found none

Issue Info

Info
Value

Platform Name
flutter / ios / android

Platform Version
Channel stable, v1.12.13+hotfix.5 / 13.3 / 9.0

Dio Version
2.1.0

Android Studio / Xcode Version
Android Studio 3.5.5 / Xcode 11.3

Issue Description and Steps
this is my mock adapter
class MockAdapter extends HttpClientAdapter {
  DefaultHttpClientAdapter _adapter = DefaultHttpClientAdapter();

  Future<String> loadJsonFile(String assetsPath) {
    print('--- Parse json from: $assetsPath');
    return rootBundle.loadString(assetsPath);
  }

  @override
  Future<ResponseBody> fetch(RequestOptions options,
      Stream<List<int>> requestStream, Future cancelFuture) async {
    Uri uri = options.uri;
    switch (uri.path) {
      case '/card/list':
        {
          String loadString = await loadJsonFile("mock/card_list.json");
          return ResponseBody.fromString(
            loadString,
            200
          );
        }
        break;
      default:
    }
    return _adapter.fetch(options, requestStream, cancelFuture);
  }
}

this is my dio fetch function

enum Method { get, post, put }

class Fetch {
  static Dio _dio;
  static final String baseUrl = 'https://xxx.net';

  static void init() async {
    BaseOptions baseOptions = BaseOptions(
        baseUrl: baseUrl,
        followRedirects: false,
        connectTimeout: 300000,
        receiveTimeout: 300000);

    _dio = Dio(baseOptions)
      ..interceptors
          .add(CustomLogInterceptor(responseBody: true, requestBody: true));
      ..httpClientAdapter = MockAdapter();
    } }

  static Future<Response> request(
    BuildContext context,
    String api, {
    Method method,
    Map<String, dynamic> params,
    bool isShowLoading = true,
  }) async {
    if (isShowLoading) Loading.showLoading(context);
    try {

      switch (method) {
        case Method.post:
          return await _dio.post(api, data: params, options: reqOptions);
          break;
        default:
          return await _dio.get(api,
              queryParameters: params, options: reqOptions);
          break;
      }
    } on DioError catch (e) {
      if (e == null) {
        return Future.error(Response(data: -1));
      } else if (e.response != null) {
        if (e.response.statusCode >= 300 && e.response.statusCode < 400) {
          return Future.error(Response(data: -1));
        } else {
          return Future.value(e.response);
        }
      } else {
        return Future.error(Response(data: -1));
      }
    } finally {
      Loading.hideLoading(context);
    }
  }

Now i make a request

 static Future<CardListData> carListData(BuildContext context) async {
    var response = await request(context, '/card/list', params: {});
     //  CardListData.fromJson(response.data);
     CardListData.fromJson(json.decode(response.data));
  }

I found that when I use the mock function, I must receive the response.data data in json.decode to map type, but the real request is not used, which causes a lot of trouble when I mock the data.
Please help me, thx

try assign a type
 static Future<CardListData> carListData(BuildContext context) async {     Response<Map<String, dynamic>> response = await request(context, '/card/list', params: {});     CardListData.fromJson(response.data);     // CardListData.fromJson(json.decode(response.data));   }

Response<Map<String, dynamic>>
i got it

[VERBOSE-2:ui_dart_state.cc(157)] Unhandled Exception: type 'Response<dynamic>' is not a subtype of type 'Response<Map<String, dynamic>>'

I think I solved my problem by:
          return ResponseBody.fromString(loadString, 200, headers: {Headers.contentTypeHeader: [Headers.jsonContentType]});

authors: crsgit herbsun

repo: flutterchina/dio


text:
Add compatibility with AGP 8 (Android Gradle Plugin)

Android Flutter plugins should add namespace under android inside the build configuration for the app.
Something like this.
Also check official android documentation here.

Nice! Thanks 👍

Do you happen to know if the namespace is necessary for both build.gradle files, as done in the linked PR?
Because the (also linked) docs say
Starting with AGP 7.0, you can set the namespace in the app’s build.gradle file

I think it's only needed for the app build.gradle.

Please check if version 0.3.0 works for you 🙏🏽

Works great! Thanks 👍

@biklas7 thanks for the feedback. Could you please also check 0.3.1 (had to fix the namespace for older AGP versions)

@nohli still working 👍


text:
share_plus Android minSdk bump drops support for a lot of devices

System info
Platform the Issue occurs on: Android
Plugin name: share_plus
Plugin version: 4.0.1
Steps to Reproduce

The latest share_pus plugin update bumped minSdk Android API from 16 to 23 (from Android 4.1 to Android 6). With Flutter itself supporting API 16 that is a large drop of supported Android devices.
My app is primarily used on Android tablets, and there is a lot of them running older Android versions. For example, older generation Amazon Fire 7 tablets (Fire OS 5 is API level 22) and some of 3..4 year old Samsung's Tab As are also running Android 5 or older.

I am not a big fan of what happened with minSDK in Share plus, but I missed this PR due to events in Ukraine. I think that there was no need to bump that high.
Don't see it as a critical issue, though, considering that you can still use older versions.
As to share_plus I will create a PR, which will change the minSDK to lower version as it is possible as it seems to me.
P.S. I also believe that it would be good for all plugins to slowly go to 21 as their minSDK, but it is a different topic.

Thank you

it would be good for all plugins to slowly go to 21 as their minSDK, but it is a different topic

I respectfully disagree. All the *_plus plugins in their roots are basically the core platform plugins, which the Flutter core team don't have capacity or is unwilling to maintain. With that, all the *_plus should match the Flutter's core platform support, even if some functionality is not supported on certain platform versions (i.e. can't be supported on a lower Android API versions), unless it is absolutely not possible to support plugin's core features (which doesn't seem to be the case with the share_plus plugin).
As for using older plugin versions. My past experience shows that it quickly turns in a dependency hell, due to plugin's cross dependency and dependency on external plugins. Up to now we could at least rely on the core plugins (which used to be the pre-*_plus ones) being the latest and on par with the Flutter core and platform. Not to mention changes in the Flutter core and the Dart itself.

I respectfully disagree. All the *_plus plugins in their roots are basically the core platform plugins, which the Flutter core team don't have capacity or is unwilling to maintain. With that, all the *_plus should match the Flutter's core platform support, even if some functionality is not supported on certain platform versions (i.e. can't be supported on a lower Android API versions), unless it is absolutely not possible to support plugin's core features (which doesn't seem to be the case with the share_plus plugin).

I agree with your concerns, but even in the link you attached it is SDK 19, not 16 that is currently minimally supported by plus_plugins. And I believe that we will see a bump to 21 in Flutter itself before 2022 ends. Because 21 brought some better APIs, which made lots of things easier and because it is from 2014, which is very very old. I wouldn't like to continue this topic here as we will stay with our opinions anyway.
As to share_plus I see a possibility to lower only to 22 as before 22 there were no way to add sender param into Intent to get a callback. If it is still something that you consider critical I would suggest to go and share your concerns in #386.

https://github.com/fluttercommunity/plus_plugins/pull/797#issuecomment-1073345787

#797 (comment)

@Coronon thank you for looking into this. All seem to work as before. Yay!
As @vbuberen noted before, on Android it reports ShareResultStatus.success after you select some activity from the list and then immediately cancel it, so nothing really shared. The method doc doesn't seem to say it that way.
On a side note, the _resultUnavailable uses somewhat odd value. Could raw field be a nullable String? instead? The raw value doesn't have any special meaning for an unavailable and dismissed statuses anyways.
const _resultUnavailable = ShareResult(
  'dev.fluttercommunity.plus/share/unavailable',
  ShareResultStatus.unavailable,
);

/// While on IOS the selected action can inform its caller that it was completed
/// or dismissed midway (_actions are free to return whatever they want_),
/// Android and macOS only record if the user selected an action or outright
/// dismissed the share-sheet.

I don't know how to make this any clearer, it says "Android and macOS only record if the user selected an action or outright dismissed the share-sheet", that's exactly how it is!
We use null for no return (without result), '' for dismissed share and {VALUE} for successful share. The dev.fluttercommunity.plus/share/unavailable is another value where we can be pretty certain that no other application will use it.

Was automaticall closed due to my PR description. Opening again till the new PR is ready.

Hi, I love this plugin and I'm sad, becouse for me minSdk 22 is not acceptable. My project uses minSdk 21 and update is not possible, becouse a lot of users still use Android 5.
What do you think about disabling results for Android 5 and lower OS versions? I think share_plus shoud have lower minSdk, becouse other plugins like webview_flutter or firebase plugins have it lower.

I don't know how to make this any clearer, it says "Android and macOS only record if the user selected an action or outright dismissed the share-sheet", that's exactly how it behaves!

Let me provide a PR with docs updates and I will provide that comment update as well.

What do you think about disabling results for Android 5 and lower OS versions? I think share_plus shoud have lower minSdk, becouse other plugins like webview_flutter or firebase plugins have it lower.

There is a person already working on it, so no worries here.

Let me provide a PR with docs updates and I will provide that comment update as well.

I have improved the docs in my PR, have a look if that makes it clearer :)

My PR should be ready

authors: Coronon ekuleshov m-ochyra vbuberen

license_source: bigquery


text:
[Bug]: share_plus - iOS 13 physical devices shows white overlay over screen when sharing through Messages

Platform
iOS 13.3.1
Plugin
share_plus
Version
4.0.10
Flutter SDK
3.0.5
Steps to reproduce

Open the example app from share_plus and run it on a physical iOS 13 device (my device is an iPhone SE - iOS 13.3.1). https://github.com/fluttercommunity/plus_plugins/tree/main/packages/share_plus/share_plus/example
Enter some text to the Share text: text field and tap Share button to open the ShareSheet. For some reason, the ShareSheet doesn't show the Messages app until I add one more character to the Share text: text field.  Tap the Share button again to show the ShareSheet again.
Share with the Messages app and send it to someone.
When the ShareSheet closes, there's a white overlay covering the bottom half of the page.  I now have to scroll on the top half of the page to show all the widgets.  I'm not sure where this white overlay is coming from.  I have to restart the app or open the ShareSheet, choose the Message app again, then just close it to fix this UI bug.

Before:

After:

Code Sample
https://github.com/fluttercommunity/plus_plugins/tree/main/packages/share_plus/share_plus/example

Logs
[+13451 ms] [Process] kill() returned unexpected error 1
[        ] [Process] kill() returned unexpected error 1
[        ] [Process] kill() returned unexpected error 1
[   +9 ms] [Process] kill() returned unexpected error 1
[        ] [Process] kill() returned unexpected error 1
[        ] [Process] kill() returned unexpected error 1
[        ] [Process] kill() returned unexpected error 1
[        ] [Process] kill() returned unexpected error 1
[        ] [Process] kill() returned unexpected error 1
[        ] [Process] kill() returned unexpected error 1
[        ] [Process] kill() returned unexpected error 1
[        ] [Process] kill() returned unexpected error 1
[        ] [Process] kill() returned unexpected error 1
[   +4 ms] [Process] kill() returned unexpected error 1
[        ] [Process] kill() returned unexpected error 1
[        ] [Process] kill() returned unexpected error 1
[        ] [Process] kill() returned unexpected error 1
[        ] [Process] kill() returned unexpected error 1
[        ] [Process] kill() returned unexpected error 1
[        ] [Process] kill() returned unexpected error 1
[  +57 ms] CFURLSetTemporaryResourcePropertyForKey failed because it was passed an URL which
has no scheme
[        ] CFURLSetTemporaryResourcePropertyForKey failed because it was passed an URL which
has no scheme
[  +33 ms] CFURLSetTemporaryResourcePropertyForKey failed because it was passed an URL which
has no scheme
[  +24 ms] CFURLSetTemporaryResourcePropertyForKey failed because it was passed an URL which
has no scheme
[        ] CFURLSetTemporaryResourcePropertyForKey failed because it was passed an URL which
has no scheme
[        ] CFURLCopyResourcePropertyForKey failed because it was passed an URL which has no
scheme
[  +57 ms] [Process] kill() returned unexpected error 1
[        ] [Process] kill() returned unexpected error 1
[ +622 ms] [Process] kill() returned unexpected error 1
[        ] [Process] kill() returned unexpected error 1
[        ] [Process] kill() returned unexpected error 1
[        ] [Process] kill() returned unexpected error 1
[        ] [Process] kill() returned unexpected error 1
[        ] [Process] kill() returned unexpected error 1
[        ] [Process] kill() returned unexpected error 1
[        ] [Process] kill() returned unexpected error 1
[        ] [Process] kill() returned unexpected error 1
[        ] [Process] kill() returned unexpected error 1
[        ] [Process] kill() returned unexpected error 1
[  +13 ms] [Process] kill() returned unexpected error 1
[        ] [Process] kill() returned unexpected error 1
[  +94 ms] [Process] kill() returned unexpected error 1
[        ] [Process] kill() returned unexpected error 1
[        ] [Process] kill() returned unexpected error 1
[        ] [Process] kill() returned unexpected error 1
[        ] [Process] kill() returned unexpected error 1
[        ] [Process] kill() returned unexpected error 1
[        ] [Process] kill() returned unexpected error 1
[        ] [Process] kill() returned unexpected error 1
[        ] [Process] kill() returned unexpected error 1
[        ] [Process] kill() returned unexpected error 1
[   +1 ms] [Process] kill() returned unexpected error 1
[        ] [Process] kill() returned unexpected error 1
[        ] [Process] kill() returned unexpected error 1
[        ] [Process] kill() returned unexpected error 1
[        ] [Process] kill() returned unexpected error 1
[        ] [Process] kill() returned unexpected error 1
[        ] [Process] kill() returned unexpected error 1
[        ] [Process] kill() returned unexpected error 1
[        ] [Process] kill() returned unexpected error 1
[        ] [Process] kill() returned unexpected error 1
[        ] [Process] kill() returned unexpected error 1
[  +23 ms] [Process] kill() returned unexpected error 1
[        ] [Process] kill() returned unexpected error 1
[        ] [Process] kill() returned unexpected error 1
[        ] [Process] kill() returned unexpected error 1
[        ] [Process] kill() returned unexpected error 1
[        ] [Process] kill() returned unexpected error 1
[        ] [Process] kill() returned unexpected error 1
[        ] [Process] kill() returned unexpected error 1
[        ] [Process] kill() returned unexpected error 1
[        ] [Process] kill() returned unexpected error 1
[        ] [Process] kill() returned unexpected error 1
[        ] [Process] kill() returned unexpected error 1
[        ] [Process] kill() returned unexpected error 1
[        ] [Process] kill() returned unexpected error 1
[        ] [Process] kill() returned unexpected error 1
[        ] [Process] kill() returned unexpected error 1
[        ] [Process] kill() returned unexpected error 1
[        ] [Process] kill() returned unexpected error 1
[        ] [Process] kill() returned unexpected error 1
[        ] [Process] kill() returned unexpected error 1
[        ] [Process] kill() returned unexpected error 1
[        ] [Process] kill() returned unexpected error 1
[        ] [Process] kill() returned unexpected error 1
[        ] [Process] kill() returned unexpected error 1
[        ] [Process] kill() returned unexpected error 1
[        ] [Process] kill() returned unexpected error 1
[        ] [Process] kill() returned unexpected error 1
[        ] [Process] kill() returned unexpected error 1
[        ] [Process] kill() returned unexpected error 1
[        ] [Process] kill() returned unexpected error 1
[        ] [Process] kill() returned unexpected error 1
[        ] [Process] kill() returned unexpected error 1
[        ] [Process] kill() returned unexpected error 1
[  +11 ms] [Process] kill() returned unexpected error 1
[        ] [Process] kill() returned unexpected error 1
[        ] [Process] kill() returned unexpected error 1
[        ] [Process] kill() returned unexpected error 1
[  +74 ms] [ProcessSuspension] 0x11bce0fc0 -
ProcessAssertion::processAssertionWasInvalidated()
[  +16 ms] [ProcessSuspension] 0x11bce1020 -
ProcessAssertion::processAssertionWasInvalidated()
[ +489 ms] [LayoutConstraints] Unable to simultaneously satisfy constraints.
[        ]      Probably at least one of the constraints in the following list is one you don't
want.
[        ]      Try this:
[        ]              (1) look at each constraint and try to figure out which you don't expect;
[        ]              (2) find the code that added the unwanted constraint or constraints and fix it.
[        ] (
[        ]     "<NSLayoutConstraint:0x28370abc0 'assistantHeight'
TUISystemInputAssistantView:0x104b5fe30.height == 38   (active)>",
[        ]     "<NSLayoutConstraint:0x283712210 'assistantView.bottom'
TUISystemInputAssistantView:0x104b5fe30.bottom == _UIKBCompatInputView:0x10247e640.top
(active)>",
[        ]     "<NSLayoutConstraint:0x283712710 'assistantView.top'
V:|-(0)-[TUISystemInputAssistantView:0x104b5fe30]   (active, names:
'|':UIInputSetHostView:0x1024bc170 )>",
[        ]     "<NSLayoutConstraint:0x2837107d0 'inputView.top'
V:|-(0)-[_UIKBCompatInputView:0x10247e640]   (active, names:
'|':UIInputSetHostView:0x1024bc170 )>"
[        ] )
[        ] Will attempt to recover by breaking constraint
[        ] <NSLayoutConstraint:0x283712210 'assistantView.bottom'
TUISystemInputAssistantView:0x104b5fe30.bottom == _UIKBCompatInputView:0x10247e640.top
(active)>
[        ] Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this
in the debugger.
[        ] The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in
<UIKitCore/UIView.h> may also be helpful.
[ +548 ms] [ShareSheet] connection invalidated
[+10016 ms] [LayoutConstraints] Unable to simultaneously satisfy constraints.
[        ]      Probably at least one of the constraints in the following list is one you don't
want.
[        ]      Try this:
[        ]              (1) look at each constraint and try to figure out which you don't expect;
[        ]              (2) find the code that added the unwanted constraint or constraints and fix it.
[        ] (
[        ]     "<NSLayoutConstraint:0x283712080 'assistantHeight'
TUISystemInputAssistantView:0x104b5fe30.height == 38   (active)>",
[        ]     "<NSLayoutConstraint:0x28372b570 'assistantView.bottom'
TUISystemInputAssistantView:0x104b5fe30.bottom == _UIKBCompatInputView:0x10247e640.top
(active)>",
[        ]     "<NSLayoutConstraint:0x28372b520 'assistantView.top'
V:|-(0)-[TUISystemInputAssistantView:0x104b5fe30]   (active, names:
'|':UIInputSetHostView:0x104bacbf0 )>",
[        ]     "<NSLayoutConstraint:0x28372c050 'inputView.top'
V:|-(0)-[_UIKBCompatInputView:0x10247e640]   (active, names:
'|':UIInputSetHostView:0x104bacbf0 )>"
[        ] )
[        ] Will attempt to recover by breaking constraint
[        ] <NSLayoutConstraint:0x28372b570 'assistantView.bottom'
TUISystemInputAssistantView:0x104b5fe30.bottom == _UIKBCompatInputView:0x10247e640.top
(active)>
[        ] Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this
in the debugger.
[        ] The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in
<UIKitCore/UIView.h> may also be helpful.
[ +504 ms] [ShareSheet] connection invalidated
[+14125 ms] [ShareSheet] connection invalidated
[+4180 ms] Could not signal service com.apple.WebKit.WebContent: 113: Could not find
specified service
[  +16 ms] Could not signal service com.apple.WebKit.WebContent: 113: Could not find
specified service
[+5924 ms] [ShareSheet] connection invalidated
[+3119 ms] [ShareSheet] connection invalidated
[+22095 ms] [ShareSheet] connection invalidated

Flutter Doctor
[✓] Flutter (Channel stable, 3.0.5, on macOS 12.4 21F79 darwin-arm, locale en-US)
    • Flutter version 3.0.5 at /Users/somename/development/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision f1875d570e (3 weeks ago), 2022-07-13 11:24:16 -0700
    • Engine revision e85ea0e79c
    • Dart version 2.17.6
    • DevTools version 2.12.2

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0-rc2)
    • Android SDK at /Users/somename/Library/Android/sdk
    • Platform android-33, build-tools 33.0.0-rc2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7772763)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.4.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7772763)

[✓] IntelliJ IDEA Ultimate Edition (version 2022.1.3)
    • IntelliJ at /Users/somename/Applications/JetBrains Toolbox/IntelliJ IDEA Ultimate.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] IntelliJ IDEA Ultimate Edition (version 2022.1.3)
    • IntelliJ at /Users/somename/Library/Application Support/JetBrains/Toolbox/apps/IDEA-U/ch-0/221.5921.22/IntelliJ IDEA.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] VS Code (version 1.65.2)
    • VS Code at /Users/somename/Downloads/Visual Studio Code.app/Contents
    • Flutter extension version 3.40.0

[✓] VS Code (version 1.69.1)
    • VS Code at /Users/somename/.Trash/Visual Studio Code for Platform.app/Contents
    • Flutter extension version 3.40.0

[✓] Connected device (6 available)
    • Pixel 4 XL (mobile)                 • 98291FFBA004SG                           • android-arm64  • Android 12 (API 32)
    • Someone’s iPhone (mobile)               • 140a4eabc89adfee0e9498ef150582a061daaa46 • ios            • iOS 13.3.1 17D50
    • iPhone 13 (mobile)                  • 80138D4D-CE14-4357-9A72-09433CCA7105     • ios            • com.apple.CoreSimulator.SimRuntime.iOS-15-5 (simulator)
    • iPad mini (6th generation) (mobile) • 3FC884C7-F7A8-45EE-BE8A-07006244B21B     • ios            • com.apple.CoreSimulator.SimRuntime.iOS-15-5 (simulator)
    • macOS (desktop)                     • macos                                    • darwin-arm64   • macOS 12.4 21F79 darwin-arm
    • Chrome (web)                        • chrome                                   • web-javascript • Google Chrome 103.0.5060.134

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

I can not reproduce this. For me everything works exactly as expected :/ Can you try this with the most current version?

authors: Coronon samleecampspot


text:
Hero gradient incorrect on iOS Safari

One or more of the blended layers is missing. Could be a good opportunity to replace the down arrow (build from CSS border) with CSS clip-path

@dholbach @juozasg @bigfleet @shift @brew Please assign me this issue. Thanks.

I'm not an core contributor, but its a bit of bad taste tagging as many people. We have timezones. I know most of the core development team is based in Europe. So you tagging people at 2100 on a Sunday evening. Like myself. On something I've not done anything than typo/docs fixes. Not so great. /rant
Submit the PR and it will probably be merged by around 0850CEST. You got need to be assigned to submit a fix.

Thanks for offering help @UnfixedSun - we are looking forward to anything you can do to fix this issue.

authors: UnfixedSun dholbach juozasg shift

repo: fluxcd/website


text:
Flux e2e guide updates

Reviewed and edited section 6 and 7 of the flux-e2e.md guide.

(Incorporated, see add34a0f0)

authors: cmharden kingdonb


text:
🛑 Extranet is down

In 891d085, Extranet (https://extranet.osam.org.ar/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Extranet is back up in 4466272 after 6 minutes.

repo: flvanney/OSAMuptime


text:
Wildcard routes are limited to 5 levels deep

See https://github.com/flynn/flynn/commit/2140a10dcd39d1a31947daf407a4cdde5ac414f6. It’d be great if that could be either unlimited or with a larger limit (e.g. 10).

Flynn is unmaintained and our infrastructure will shut down on June 1, 2021. See the README for details.

authors: bfontaine titanous

repo: flynn/flynn


text:
Updating env var reverts to old slug

Encountered a problem today where I'd deploy, see my changes live, update an env var and see my changes go away.  It's now been multiple deploys, but each time I set a config var it's still using that same slug from before I started working today. days ago!

What version of Flynn? flynn-host version

v20160512.0

How are you updating the end? Is it possible that you are setting the SLUG_URL variable?

Thank you!  It was set from a flynn import.

...although I'd still expect a deploy to overwrite/unset it.

I'm unclear on the exact sequence of events here, however we have moved the slug field out of the env in more recent releases.

Hey @titanous I've built a new cluster again today and this is happening again.  The SLUG_URL is set in the environment, and now I'm not able to unset it.
❯ f -a production env unset SLUG_URL
web process type failed to start, got down job event

Exact sequence of events:

build new cluster
import app from flynn export
git push new code; everything OK
set an env var, reverts back to old slug from two clusters ago
git push new code, everything OK
goto 4

What do you think?

What version of Flynn are you running?

v20160624, installed via the AMI

The SLUG_URL env var is not used at all in that version. By slug reverts back, do you mean that the app reverts back to a previous release?

Yes, the app is reverting to a previous release.  Additionally, I'm seeing
2016-07-18T20:20:39.079279Z app[web.ip1723135113-113e5e50-f880-4b03-9f01-5864f80ec21d]: gzip: stdin: unexpected end of file
2016-07-18T20:20:39.079351Z app[web.ip1723135113-113e5e50-f880-4b03-9f01-5864f80ec21d]: tar: Child returned status 1
2016-07-18T20:20:39.079417Z app[web.ip1723135113-113e5e50-f880-4b03-9f01-5864f80ec21d]: tar: Error is not recoverable: exiting now
2016-07-18T20:20:39.901402Z app[web.ip1723135112-8e5a59ff-2040-41a9-8b0a-1b3da977d3d2]:
2016-07-18T20:20:39.901550Z app[web.ip1723135112-8e5a59ff-2040-41a9-8b0a-1b3da977d3d2]: gzip: stdin: unexpected end of file
2016-07-18T20:20:39.901891Z app[web.ip1723135112-8e5a59ff-2040-41a9-8b0a-1b3da977d3d2]: tar: Child returned status 1
2016-07-18T20:20:39.902034Z app[web.ip1723135112-8e5a59ff-2040-41a9-8b0a-1b3da977d3d2]: tar: Error is not recoverable: exiting now

in the app's logs, which persists until I push code again.

@dashkb what is your local CLI version (flynn version)?

Old... v20160216.0.  Should I upgrade?

@dashkb yes run flynn update and let us know if it fixes your issue.

OK everything seems to be working now.  Thanks for your help as usual.
One bit of oddness- flynn run no longer prepares the things; I have to run flynn run /runner/init [my command]; not a big deal.

Great to hear! That issue is tracked in #3154 and is currently being fixed.

authors: dashkb lmars titanous


text:
flynn-host bootstrap fails

Looks we are having issues bootstrapping a cluster using backup. Have not investigated it yet deeply. Wonder if it is something already known. Please let me know.
root@ip-10-110-83-179:/var/log# grep -A 20 'flynn-host bootstrap' /var/log/cloud-init-output.log
++ flynn-host bootstrap --peer-ips=10.110.83.179,10.110.83.160,10.110.83.199 --from-backup /mnt/tmp/flynn-restore-source --timeout 5400
+ bootstrap_output='14:18:11.215673 check online-hosts
14:18:11.218673 run-app discoverd
14:18:12.806537 run-app flannel
14:18:15.955616 wait-hosts wait-hosts
14:18:16.459306 run-app postgres
14:18:24.456907 sirenia-wait postgres-wait
14:18:27.527391 restore-postgres restore
14:43:47.600918 run-app controller
14:43:50.289289 wait-controller wait-controller
14:43:50.825011 run-app mongodb
14:44:35.159233 run-app mongodb error: bootstrap: timed out waiting for job event'
+ echo 'Bootstrap failed, collecting debugging info'

log files https://bazaarvoice.box.com/s/vq2r079sh9oefd6ko2tcgh2lt6yqtu5j

Failed 3 more times
++ flynn-host bootstrap --peer-ips=10.110.120.50,10.110.97.130,10.110.72.198 --from-backup /mnt/tmp/flynn-restore-source --timeout 5400
+ bootstrap_output='22:01:30.896028 check online-hosts
22:01:30.898723 run-app discoverd
22:01:32.350269 run-app flannel
22:01:35.431872 wait-hosts wait-hosts
22:01:35.935213 run-app postgres
22:01:46.132166 sirenia-wait postgres-wait
22:01:47.158820 restore-postgres restore
22:25:28.546423 run-app controller
22:26:39.056647 wait-controller wait-controller
22:26:42.435102 run-app mongodb
22:27:13.172151 sirenia-wait mongodb-wait
22:27:13.310698 restore-mongodb restore
2017-07-03T22:27:25.801+0000	creating intents for archive
2017-07-03T22:27:25.854+0000	restoring users from archive on stdin
2017-07-03T22:27:27.313+0000	done

22:27:27.514255 run-app blobstore
22:27:57.516986 run-app blobstore error: bootstrap: timed out waiting for job event'
+ echo 'Bootstrap failed, collecting debugging info'

logs https://bazaarvoice.box.com/s/i15aftv8kip6tetc2c4rqyxh3zhxj169

Bootstrapped a cluster from backup using https://releases.flynn.io/nightly/v20170705.0. Came up cleanly.


text:
Could not pass event PlayerInteractEvent

When I right click a random block, I get this error: https://paste.learnspigot.com/ikosejabar.rb

Are you shadowing? not a clue why it would be needed

yep, this is my build.gradle: https://paste.learnspigot.com/axagidemax.py

Fix: use 1.20 instead of 1.19 because of a new api function.

authors: Dawsson DevBlokJochem

repo: flytegg/twilight


text:
Update typing_extension Any import to typing due to typing_extension version compatibility

TL;DR
import of type Any in flytekit/core/array_node_map_task.py:9 is not supported for the typing_extensions libraries previous versions. This version range should fix it, otherwise dependency resolution might cause the following error:
import flytekit
/usr/local/lib/python3.8/dist-packages/flytekit/__init__.py:240: in <module>
    from flytekit.sensor.sensor_engine import SensorEngine
/usr/local/lib/python3.8/dist-packages/flytekit/sensor/__init__.py:1: in <module>
    from .base_sensor import BaseSensor
/usr/local/lib/python3.8/dist-packages/flytekit/sensor/base_sensor.py:12: in <module>
    from flytekit.extend.backend.base_agent import AsyncAgentExecutorMixin
/usr/local/lib/python3.8/dist-packages/flytekit/extend/__init__.py:47: in <module>
    from flytekit.tools.translator import get_serializable
/usr/local/lib/python3.8/dist-packages/flytekit/tools/translator.py:10: in <module>
    from flytekit.core.array_node_map_task import ArrayNodeMapTask
/usr/local/lib/python3.8/dist-packages/flytekit/core/array_node_map_task.py:9: in <module>
    from typing_extensions import Any
E   ImportError: cannot import name 'Any' from 'typing_extensions' (/usr/local/lib/python3.8/dist-packages/typing_extensions.py)

Type

[x] Bug Fix
[ ] Feature
[ ] Plugin

Are all requirements met?

[ ] Code completed
[ ] Smoke tested
[ ] Unit tests added
[ ] Code documentation added
[ ] Any pending items have an associated Issue

Complete description
Due to too broad version range of typing_extensions extensions, dependency resolution does not get the right version sometimes. And code base has a specific type which is introduced on version 4.4.0. So this will fix/prevent the import issue.
Tracking Issue
NA
Follow-up issue
NA

Could you update that line instead? it should be
from typing import Any

Reverted my change on version and changed that line. Thanks for the help :)
@pingsutw

Updated, thanks @pingsutw  :)

@hfurkanvural , can you confirm which versions of python you tested and typing_extensions you tested?
https://github.com/python/typing_extensions/commit/7d1aeea6b3482632b71dcabc11e021ede704bd66 is the commit where it was introduced, which indicates that it should have been enabled for all versions of typing_extensions >= 4.4.0.
I'm not sure which version on python 3.8 introduced Any though.

I use Python 3.8.8, and run into the same issue

@eapolinario I use python 3.8.10

@pingsutw since codecov is reduced with my latest change, i can not merge the PR. do you have any suggestion to fix that?
As I didnt really change anything in the code level, I can t tell why it s lower now

authors: eapolinario hfurkanvural pingsutw

repo: flyteorg/flytekit