[webview_flutter] Virtual Display mode deactivates the webview in background in Flutter 3

Steps to Reproduce

Execute flutter run on the code sample.
Allow disabling battery optimization.
open chrome://inspect from borwser and inspect the webview.
Throw the app to background.

Expected results: The weview should stay awake in chrome inspector with foreground services enabled and virtual display mode used.
Actual results: Using flutter 3 and above, the webview shows The tab is inactive on inspector if thrown to background and after around 5-7 min timers, event handlers and websocket suspends, this doesn't happen with flutter 2.10.* or lower.

Code sample

main.dart
import 'dart:io';

import 'package:flutter/material.dart';
import 'package:flutter_background/flutter_background.dart';
import 'package:webview_flutter/webview_flutter.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: const MyHomePage(),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({Key? key}) : super(key: key);

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {

  late WebViewController controller;

 @override
 void initState() {
   super.initState();
   const androidConfig = FlutterBackgroundAndroidConfig(
     notificationTitle: "flutter_background example app",
     notificationText: "Background notification for keeping the example app running in the background",
     notificationImportance: AndroidNotificationImportance.Default,
     notificationIcon: AndroidResource(name: 'background_icon', defType: 'drawable'),
   );
   FlutterBackground.initialize(androidConfig: androidConfig).then((enabled) {
     if (enabled) {
       FlutterBackground.enableBackgroundExecution();
     }
   });

   if (Platform.isAndroid) WebView.platform = AndroidWebView();

   Future.delayed(const Duration(seconds: 10), () {
     controller.runJavascript("setInterval(function() {console.log('I am alive!')}, 1000)");
   });

 }

  @override
  Widget build(BuildContext context) {

    return Scaffold(
      body: WebView(
      debuggingEnabled: true,
      javascriptMode: JavascriptMode.unrestricted,
      initialUrl: 'https://flutter.dev',
      onWebViewCreated: (controller) => this.controller = controller
    ),
    );
  }
}

pubspec.yaml
name: webview_suspention_example
description: A new Flutter project.

publish_to: 'none'

version: 1.0.0+1

environment:
  sdk: ">=2.17.0 <3.0.0"

dependencies:
  flutter:
    sdk: flutter

  flutter_background: ^1.1.0
  webview_flutter: ^3.0.4
  cupertino_icons: ^1.0.2

dev_dependencies:
  flutter_test:
    sdk: flutter
  lint: ^1.10.0

flutter:
  uses-material-design: true

Logs

[  +52 ms] executing: [G:\Flutter versions\flutter 3.0.4/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[ +114 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[   +1 ms] 85684f9300908116a78138ea4c6036c35c9a1236
[        ] executing: [G:\Flutter versions\flutter 3.0.4/] git tag --points-at 85684f9300908116a78138ea4c6036c35c9a1236
[  +39 ms] Exit code 0 from: git tag --points-at 85684f9300908116a78138ea4c6036c35c9a1236
[        ] 3.0.4
[   +7 ms] executing: [G:\Flutter versions\flutter 3.0.4/] git rev-parse --abbrev-ref --symbolic @{u}
[  +31 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/stable
[        ] executing: [G:\Flutter versions\flutter 3.0.4/] git ls-remote --get-url origin
[  +29 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[  +91 ms] executing: [G:\Flutter versions\flutter 3.0.4/] git rev-parse --abbrev-ref HEAD
[  +33 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] stable
[  +56 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +2 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +41 ms] executing: C:\Users\georg\AppData\Local\Android\sdk\platform-tools\adb.exe devices -l
[  +47 ms] List of devices attached
           b2449e6f               device product:OnePlus7T model:HD1900 device:OnePlus7T transport_id:15
[   +6 ms] C:\Users\georg\AppData\Local\Android\sdk\platform-tools\adb.exe -s b2449e6f shell getprop
[ +136 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[   +5 ms] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +95 ms] Skipping pub get: version match.
[  +20 ms] Found plugin flutter_background at G:\Flutter versions\flutter 3.0.4\.pub-cache\hosted\pub.dartlang.org\flutter_background-1.1.0\
[  +13 ms] Found plugin webview_flutter at G:\Flutter versions\flutter 3.0.4\.pub-cache\hosted\pub.dartlang.org\webview_flutter-3.0.4\
[   +1 ms] Found plugin webview_flutter_android at G:\Flutter versions\flutter 3.0.4\.pub-cache\hosted\pub.dartlang.org\webview_flutter_android-2.8.14\
[   +2 ms] Found plugin webview_flutter_wkwebview at G:\Flutter versions\flutter 3.0.4\.pub-cache\hosted\pub.dartlang.org\webview_flutter_wkwebview-2.7.5\
[  +25 ms] Found plugin flutter_background at G:\Flutter versions\flutter 3.0.4\.pub-cache\hosted\pub.dartlang.org\flutter_background-1.1.0\
[  +10 ms] Found plugin webview_flutter at G:\Flutter versions\flutter 3.0.4\.pub-cache\hosted\pub.dartlang.org\webview_flutter-3.0.4\
[   +2 ms] Found plugin webview_flutter_android at G:\Flutter versions\flutter 3.0.4\.pub-cache\hosted\pub.dartlang.org\webview_flutter_android-2.8.14\
[   +2 ms] Found plugin webview_flutter_wkwebview at G:\Flutter versions\flutter 3.0.4\.pub-cache\hosted\pub.dartlang.org\webview_flutter_wkwebview-2.7.5\
[  +10 ms] Generating C:\Users\georg\Desktop\webview_suspention_example\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java
[  +46 ms] ro.hardware = qcom
[  +32 ms] Initializing file store
[   +8 ms] Skipping target: gen_localizations
[   +3 ms] gen_dart_plugin_registrant: Starting due to {InvalidatedReasonKind.inputChanged: The following inputs have updated contents: C:\Users\georg\Desktop\webview_suspention_example\.dart_tool\package_config_subset}
[  +10 ms] Found plugin flutter_background at G:\Flutter versions\flutter 3.0.4\.pub-cache\hosted\pub.dartlang.org\flutter_background-1.1.0\
[   +8 ms] Found plugin webview_flutter at G:\Flutter versions\flutter 3.0.4\.pub-cache\hosted\pub.dartlang.org\webview_flutter-3.0.4\
[   +1 ms] Found plugin webview_flutter_android at G:\Flutter versions\flutter 3.0.4\.pub-cache\hosted\pub.dartlang.org\webview_flutter_android-2.8.14\
[   +1 ms] Found plugin webview_flutter_wkwebview at G:\Flutter versions\flutter 3.0.4\.pub-cache\hosted\pub.dartlang.org\webview_flutter_wkwebview-2.7.5\
[   +3 ms] gen_dart_plugin_registrant: Complete
[   +2 ms] _composite: Starting due to {}
[        ] _composite: Complete
[   +3 ms] complete
[   +5 ms] Launching lib\main.dart on HD1900 in debug mode...
[   +5 ms] G:\Flutter versions\flutter 3.0.4\bin\cache\dart-sdk\bin\dart.exe --disable-dart-dev G:\Flutter versions\flutter 3.0.4\bin\cache\dart-sdk\bin\snapshots\frontend_server.dart.snapshot --sdk-root G:\Flutter versions\flutter
3.0.4\bin\cache\artifacts\engine\common\flutter_patched_sdk/ --incremental --target=flutter --debugger-module-names --experimental-emit-debug-metadata -DFLUTTER_WEB_AUTO_DETECT=true --output-dill
C:\Users\georg\AppData\Local\Temp\flutter_tools.cf8d19a8\flutter_tool.6c6c53a4\app.dill --packages C:\Users\georg\Desktop\webview_suspention_example\.dart_tool\package_config.json -Ddart.vm.profile=false -Ddart.vm.product=false
--enable-asserts --track-widget-creation --filesystem-scheme org-dartlang-root --initialize-from-dill build\c075001b96339384a97db4862b8ab8db.cache.dill.track.dill --enable-experiment=alternative-invalidation-strategy
[  +12 ms] executing: C:\Users\georg\AppData\Local\Android\sdk\platform-tools\adb.exe -s b2449e6f shell -x logcat -v time -t 1
[  +13 ms] <- compile package:webview_suspention_example/main.dart
[ +273 ms] --------- beginning of main
                    08-23 21:44:01.716 E/SELinux (  670): avc:  denied  { find } for pid=4946 uid=10430 name=tethering scontext=u:r:vendor_systemhelper_app:s0:c512,c768 tcontext=u:object_r:tethering_service:s0 tclass=service_manager
                    permissive=0
[   +8 ms] executing: C:\Users\georg\AppData\Local\Android\sdk\platform-tools\adb.exe version
[  +35 ms] Android Debug Bridge version 1.0.41
           Version 33.0.1-8253317
           Installed as C:\Users\georg\AppData\Local\Android\sdk\platform-tools\adb.exe
[   +3 ms] executing: C:\Users\georg\AppData\Local\Android\sdk\platform-tools\adb.exe start-server
[  +35 ms] Building APK
[  +12 ms] Running Gradle task 'assembleDebug'...
[   +4 ms] Using gradle from C:\Users\georg\Desktop\webview_suspention_example\android\gradlew.bat.
[  +13 ms] executing: E:\Android Studio\jre\bin\java -version
[ +130 ms] Exit code 0 from: E:\Android Studio\jre\bin\java -version
[        ] openjdk version "11.0.12" 2021-07-20
           OpenJDK Runtime Environment (build 11.0.12+7-b1504.28-7817840)
           OpenJDK 64-Bit Server VM (build 11.0.12+7-b1504.28-7817840, mixed mode)
[   +1 ms] executing: E:\Android Studio\jre\bin\java -version
[ +126 ms] Exit code 0 from: E:\Android Studio\jre\bin\java -version
[        ] openjdk version "11.0.12" 2021-07-20
           OpenJDK Runtime Environment (build 11.0.12+7-b1504.28-7817840)
           OpenJDK 64-Bit Server VM (build 11.0.12+7-b1504.28-7817840, mixed mode)
[   +1 ms] executing: E:\Android Studio\jre\bin\java -version
[ +126 ms] Exit code 0 from: E:\Android Studio\jre\bin\java -version
[        ] openjdk version "11.0.12" 2021-07-20
           OpenJDK Runtime Environment (build 11.0.12+7-b1504.28-7817840)
           OpenJDK 64-Bit Server VM (build 11.0.12+7-b1504.28-7817840, mixed mode)
[   +1 ms] executing: [C:\Users\georg\Desktop\webview_suspention_example\android/] C:\Users\georg\Desktop\webview_suspention_example\android\gradlew.bat -Pverbose=true -Ptarget-platform=android-arm64
-Ptarget=C:\Users\georg\Desktop\webview_suspention_example\lib\main.dart -Pbase-application-name=android.app.Application -Pdart-defines=RkxVVFRFUl9XRUJfQVVUT19ERVRFQ1Q9dHJ1ZQ== -Pdart-obfuscation=false -Ptrack-widget-creation=true
-Ptree-shake-icons=false -Pfilesystem-scheme=org-dartlang-root assembleDebug
[ +811 ms] Welcome to Gradle 7.4!
[   +1 ms] Here are the highlights of this release:
[        ]  - Aggregated test and JaCoCo reports
[        ]  - Marking additional test source directories as tests in IntelliJ
[        ]  - Support for Adoptium JDKs in Java toolchains
[        ] For more details see https://docs.gradle.org/7.4/release-notes.html
[+1290 ms] > Task :app:preBuild UP-TO-DATE
[   +1 ms] > Task :app:preDebugBuild UP-TO-DATE
[        ] > Task :app:mergeDebugNativeDebugMetadata NO-SOURCE
[+10700 ms] > Task :app:compileFlutterBuildDebug
[   +1 ms] > Task :app:packLibsflutterBuildDebug
[        ] > Task :flutter_background:preBuild UP-TO-DATE
[        ] > Task :flutter_background:preDebugBuild UP-TO-DATE
[        ] > Task :flutter_background:compileDebugAidl NO-SOURCE
[        ] > Task :webview_flutter_android:preBuild UP-TO-DATE
[        ] > Task :webview_flutter_android:preDebugBuild UP-TO-DATE
[        ] > Task :webview_flutter_android:compileDebugAidl NO-SOURCE
[        ] > Task :app:compileDebugAidl NO-SOURCE
[        ] > Task :flutter_background:packageDebugRenderscript NO-SOURCE
[        ] > Task :webview_flutter_android:packageDebugRenderscript NO-SOURCE
[        ] > Task :app:compileDebugRenderscript NO-SOURCE
[        ] > Task :app:generateDebugBuildConfig
[        ] > Task :app:cleanMergeDebugAssets UP-TO-DATE
[        ] > Task :flutter_background:writeDebugAarMetadata
[        ] > Task :webview_flutter_android:writeDebugAarMetadata
[        ] > Task :app:mergeDebugShaders
[        ] > Task :app:compileDebugShaders NO-SOURCE
[        ] > Task :app:generateDebugAssets UP-TO-DATE
[  +89 ms] > Task :flutter_background:mergeDebugShaders
[   +1 ms] > Task :flutter_background:compileDebugShaders NO-SOURCE
[   +1 ms] > Task :flutter_background:generateDebugAssets UP-TO-DATE
[        ] > Task :flutter_background:packageDebugAssets
[        ] > Task :webview_flutter_android:mergeDebugShaders
[        ] > Task :webview_flutter_android:compileDebugShaders NO-SOURCE
[        ] > Task :webview_flutter_android:generateDebugAssets UP-TO-DATE
[        ] > Task :webview_flutter_android:packageDebugAssets
[  +92 ms] > Task :app:mergeDebugAssets
[ +207 ms] > Task :app:copyFlutterAssetsDebug
[        ] > Task :app:generateDebugResValues
[        ] > Task :app:generateDebugResources
[        ] > Task :flutter_background:compileDebugRenderscript NO-SOURCE
[        ] > Task :flutter_background:generateDebugResValues
[        ] > Task :flutter_background:generateDebugResources
[        ] > Task :flutter_background:packageDebugResources
[        ] > Task :webview_flutter_android:compileDebugRenderscript NO-SOURCE
[        ] > Task :webview_flutter_android:generateDebugResValues
[        ] > Task :webview_flutter_android:generateDebugResources
[        ] > Task :webview_flutter_android:packageDebugResources
[ +431 ms] > Task :app:createDebugCompatibleScreenManifests
[   +3 ms] > Task :app:extractDeepLinksDebug
[   +1 ms] > Task :flutter_background:extractDeepLinksDebug
[        ] > Task :webview_flutter_android:extractDeepLinksDebug
[  +46 ms] > Task :flutter_background:compileDebugLibraryResources
[   +1 ms] > Task :flutter_background:processDebugManifest
[        ] > Task :app:checkDebugAarMetadata
[        ] > Task :webview_flutter_android:compileDebugLibraryResources
[        ] > Task :webview_flutter_android:processDebugManifest
[ +106 ms] > Task :flutter_background:parseDebugLocalResources
[        ] > Task :flutter_background:generateDebugBuildConfig
[        ] > Task :webview_flutter_android:parseDebugLocalResources
[ +400 ms] > Task :app:processDebugMainManifest
[        ] > Task :app:processDebugManifest
[  +96 ms] > Task :flutter_background:javaPreCompileDebug
[   +1 ms] > Task :flutter_background:generateDebugRFile
[   +1 ms] > Task :webview_flutter_android:generateDebugBuildConfig
[        ] > Task :webview_flutter_android:javaPreCompileDebug
[        ] > Task :app:javaPreCompileDebug
[        ] > Task :webview_flutter_android:generateDebugRFile
[ +393 ms] > Task :app:mergeDebugResources
[ +400 ms] > Task :app:compressDebugAssets
[        ] Execution optimizations have been disabled for task ':app:compressDebugAssets' to ensure correctness due to the following reasons:
[        ]   - Gradle detected a problem with the following location: 'C:\Users\georg\Desktop\webview_suspention_example\build\app\intermediates\assets\debug\mergeDebugAssets'. Reason: Task ':app:compressDebugAssets' uses this
output of task ':app:copyFlutterAssetsDebug' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to
https://docs.gradle.org/7.4/userguide/validation_problems.html#implicit_dependency for more details about this problem.
[+1203 ms] > Task :flutter_background:compileDebugKotlin
[        ] w: G:\Flutter versions\flutter 3.0.4\.pub-cache\hosted\pub.dartlang.org\flutter_background-1.1.0\android\src\main\kotlin\de\julianassmann\flutter_background\FlutterBackgroundPlugin.kt: (18, 48): 'Registrar' is deprecated.
Deprecated in Java
[        ] w: G:\Flutter versions\flutter 3.0.4\.pub-cache\hosted\pub.dartlang.org\flutter_background-1.1.0\android\src\main\kotlin\de\julianassmann\flutter_background\FlutterBackgroundPlugin.kt: (28, 33): 'Registrar' is deprecated.
Deprecated in Java
[ +289 ms] > Task :flutter_background:compileDebugJavaWithJavac
[        ] > Task :flutter_background:bundleLibCompileToJarDebug
[ +902 ms] > Task :webview_flutter_android:compileDebugJavaWithJavac
[   +2 ms] Note: Some input files use or override a deprecated API.
[   +3 ms] Note: Recompile with -Xlint:deprecation for details.
[   +3 ms] > Task :app:processDebugJavaRes NO-SOURCE
[  +11 ms] > Task :flutter_background:processDebugJavaRes NO-SOURCE
[        ] > Task :webview_flutter_android:processDebugJavaRes NO-SOURCE
[        ] > Task :webview_flutter_android:bundleLibResDebug NO-SOURCE
[        ] > Task :flutter_background:bundleLibResDebug
[   +1 ms] > Task :webview_flutter_android:bundleLibCompileToJarDebug
[        ] > Task :flutter_background:bundleLibRuntimeToJarDebug
[   +5 ms] > Task :webview_flutter_android:bundleLibRuntimeToJarDebug
[ +123 ms] > Task :app:checkDebugDuplicateClasses
[  +30 ms] > Task :app:mergeDebugJniLibFolders
[   +6 ms] > Task :app:desugarDebugFileDependencies
[   +2 ms] > Task :flutter_background:mergeDebugJniLibFolders
[+2013 ms] > Task :flutter_background:mergeDebugNativeLibs NO-SOURCE
[   +3 ms] > Task :flutter_background:copyDebugJniLibsProjectOnly
[  +90 ms] > Task :webview_flutter_android:mergeDebugJniLibFolders
[   +9 ms] > Task :app:processDebugManifestForPackage
[   +7 ms] > Task :webview_flutter_android:mergeDebugNativeLibs NO-SOURCE
[   +2 ms] > Task :webview_flutter_android:copyDebugJniLibsProjectOnly
[        ] > Task :app:validateSigningDebug
[  +91 ms] > Task :app:writeDebugAppMetadata
[  +84 ms] > Task :app:writeDebugSigningConfigVersions
[        ] > Task :flutter_background:stripDebugDebugSymbols NO-SOURCE
[        ] > Task :flutter_background:copyDebugJniLibsProjectAndLocalJars
[ +605 ms] > Task :flutter_background:extractDebugAnnotations
[   +9 ms] > Task :flutter_background:mergeDebugGeneratedProguardFiles UP-TO-DATE
[  +15 ms] > Task :flutter_background:mergeDebugConsumerProguardFiles UP-TO-DATE
[        ] > Task :flutter_background:prepareDebugArtProfile UP-TO-DATE
[   +2 ms] > Task :flutter_background:prepareLintJarForPublish UP-TO-DATE
[   +3 ms] > Task :webview_flutter_android:stripDebugDebugSymbols NO-SOURCE
[        ] > Task :webview_flutter_android:copyDebugJniLibsProjectAndLocalJars
[   +1 ms] > Task :webview_flutter_android:extractDebugAnnotations
[   +2 ms] > Task :webview_flutter_android:mergeDebugGeneratedProguardFiles UP-TO-DATE
[  +74 ms] > Task :webview_flutter_android:mergeDebugConsumerProguardFiles UP-TO-DATE
[   +2 ms] > Task :webview_flutter_android:prepareDebugArtProfile UP-TO-DATE
[        ] > Task :webview_flutter_android:prepareLintJarForPublish UP-TO-DATE
[        ] > Task :flutter_background:mergeDebugJavaResource
[        ] > Task :webview_flutter_android:mergeDebugJavaResource
[  +78 ms] > Task :flutter_background:syncDebugLibJars
[  +97 ms] > Task :app:processDebugResources
[ +206 ms] > Task :app:mergeDebugNativeLibs
[   +1 ms] > Task :app:mergeExtDexDebug
[        ] > Task :flutter_background:bundleDebugAar
[+1498 ms] > Task :app:compileDebugKotlin
[ +199 ms] > Task :app:compileDebugJavaWithJavac
[ +127 ms] > Task :app:dexBuilderDebug
[ +469 ms] > Task :app:stripDebugDebugSymbols
[        ] Unable to strip the following libraries, packaging them as they are: libflutter.so.
[        ] > Task :flutter_background:assembleDebug
[ +100 ms] > Task :webview_flutter_android:syncDebugLibJars
[   +1 ms] > Task :webview_flutter_android:bundleDebugAar
[        ] > Task :webview_flutter_android:assembleDebug
[ +401 ms] > Task :app:mergeDexDebug
[ +599 ms] > Task :app:mergeDebugJavaResource
[+1801 ms] > Task :app:packageDebug
[   +1 ms] > Task :app:createDebugApkListingFileRedirect
[  +97 ms] > Task :app:assembleDebug
[   +1 ms] Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
[        ] You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
[        ] See https://docs.gradle.org/7.4/userguide/command_line_interface.html#sec:command_line_warnings
[        ] Execution optimizations have been disabled for 1 invalid unit(s) of work during this build to ensure correctness.
[        ] Please consult deprecation warnings for more details.
[        ] BUILD SUCCESSFUL in 26s
[        ] 89 actionable tasks: 80 executed, 9 up-to-date
[ +568 ms] Running Gradle task 'assembleDebug'... (completed in 27.4s)
[ +103 ms] calculateSha: LocalDirectory: 'C:\Users\georg\Desktop\webview_suspention_example\build\app\outputs\flutter-apk'/app.apk
[ +607 ms] √  Built build\app\outputs\flutter-apk\app-debug.apk.
[   +4 ms] executing: C:\Users\georg\AppData\Local\Android\sdk\build-tools\33.0.0-rc2\aapt dump xmltree C:\Users\georg\Desktop\webview_suspention_example\build\app\outputs\flutter-apk\app.apk AndroidManifest.xml
[  +31 ms] Exit code 0 from: C:\Users\georg\AppData\Local\Android\sdk\build-tools\33.0.0-rc2\aapt dump xmltree C:\Users\georg\Desktop\webview_suspention_example\build\app\outputs\flutter-apk\app.apk AndroidManifest.xml
[        ] N: android=http://schemas.android.com/apk/res/android
             E: manifest (line=2)
               A: android:versionCode(0x0101021b)=(type 0x10)0x1
               A: android:versionName(0x0101021c)="1.0.0" (Raw: "1.0.0")
               A: android:compileSdkVersion(0x01010572)=(type 0x10)0x1f
               A: android:compileSdkVersionCodename(0x01010573)="12" (Raw: "12")
               A: package="com.example.webview_suspention_example" (Raw: "com.example.webview_suspention_example")
               A: platformBuildVersionCode=(type 0x10)0x1f
               A: platformBuildVersionName=(type 0x10)0xc
               E: uses-sdk (line=7)
                 A: android:minSdkVersion(0x0101020c)=(type 0x10)0x14
                 A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1f
               E: uses-permission (line=15)
                 A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
               E: uses-permission (line=16)
                 A: android:name(0x01010003)="android.permission.WAKE_LOCK" (Raw: "android.permission.WAKE_LOCK")
               E: uses-permission (line=17)
                 A: android:name(0x01010003)="android.permission.FOREGROUND_SERVICE" (Raw: "android.permission.FOREGROUND_SERVICE")
               E: uses-permission (line=18)
                 A: android:name(0x01010003)="android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS" (Raw: "android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS")
               E: application (line=20)
                 A: android:label(0x01010001)="webview_suspention_example" (Raw: "webview_suspention_example")
                 A: android:icon(0x01010002)=@0x7f080000
                 A: android:name(0x01010003)="android.app.Application" (Raw: "android.app.Application")
                 A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff
                 A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw: "androidx.core.app.CoreComponentFactory")
                 E: activity (line=26)
                   A: android:theme(0x01010000)=@0x7f0a0000
                   A: android:name(0x01010003)="com.example.webview_suspention_example.MainActivity" (Raw: "com.example.webview_suspention_example.MainActivity")
                   A: android:exported(0x01010010)=(type 0x12)0xffffffff
                   A: android:launchMode(0x0101001d)=(type 0x10)0x1
                   A: android:configChanges(0x0101001f)=(type 0x11)0x40003fb4
                   A: android:windowSoftInputMode(0x0101022b)=(type 0x11)0x10
                   A: android:hardwareAccelerated(0x010102d3)=(type 0x12)0xffffffff
                   E: meta-data (line=41)
                     A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw: "io.flutter.embedding.android.NormalTheme")
                     A: android:resource(0x01010025)=@0x7f0a0001
                   E: intent-filter (line=45)
                     E: action (line=46)
                       A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
                     E: category (line=48)
                       A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")
                 E: meta-data (line=55)
                   A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
                   A: android:value(0x01010024)=(type 0x10)0x2
                 E: service (line=59)
                   A: android:name(0x01010003)="de.julianassmann.flutter_background.IsolateHolderService" (Raw: "de.julianassmann.flutter_background.IsolateHolderService")
                 E: uses-library (line=67)
                   A: android:name(0x01010003)="androidx.window.extensions" (Raw: "androidx.window.extensions")
                   A: android:required(0x0101028e)=(type 0x12)0x0
                 E: uses-library (line=70)
                   A: android:name(0x01010003)="androidx.window.sidecar" (Raw: "androidx.window.sidecar")
                   A: android:required(0x0101028e)=(type 0x12)0x0
[   +5 ms] Stopping app 'app.apk' on HD1900.
[        ] executing: C:\Users\georg\AppData\Local\Android\sdk\platform-tools\adb.exe -s b2449e6f shell am force-stop com.example.webview_suspention_example
[  +78 ms] executing: C:\Users\georg\AppData\Local\Android\sdk\platform-tools\adb.exe -s b2449e6f shell pm list packages com.example.webview_suspention_example
[  +82 ms] package:com.example.webview_suspention_example
[   +3 ms] executing: C:\Users\georg\AppData\Local\Android\sdk\platform-tools\adb.exe -s b2449e6f shell cat /data/local/tmp/sky.com.example.webview_suspention_example.sha1
[  +53 ms] 9897777b573090d227cd2825e81e6b56c6986d45
[   +1 ms] Installing APK.
[   +1 ms] Installing build\app\outputs\flutter-apk\app.apk...
[        ] executing: C:\Users\georg\AppData\Local\Android\sdk\platform-tools\adb.exe -s b2449e6f install -t -r C:\Users\georg\Desktop\webview_suspention_example\build\app\outputs\flutter-apk\app.apk
[+3521 ms] Performing Streamed Install
                    Success
[   +1 ms] Installing build\app\outputs\flutter-apk\app.apk... (completed in 3.5s)
[   +1 ms] executing: C:\Users\georg\AppData\Local\Android\sdk\platform-tools\adb.exe -s b2449e6f shell echo -n c8fdabe773db315bfb8af83b9c35ebe704c9b098 > /data/local/tmp/sky.com.example.webview_suspention_example.sha1
[  +60 ms] executing: C:\Users\georg\AppData\Local\Android\sdk\platform-tools\adb.exe -s b2449e6f shell -x logcat -v time -t 1
[ +149 ms] --------- beginning of main
                    08-23 21:44:34.782 D/Zygote  (  890): Forked child process 26772
[   +5 ms] executing: C:\Users\georg\AppData\Local\Android\sdk\platform-tools\adb.exe -s b2449e6f shell am start -a android.intent.action.RUN -f 0x20000000 --ez enable-dart-profiling true --ez enable-checked-mode true --ez
verify-entry-points true com.example.webview_suspention_example/com.example.webview_suspention_example.MainActivity
[ +182 ms] Starting: Intent { act=android.intent.action.RUN flg=0x20000000 cmp=com.example.webview_suspention_example/.MainActivity (has extras) }
[   +1 ms] Waiting for observatory port to be available...
[ +872 ms] Observatory URL on device: http://<IP_ADDRESS>:37825/BY7q5bDtWR4=/
[   +2 ms] executing: C:\Users\georg\AppData\Local\Android\sdk\platform-tools\adb.exe -s b2449e6f forward tcp:0 tcp:37825
[  +26 ms] 63939
[        ] Forwarded host port 63939 to device port 37825 for Observatory
[   +4 ms] Caching compiled dill
[  +33 ms] Connecting to service protocol: http://<IP_ADDRESS>:63939/BY7q5bDtWR4=/
[ +176 ms] Launching a Dart Developer Service (DDS) instance at http://<IP_ADDRESS>:0, connecting to VM service at http://<IP_ADDRESS>:63939/BY7q5bDtWR4=/.
[ +142 ms] DDS is listening at http://<IP_ADDRESS>:63942/dk1aU-NCUuI=/.
[  +51 ms] Successfully connected to service protocol: http://<IP_ADDRESS>:63939/BY7q5bDtWR4=/
[  +63 ms] DevFS: Creating new filesystem on the device (null)
[  +22 ms] DevFS: Created new filesystem on the device (file:///data/user/0/com.example.webview_suspention_example/code_cache/webview_suspention_exampleIPKQNZ/webview_suspention_example/)
[   +2 ms] Updating assets
[  +87 ms] Syncing files to device HD1900...
[   +2 ms] <- reset
[        ] Compiling dart to kernel with 0 updated files
[        ] Processing bundle.
[   +1 ms] <- recompile package:webview_suspention_example/main.dart c0b3dbc5-c31e-4255-a785-93a901fa188b
[   +1 ms] <- c0b3dbc5-c31e-4255-a785-93a901fa188b
[   +2 ms] Bundle processing done.
[ +102 ms] Updating files.
[        ] DevFS: Sync finished
[   +1 ms] Syncing files to device HD1900... (completed in 111ms)
[        ] Synced 0.0MB.
[   +2 ms] <- accept
[   +4 ms] Connected to _flutterView/0xb400007a2a875920.
[   +2 ms] Flutter run key commands.
[   +1 ms] r Hot reload.
[        ] R Hot restart.
[        ] h List all available interactive commands.
[        ] d Detach (terminate "flutter run" but leave application running).
[        ] c Clear the screen
[        ] q Quit (terminate the application on the device).
[        ]  Running with sound null safety
[        ] An Observatory debugger and profiler on HD1900 is available at: http://<IP_ADDRESS>:63942/dk1aU-NCUuI=/
[  +76 ms] I/WebViewFactory(10146): Loading com.google.android.webview version 104.0.5112.97 (code 511209734)
[   +7 ms] W/pention_exampl(10146): Accessing hidden method Landroid/os/Trace;->isTagEnabled(J)Z (greylist, reflection, allowed)
[        ] W/pention_exampl(10146): Accessing hidden method Landroid/os/Trace;->traceBegin(JLjava/lang/String;)V (greylist, reflection, allowed)
[        ] W/pention_exampl(10146): Accessing hidden method Landroid/os/Trace;->traceEnd(J)V (greylist, reflection, allowed)
[        ] W/pention_exampl(10146): Accessing hidden method Landroid/os/Trace;->asyncTraceBegin(JLjava/lang/String;I)V (greylist, reflection, allowed)
[        ] W/pention_exampl(10146): Accessing hidden method Landroid/os/Trace;->asyncTraceEnd(JLjava/lang/String;I)V (greylist, reflection, allowed)
[        ] I/cr_WVCFactoryProvider(10146): Loaded version=104.0.5112.97 minSdkVersion=29 isBundle=true multiprocess=true packageId=2
[  +10 ms] I/cr_LibraryLoader(10146): Successfully loaded native library
[        ] I/cr_CachingUmaRecorder(10146): Flushed 9 samples from 9 histograms.
[  +30 ms] I/TetheringManager(10146): registerTetheringEventCallback:com.example.webview_suspention_example
[  +17 ms] W/chromium(10146): [WARNING:dns_config_service_android.cc(115)] Failed to read DnsConfig.
[  +55 ms] W/pention_exampl(10146): Accessing hidden method Landroid/media/AudioManager;->getOutputLatency(I)I (greylist, reflection, allowed)
[   +9 ms] W/cr_media(10146): Requires BLUETOOTH permission
[  +87 ms] E/FrameEvents(10146): updateAcquireFence: Did not find frame.
[  +90 ms] E/SensorManager(10146): registerListenerImpl sensorName:Game Rotation Vector  Non-wakeup,isWakeUpSensor:false,callingApp: com.example.webview_suspention_example,callingPid:10146,callingUid:10745
[  +76 ms] The Flutter DevTools debugger and profiler on HD1900 is available at: http://<IP_ADDRESS>:9101?uri=http://<IP_ADDRESS>:63942/dk1aU-NCUuI=/
[  +72 ms] E/SensorManager(10146): unregisterListenerImpl sensorName:Game Rotation Vector  Non-wakeup,isWakeUpSensor:false,callingApp: com.example.webview_suspention_example,callingPid:10146,callingUid:10745
[  +21 ms] D/OpScreenModeManager(10146): setRefreshRate parent io.flutter.embedding.android.FlutterView{d28756b VFE...... ........ 0,0-1080,2400 #1} parent width 1080 parent height 2400 mRatio 1.2
[        ] D/OpScreenModeManager(10146): setRefreshRate view io.flutter.embedding.android.FlutterSurfaceView{58a32ba V.E...... ........ 0,0-1080,2400} viewRate 1 width 1080 height 2400
[  +18 ms] E/FrameEvents(10146): updateAcquireFence: Did not find frame.
[  +20 ms] E/FrameEvents(10146): updateAcquireFence: Did not find frame.
[   +4 ms] D/DecorView(10146): onWindowFocusChangedFromViewRoot hasFocus: true, DecorView@8f1dacf[MainActivity]
[   +5 ms] D/ViewRootImpl[MainActivity](10146): windowFocusChanged hasFocus=true inTouchMode=true
[ +610 ms] E/FrameEvents(10146): updateAcquireFence: Did not find frame.
[  +44 ms] W/VideoCapabilities(10146): Unsupported mime image/vnd.android.heic
[   +5 ms] W/VideoCapabilities(10146): Unrecognized profile/level 0/3 for video/mpeg2
[   +6 ms] W/VideoCapabilities(10146): Unrecognized profile/level 0/3 for video/mpeg2
[        ] W/VideoCapabilities(10146): Unsupported mime video/x-ms-wmv
[  +20 ms] I/cr_MediaCodecBridge(10146): create MediaCodec video decoder, mime video/avc
[   +4 ms] E/VndOpFeature(10146): already initialized @0x7beb3f8000:0x7bec1faaf8
[   +2 ms] I/OMXClient(10146): IOmx service obtained
[  +21 ms] I/MediaCodec(10146): MediaCodec will operate in async mode
[   +5 ms] E/FrameEvents(10146): updateAcquireFence: Did not find frame.
[   +3 ms] D/SurfaceUtils(10146): connecting to surface 0xb400007a7a95b380, reason connectToSurface
[   +1 ms] I/MediaCodec(10146): [OMX.qcom.video.decoder.avc] setting surface generation to 10389505
[        ] D/SurfaceUtils(10146): disconnecting from surface 0xb400007a7a95b380, reason connectToSurface(reconnect)
[        ] D/SurfaceUtils(10146): connecting to surface 0xb400007a7a95b380, reason connectToSurface(reconnect)
[        ] I/ExtendedACodec(10146): setupVideoDecoder()
[  +14 ms] I/ExtendedACodec(10146): Decoder will be in frame by frame mode
[  +50 ms] D/SurfaceUtils(10146): set up nativeWindow 0xb400007a7a95b380 for 1632x1080, color 0x7fa30c06, rotation 0, usage 0x20002900
[   +3 ms] E/ExtendedACodec(10146): setParameter for extradata port definition is failed
[   +1 ms] I/cr_MediaCodecBridge(10146): create MediaCodec video decoder, mime video/avc
[   +3 ms] I/OMXClient(10146): IOmx service obtained
[  +14 ms] I/MediaCodec(10146): MediaCodec will operate in async mode
[        ] D/SurfaceUtils(10146): connecting to surface 0xb400007a7a956f60, reason connectToSurface
[        ] I/MediaCodec(10146): [OMX.qcom.video.decoder.avc] setting surface generation to 10389506
[        ] D/SurfaceUtils(10146): disconnecting from surface 0xb400007a7a956f60, reason connectToSurface(reconnect)
[        ] D/SurfaceUtils(10146): connecting to surface 0xb400007a7a956f60, reason connectToSurface(reconnect)
[        ] I/ExtendedACodec(10146): setupVideoDecoder()
[  +13 ms] I/ExtendedACodec(10146): Decoder will be in frame by frame mode
[  +20 ms] E/FrameEvents(10146): updateAcquireFence: Did not find frame.
[  +18 ms] E/FrameEvents(10146): updateAcquireFence: Did not find frame.
[  +28 ms] E/FrameEvents(10146): updateAcquireFence: Did not find frame.
[  +20 ms] D/SurfaceUtils(10146): set up nativeWindow 0xb400007a7a95b380 for 1632x1088, color 0x7fa30c06, rotation 0, usage 0x20002900
[   +9 ms] E/FrameEvents(10146): updateAcquireFence: Did not find frame.
[   +5 ms] E/FrameEvents(10146): updateAcquireFence: Did not find frame.
[  +19 ms] E/FrameEvents(10146): updateAcquireFence: Did not find frame.
[  +13 ms] E/FrameEvents(10146): updateAcquireFence: Did not find frame.
[        ] D/SurfaceUtils(10146): set up nativeWindow 0xb400007a7a956f60 for 1632x1080, color 0x7fa30c06, rotation 0, usage 0x20002900
[   +8 ms] E/ExtendedACodec(10146): setParameter for extradata port definition is failed
[   +3 ms] E/FrameEvents(10146): updateAcquireFence: Did not find frame.
[   +3 ms] D/NdkImageReader(10146): acquireImageLocked: Overriding buffer format YUV_420_888 to 0x7fa30c06.
[   +9 ms] E/FrameEvents(10146): updateAcquireFence: Did not find frame.
[  +18 ms] E/FrameEvents(10146): updateAcquireFence: Did not find frame.
[   +5 ms] D/SurfaceUtils(10146): set up nativeWindow 0xb400007a7a956f60 for 1632x1088, color 0x7fa30c06, rotation 0, usage 0x20002900
[   +8 ms] E/FrameEvents(10146): updateAcquireFence: Did not find frame.
[  +32 ms] E/FrameEvents(10146): updateAcquireFence: Did not find frame.
[  +22 ms] E/FrameEvents(10146): updateAcquireFence: Did not find frame.
[   +1 ms] D/NdkImageReader(10146): acquireImageLocked: Overriding buffer format YUV_420_888 to 0x7fa30c06.
[   +3 ms] E/FrameEvents(10146): updateAcquireFence: Did not find frame.
[  +33 ms] I/chatty  (10146): uid=10745(com.example.webview_suspention_example) RenderThread identical 1 line
[   +1 ms] E/FrameEvents(10146): updateAcquireFence: Did not find frame.
[   +5 ms] E/FrameEvents(10146): updateAcquireFence: Did not find frame.
[ +194 ms] I/chatty  (10146): uid=10745(com.example.webview_suspention_example) RenderThread identical 9 lines
[   +2 ms] E/FrameEvents(10146): updateAcquireFence: Did not find frame.
[   +5 ms] E/FrameEvents(10146): updateAcquireFence: Did not find frame.
[  +23 ms] E/FrameEvents(10146): updateAcquireFence: Did not find frame.
[ +145 ms] I/cr_MediaCodecBridge(10146): create MediaCodec video decoder, mime video/avc
[   +4 ms] I/OMXClient(10146): IOmx service obtained
[  +15 ms] I/MediaCodec(10146): MediaCodec will operate in async mode
[        ] D/SurfaceUtils(10146): connecting to surface 0xb400007a7a96e610, reason connectToSurface
[   +1 ms] I/MediaCodec(10146): [OMX.qcom.video.decoder.avc] setting surface generation to 10389507
[        ] D/SurfaceUtils(10146): disconnecting from surface 0xb400007a7a96e610, reason connectToSurface(reconnect)
[        ] D/SurfaceUtils(10146): connecting to surface 0xb400007a7a96e610, reason connectToSurface(reconnect)
[        ] I/ExtendedACodec(10146): setupVideoDecoder()
[  +13 ms] I/ExtendedACodec(10146): Decoder will be in frame by frame mode
[ +102 ms] D/SurfaceUtils(10146): set up nativeWindow 0xb400007a7a96e610 for 1632x1080, color 0x7fa30c06, rotation 0, usage 0x20002900
[   +3 ms] E/ExtendedACodec(10146): setParameter for extradata port definition is failed
[  +41 ms] D/SurfaceUtils(10146): set up nativeWindow 0xb400007a7a96e610 for 1632x1088, color 0x7fa30c06, rotation 0, usage 0x20002900
[  +30 ms] D/NdkImageReader(10146): acquireImageLocked: Overriding buffer format YUV_420_888 to 0x7fa30c06.
[+2474 ms] E/FrameEvents(10146): updateAcquireFence: Did not find frame.
[  +31 ms] E/FrameEvents(10146): updateAcquireFence: Did not find frame.
[   +1 ms] E/FrameEvents(10146): updateAcquireFence: Did not find frame.
[  +14 ms] E/FrameEvents(10146): updateAcquireFence: Did not find frame.
[  +18 ms] E/FrameEvents(10146): updateAcquireFence: Did not find frame.
[  +81 ms] I/chatty  (10146): uid=10745(com.example.webview_suspention_example) RenderThread identical 3 lines
[   +1 ms] E/FrameEvents(10146): updateAcquireFence: Did not find frame.
[   +1 ms] E/FrameEvents(10146): updateAcquireFence: Did not find frame.
[  +23 ms] E/FrameEvents(10146): updateAcquireFence: Did not find frame.
[ +174 ms] I/chatty  (10146): uid=10745(com.example.webview_suspention_example) RenderThread identical 9 lines
[   +2 ms] E/FrameEvents(10146): updateAcquireFence: Did not find frame.
[   +1 ms] E/FrameEvents(10146): updateAcquireFence: Did not find frame.
[  +60 ms] I/chatty  (10146): uid=10745(com.example.webview_suspention_example) RenderThread identical 2 lines
[   +1 ms] E/FrameEvents(10146): updateAcquireFence: Did not find frame.
[   +4 ms] E/FrameEvents(10146): updateAcquireFence: Did not find frame.
[ +136 ms] I/chatty  (10146): uid=10745(com.example.webview_suspention_example) RenderThread identical 2 lines
[   +3 ms] E/FrameEvents(10146): updateAcquireFence: Did not find frame.
[   +4 ms] E/FrameEvents(10146): updateAcquireFence: Did not find frame.
[ +187 ms] I/chatty  (10146): uid=10745(com.example.webview_suspention_example) RenderThread identical 10 lines
[   +1 ms] E/FrameEvents(10146): updateAcquireFence: Did not find frame.
[   +4 ms] E/FrameEvents(10146): updateAcquireFence: Did not find frame.
[ +195 ms] I/chatty  (10146): uid=10745(com.example.webview_suspention_example) RenderThread identical 10 lines
[   +1 ms] E/FrameEvents(10146): updateAcquireFence: Did not find frame.
[   +6 ms] E/FrameEvents(10146): updateAcquireFence: Did not find frame.
[ +191 ms] I/chatty  (10146): uid=10745(com.example.webview_suspention_example) RenderThread identical 10 lines
[   +2 ms] E/FrameEvents(10146): updateAcquireFence: Did not find frame.
[   +8 ms] E/FrameEvents(10146): updateAcquireFence: Did not find frame.
[ +189 ms] I/chatty  (10146): uid=10745(com.example.webview_suspention_example) RenderThread identical 10 lines
[   +2 ms] E/FrameEvents(10146): updateAcquireFence: Did not find frame.
[   +8 ms] E/FrameEvents(10146): updateAcquireFence: Did not find frame.
[ +189 ms] I/chatty  (10146): uid=10745(com.example.webview_suspention_example) RenderThread identical 10 lines
[   +1 ms] E/FrameEvents(10146): updateAcquireFence: Did not find frame.
[  +11 ms] E/FrameEvents(10146): updateAcquireFence: Did not find frame.
[ +187 ms] I/chatty  (10146): uid=10745(com.example.webview_suspention_example) RenderThread identical 10 lines
[        ] E/FrameEvents(10146): updateAcquireFence: Did not find frame.
[  +36 ms] E/FrameEvents(10146): updateAcquireFence: Did not find frame.
[ +107 ms] I/chatty  (10146): uid=10745(com.example.webview_suspention_example) RenderThread identical 6 lines
[   +1 ms] E/FrameEvents(10146): updateAcquireFence: Did not find frame.
[   +4 ms] E/FrameEvents(10146): updateAcquireFence: Did not find frame.
[  +49 ms] E/FrameEvents(10146): updateAcquireFence: Did not find frame.
[+4245 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+1000 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+1000 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[ +999 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[ +999 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+1000 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+1000 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[ +343 ms] W/cr_MediaCodecBridge(10146): Releasing: OMX.qcom.video.decoder.avc
[        ] D/SurfaceUtils(10146): connecting to surface 0xb400007a7a987ed0, reason connectToSurface
[        ] I/MediaCodec(10146): [OMX.qcom.video.decoder.avc] setting surface generation to 10389508
[        ] D/SurfaceUtils(10146): disconnecting from surface 0xb400007a7a987ed0, reason connectToSurface(reconnect)
[        ] D/SurfaceUtils(10146): connecting to surface 0xb400007a7a987ed0, reason connectToSurface(reconnect)
[   +3 ms] D/SurfaceUtils(10146): set up nativeWindow 0xb400007a7a987ed0 for 1632x1088, color 0x7fa30c06, rotation 0, usage 0x20002900
[        ] D/SurfaceUtils(10146): disconnecting from surface 0xb400007a7a95b380, reason disconnectFromSurface
[        ] W/cr_MediaCodecBridge(10146): Codec released
[   +5 ms] W/cr_MediaCodecBridge(10146): Releasing: OMX.qcom.video.decoder.avc
[        ] D/SurfaceUtils(10146): connecting to surface 0xb400007a7a985cc0, reason connectToSurface
[        ] I/MediaCodec(10146): [OMX.qcom.video.decoder.avc] setting surface generation to 10389509
[        ] D/SurfaceUtils(10146): disconnecting from surface 0xb400007a7a985cc0, reason connectToSurface(reconnect)
[        ] D/SurfaceUtils(10146): connecting to surface 0xb400007a7a985cc0, reason connectToSurface(reconnect)
[   +2 ms] D/SurfaceUtils(10146): set up nativeWindow 0xb400007a7a985cc0 for 1632x1088, color 0x7fa30c06, rotation 0, usage 0x20002900
[   +1 ms] D/SurfaceUtils(10146): disconnecting from surface 0xb400007a7a956f60, reason disconnectFromSurface
[        ] W/cr_MediaCodecBridge(10146): Codec released
[        ] W/cr_MediaCodecBridge(10146): Releasing: OMX.qcom.video.decoder.avc
[        ] D/SurfaceUtils(10146): connecting to surface 0xb400007a7a97d480, reason connectToSurface
[        ] I/MediaCodec(10146): [OMX.qcom.video.decoder.avc] setting surface generation to 10389510
[        ] D/SurfaceUtils(10146): disconnecting from surface 0xb400007a7a97d480, reason connectToSurface(reconnect)
[        ] D/SurfaceUtils(10146): connecting to surface 0xb400007a7a97d480, reason connectToSurface(reconnect)
[        ] D/SurfaceUtils(10146): set up nativeWindow 0xb400007a7a97d480 for 1632x1088, color 0x7fa30c06, rotation 0, usage 0x20002900
[        ] D/SurfaceUtils(10146): disconnecting from surface 0xb400007a7a96e610, reason disconnectFromSurface
[        ] W/cr_MediaCodecBridge(10146): Codec released
[  +11 ms] D/SurfaceUtils(10146): disconnecting from surface 0xb400007a7a987ed0, reason disconnectFromSurface
[   +9 ms] D/SurfaceUtils(10146): disconnecting from surface 0xb400007a7a97d480, reason disconnectFromSurface
[  +11 ms] D/SurfaceUtils(10146): disconnecting from surface 0xb400007a7a985cc0, reason disconnectFromSurface
[ +598 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+1002 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[ +997 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[ +181 ms] E/FrameEvents(10146): updateAcquireFence: Did not find frame.
[ +817 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+1000 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[  +78 ms] D/ViewRootImpl[MainActivity](10146): windowFocusChanged hasFocus=false inTouchMode=true
[+1917 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+1972 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+1998 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+1769 ms] I/flutter (23399): STARTING WIDGET UPDATE
[ +231 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+2000 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+2000 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+2002 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+1999 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+1998 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+1998 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+1999 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+2005 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+1997 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+2000 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+2000 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+1999 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+1999 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+1999 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+1999 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+1996 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+2004 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+1999 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+2000 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+1998 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+1999 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+2003 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+1994 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+2002 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+2000 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+2000 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+1999 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+1997 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+2002 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+2001 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+1996 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+2001 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+2001 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+1997 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+1999 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+2003 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+1998 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+2000 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+1999 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+2000 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+1999 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+1998 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+2000 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+2000 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+1995 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+2005 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+1996 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+2002 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+1996 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+1999 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+2002 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+2001 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+1999 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+1999 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+2000 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+2000 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+2000 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+1999 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+1998 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+2000 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+2000 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+1999 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+2000 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+2001 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+2000 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+1996 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+2001 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+1995 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+2005 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+1996 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+2002 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+2000 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+1996 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+2004 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+2000 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+1997 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+2002 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+2000 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+1999 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+2000 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+2000 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+1995 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+2000 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+2001 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+2000 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+2000 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+2000 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+1996 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+2001 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+1999 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+2001 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+2001 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+2000 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+1998 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+2001 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+1997 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+2001 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+2000 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+1999 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+2000 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+2000 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+2000 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+2000 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+1999 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+2000 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+1998 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+2000 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+2002 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+1995 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+2002 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+1995 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+2001 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+1998 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+2000 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+2000 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+1998 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+2000 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+1999 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+2001 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+1999 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+1999 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+2000 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+2000 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+1998 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+2000 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+2003 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+1996 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+1999 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+1999 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+2000 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+2000 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+1997 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+2000 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+2001 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+1999 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+2000 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+2000 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+1998 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+2001 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+2000 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+1999 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+1999 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+2000 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+1999 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+1997 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+2001 ms] I/chromium(10146): [INFO:CONSOLE(1)] "I am alive", source:  (1)
[+608255 ms] I/flutter (23399): STARTING WIDGET UPDATE

Running "flutter pub get" in webview_suspention_example...         460ms
Analyzing webview_suspention_example...
No issues found! (ran in 1.5s)

[√] Flutter (Channel stable, 3.0.4, on Microsoft Windows [Version 10.0.22000.856], locale en-US)
    • Flutter version 3.0.4 at G:\Flutter versions\flutter 3.0.4
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 85684f9300 (8 weeks ago), 2022-06-30 13:22:47 -0700
    • Engine revision 6ba2af10bb
    • Dart version 2.17.5
    • DevTools version 2.12.2

Checking Android licenses is taking an unexpectedly long time...[√] Android toolchain - develop for Android devices (Android SDK version 33.0.0-rc2)
    • Android SDK at C:\Users\georg\AppData\Local\Android\sdk
    • Platform android-33, build-tools 33.0.0-rc2
    • Java binary at: E:\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.12+7-b1504.28-7817840)
    • 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 Build Tools 2019 16.11.9)
    • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools
    • Visual Studio Build Tools 2019 version 16.11.32106.194
    X The current Visual Studio installation is incomplete. Please reinstall Visual Studio.

[√] Android Studio (version 2021.2)
    • Android Studio at E:\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.12+7-b1504.28-7817840)

[√] IntelliJ IDEA Ultimate Edition (version 2021.2)
    • IntelliJ at E:\IntelliJ IDEA 2021.2.2
    • 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.2)
    • IntelliJ at C:\Users\georg\AppData\Local\JetBrains\Toolbox\apps\IDEA-U\ch-0\222.3345.118
    • 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

[√] Connected device (4 available)
    • HD1900 (mobile)   • b2449e6f • android-arm64  • Android 11 (API 30)
    • Windows (desktop) • windows  • windows-x64    • Microsoft Windows [Version 10.0.22000.856]
    • Chrome (web)      • chrome   • web-javascript • Google Chrome 104.0.5112.101
    • Edge (web)        • edge     • web-javascript • Microsoft Edge 104.0.1293.63

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

! Doctor found issues in 1 category.

<!--
      Consider also attaching screenshots and/or videos to better
      illustrate the issue.
<pre>  You can upload them directly on GitHub.
  Beware that video file size is limited to 10MB.

-->

The weview should stay awake in chrome inspector with foreground services enabled

Why would this be the expected behavior when the app is backgrounded? It sounds like the 2.x behavior was buggy from this description.

Hi @GeorgeAmgad
I can reproduce this issue on the latest stable and master channels. And the issue still occurs even without using flutter_background plugins.

Demo

stable (3.0.5) / master (3.1.0-0.0.pre.2440)
2.10.5

flutter doctor -v
[✓] Flutter (Channel stable, 3.0.5, on macOS 12.2.1 21D62 darwin-x64, locale en-VN)
    • Flutter version 3.0.5 at /Users/huynq/Documents/GitHub/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision f1875d570e (9 hours 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 31.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-33, build-tools 31.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.3)
    • 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.2)
    • 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.12+0-b1504.28-7817840)

[✓] IntelliJ IDEA Community Edition (version 2020.3.3)
    • IntelliJ at /Applications/IntelliJ IDEA CE.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 Community Edition (version 2022.1.1)
    • IntelliJ at /Users/huynq/Library/Application Support/JetBrains/Toolbox/apps/IDEA-C/ch-0/221.5591.52/IntelliJ IDEA CE.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.69.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.44.0

[✓] Connected device (3 available)
    • SM T225 (mobile) • R9JT3004VRJ • android-arm64  • Android 11 (API 30)
    • macOS (desktop)  • macos       • darwin-x64     • macOS 12.2.1 21D62 darwin-x64
    • Chrome (web)     • chrome      • web-javascript • Google Chrome 103.0.5060.114

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

• No issues found!

[✓] Flutter (Channel master, 3.1.0-0.0.pre.2440, on macOS 12.5 21G72 darwin-x64, locale en-EE)
    • Flutter version 3.1.0-0.0.pre.2440 on channel master at /Users/huynq/Documents/GitHub/flutter_master
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision b5c2ef81b6 (44 minutes ago), 2022-08-23 21:57:31 -0400
    • Engine revision de4ef8c6f3
    • Dart version 2.19.0 (build 2.19.0-130.0.dev)
    • DevTools version 2.16.0

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-33, build-tools 31.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

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

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

[✓] Android Studio (version 2021.2)
    • 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.12+0-b1504.28-7817840)

[✓] IntelliJ IDEA Community Edition (version 2020.3.3)
    • IntelliJ at /Applications/IntelliJ IDEA CE.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 Community Edition (version 2022.1.1)
    • IntelliJ at /Users/huynq/Library/Application Support/JetBrains/Toolbox/apps/IDEA-C/ch-0/221.5591.52/IntelliJ IDEA CE.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.70.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.46.0

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • macOS 12.5 21G72 darwin-x64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 104.0.5112.101

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

• No issues found!

Keeping this open for further opinions from the team.

@stuartmorgan I suppose it should not be deactivated because we are using flutter_background plugin which keeps the flutter application active, so should the webview still be active as well.
We need the webview active because it has a websocket open with the server with a hearbeat mechanism and other commands that keep the flow working.

I suppose it should not be deactivated because we are using flutter_background plugin which keeps the flutter application active

The plugin describes it as "A plugin to keep flutter apps running in the background". The thing that you said isn't working is "foreground services"; something that is running in the background isn't in the foreground.

so should the webview still be active as well.

Does webview work the way you want it to in a non-Flutter app? It seems unlikely from the description here.

We need the webview active because it has a websocket open with the server with a hearbeat mechanism and other commands that keep the flow working.

It is likely that the only reason this ever worked the way you wanted it to was a side-effect of the way Virtual Display-based platform views worked; it was not intended as a feature. If you have a specific need to have a webview that believes it is in the foreground even when it isn't, you may need to write a custom plugin.


Implement flake8-mock-spec's rules

I want to enforce the use of the autospec argument on Python's unittest mocks in my team's codebase and so after a quick googling I found https://pypi.org/project/flake8-mock-spec/. Specifically, the rule TMS021 is what we need.
It would be really good to give support for that plugin, as we are actively migrating to Ruff.
I would be glad to help myself in the implementation but I have absolutely no knowledge of Rust. I'm happy to help in any other way.

I can implement this.

I'd love so see this get implemented!


Turn off statsbeat when 400 is returned

will add test later after https://github.com/Azure/azure-sdk-for-java/pull/37032 is merged.

API change check
API changes are not detected in this pull request.


[site] Add a share button in the REPL page controls

Describe the problem
REPL is an awesome tool to help people learn Svelte. A good example for that is StackOverflow where I add a REPL to almost all my svelte related answers/questions. The problem is that there is no 'common' way to share the REPL link other than the link itself so you will see in many answers stuff like:

Have a look at the REPL
Here is an example: https://svelte.dev/repl/hello-world?version=3.42.2
...

It is therefore more or less difficult to find the final example quickly in the text where other platforms such as codesandbox  provides a button that is markdown/html that you can easily copy/paste like:
[![Edit cranky-boyd-3qqnq](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/cranky-boyd-3qqnq?fontsize=14&hidenavigation=1&theme=dark)

Describe the proposed solution
Would be nice in the REPL's AppControls to add a share button that will open a panel that proposes you to copy the REPL link or the markdown/html button code like:

TODOS:

create button svg
host static svg on the svelte site
add control button to open panel that includes:

a button to copy the URL
2 textareas that contains the html/markdown of the button and a preview of it

This isn't a lot of work and I would be glad to help the svelte ecosystem that I enjoy so much. I can take care of this one if everyone agree 😄
Alternatives considered
n/a
Importance
would make my life easier

closing since the corresponding PR was closed. we have a couple of issues for embeds already


Revert "Update Dask & Distributed version to 2023.9.1"

Reverts CoffeaTeam/docker-coffea-dask#135
CI is broken with this PR, I will recheck manually and revert back.

Looks like we're pinning python to version 3.8 in the coffea-base image, and need to update it. I would suggest we go to 3.10 personally, but would be interested in other opinions

3.10 would be a good change.


[2.5-stable] Give simple color override instructions

Additionally, encourage the use of the forward-compatible minima/custom-styles name for any changes beyond SCSS variables.
Context
See also https://github.com/jekyll/jekyll/pull/8642, which will link to the 2.5-stable branch until the new version is promoted to stable.

cannot load such file -- kramdown-parser-gfm

Looks like solidly not my fault.

What is about this change?

I had big problem with brand-color override using GitHub Pages, and could do it only after reading readme from this abandoned PL 💔


Issue with permissions needs to be communicated

I have been struggling for weeks, trying to figure out why users of my Metrics scorecard could not save new check-ins.  Microsoft support haven't been able to help, and I could find nothing online.  The answer is buried in this page - metric-level permissions currently aren't working (although they used to work perfectly).
It would have been so useful if you could have passed this on via your Power BI blog, or a support document, a "known issues" page, or something!
I am finding it very hard to find any help in relation to Power BI Metrics online - searches, even the suggested documentation from support, always refer to usage metrics instead.
Thanks for your time.
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: d4e10c5f-20a6-7f7b-8d1b-a5a5a9cb8a98
Version Independent ID: 938f0c5e-9584-de7a-c564-f4788e7b5b34
Content: Get started with metrics in Power BI - Power BI
Content Source: powerbi-docs/create-reports/service-goals-introduction.md
Service: powerbi
Sub-service: pbi-reports-dashboards
GitHub Login: @maggiesMSFT
Microsoft Alias: maggies

Hi @AndreaWestacott, I'm moving this issue to our work item backlog for better consideration and tracking, and closing it here in the meantime. Thanks for providing your feedback!


EarlyFragmentTests

Hello Sascha,
i am working on a rendering engine with vulkan and i have a really silly question :D
So far so good i can render unlimited objects with textures and lighting also works (forward rendering with blending pipelines).
But i need the Depth-Test to be calculated before the fragment shader executes and i dont know how i can specify this in the shader. I dont understand what the Vulkan Documentation means:
An explicit control is provided to allow fragment shaders to enable early fragment tests. If the fragment shader specifies the EarlyFragmentTests OpExecutionMode, the per-fragment tests described in Early Fragment Test Mode are performed prior to fragment shader execution. Otherwise, they are performed after fragment shader execution.
So how i specify "EarlyFragmentTests OpExecutionMode"? Thanks in advance :) (and thanks for your awesome code samples!)

I haven't yet used early fragment tests in Vulkan, but they should be enabled the same way as with OpenGL (see here).
The "OpExecutionMode" refers to SPIR-V. To enable this, put this in your GLSL shader:
layout(early_fragment_tests) in;
This will enable the SPIR-V exection mode:

okay thanks i didnt know where to ask such questions. :)


Problem Building under Windows 10

Issue template

Hardware description: Arduino zero
Version or commit hash: Galaxy

Steps to reproduce the issue
building works under linux, but build on windows fails during build of micro-ROS dev environment (gtest_vendor)
Expected behavior
Actual behavior
Additional information
Error message:
 --- stderr: gtest_vendor

Traceback (most recent call last):

  File "C:\Users\isk5wi\.platformio\penv\lib\site-packages\colcon_core\executor\__init__.py", line 91, in __call__

    rc = await self.task(*args, **kwargs)

  File "C:\Users\isk5wi\.platformio\penv\lib\site-packages\colcon_core\task\__init__.py", line 93, in __call__

    return await task_method(*args, **kwargs)

  File "C:\Users\isk5wi\.platformio\penv\lib\site-packages\colcon_ros\task\cmake\build.py", line 35, in build

    rc = await extension.build(

  File "C:\Users\isk5wi\.platformio\penv\lib\site-packages\colcon_cmake\task\cmake\build.py", line 87, in build

    rc = await self._reconfigure(args, env)

  File "C:\Users\isk5wi\.platformio\penv\lib\site-packages\colcon_cmake\task\cmake\build.py", line 153, in _reconfigure

    raise RuntimeError(

RuntimeError: VisualStudioVersion is not set, please run within a Visual Studio Command Prompt.

---

Failed   <<< gtest_vendor [2.80s, exited with code 1]

VisualStudioVersion is not set, please run within a Visual Studio Command Prompt.

Same problem
Build dev micro-ROS environment failed:
--- stderr: gtest_vendor
Traceback (most recent call last):
File "C:\Users\huigang.platformio\penv\lib\site-packages\colcon_core\executor_init_.py", line
Failed   <<< gtest_vendor [1.26s, exited with code 1]
VisualStudioVersion is not set, please run within a Visual Studio Command Prompt.
=================================== [FAILED] Took 128.55 seconds ===================================

Same problem
Build dev micro-ROS environment failed: --- stderr: gtest_vendor
Traceback (most recent call last):
File "C:\Users\huigang.platformio\penv\lib\site-packages\colcon_core\executor__init__.py", line
Failed <<< gtest_vendor [1.26s, exited with code 1]
VisualStudioVersion is not set, please run within a Visual Studio Command Prompt.
=================================== [FAILED] Took 128.55 seconds ===================================

I don't have Visual Studio installed, does that mean I need to install it for the build to succeed?

Closing, support for windows is not currently under development due to colcon cross compilation issues on windows.
Will update if progress is made.

I don't have Visual Studio installed, does that mean I need to install it for the build to succeed?

Yes, colcon needs a Visual Studio environment.
This is one of the main issues with porting the library cross compilation to Windows.


How to use?

Just wondering, do I need to build the extension or will you provide a built jar that can be dropped into Plugins/, or will there be a repo to add it to Eclipse?

You need to build it, I guess. I think you create an Eclipse plugin project, or something, and then launch it. I don't really remember, and I'd need to look up the guides that I followed for using a language server in Eclipse.
To be clear, I have no plans to release this as a real supported plugin at this time. In particular, I found that opening a project and waiting for code intelligence took way too long (though it was fine once initialized). In my opinion, it's not really worth continuing work on this project, but I thought I'd share what I had. In fact, I'm going to "archive" this to avoid confusion.
I recommend using VSCode with the vscode-as3mxml extension, which is what this was based on.


Update puppet-git

There is a new version that installs Git 2.4

Updated (with a number of other dependencies) in a277baa


rebase upstream repository changes into the microservices-demo-rum fork

Rebase upstream repository changes into the microservices-demo-rum fork.

Thank you!


Some fixes to rtl issues.

Confirmed it fixes RTL issues and it doesn't break LTR forms: http://labels-experiment.wmflabs.org/ui/enwiki/


Fix wrong closing tag in get-started examples

Background
The code for the examples for getting started with deck.gl and react have a wrong closing tag on the DeckGl component.
Change List

Docs: get-started/using-with-react

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


How to connect two mininet hosts running on two different laptops?

Expected/Desired Behavior:
Hello! Thanks for the exciting mininet project.  Quite helpful to conduct network emulation.
Recently we are trying to conduct very large-scale network (e.g. more than 10,000 nodes), and each nodes may work as a router running routing protocols/alrgorithms.
Thus, emulating such large-scale networks might not be doable on a single laptop, due to the limited CPU/mem. I am considering to use multiple laptops to construct the emulated network, but I still do not figure out how can I connect a mininet host in laptop-I to another mininet host in laptop-II?
Is this behavior supported by current Mininet?
Thanks!
Actual Behavior:
Detailed Steps to Reproduce the Behavior:
Additional Information:

Hello, have you solved this problem?
Can we talk about it?


Complete Documentation Coverage on Public API

API documentation and publishing.

Generate with SBT Site and consider publishing with GitHub Pages via .

Publishing works, but until sbt/sbt-ghpages#10 is completed, there can't be multiple versions hosted.


added "Andrea"

Thanks, but due to the wikipedia the name "Andrea" is only used for females in the most languages (including english). While this name can be used for males e.g. in romansh languages this repository is focused on the english speaking cultural area.


Remove version: Maltego.Maltego version 4.5.0

Checklist for Pull Requests

[x] Have you signed the Contributor License Agreement?
Related #167723

Manifests

[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest

Note: <path> is the directory's name containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

URL: https://downloads.maltego.com/maltego-v4/windows/MaltegoSetup.JRE64.v4.5.0.exe
OK
(Automated message - build 913)


Submit buttons not aligned

The submit buttons for the forms are not proper aligned, they should be under the form and not under the headline
e.g. http://yawik.org/demo/de/auth/forgot-password
http://yawik.org/demo/de/login?ref=%252Fde

the layout can be using css. The following less code was use to create the login on
http://www.karriere24.com

// Login Box
#form-user-password-form,
#form-login-form {
    .form-content {
        animation: 1s ease-in-out 0.25s normal forwards 1 running reveal-banner;
        border-radius: 5px;
        background: rgba(52, 27, 43, 0.5) none repeat scroll 0 0;
        color: #fff;
        display: inline-block;
        opacity: 0.8;
        padding: 3em;
        a {
            color: #fff;
        }
        label {
            font-size: 85%;
        }
    }
}

So I have to provide for every form additional css?
Why don't you use the correct bootstrap classes?
e.g.
http://getbootstrap.com/css/#forms-horizontal
the submit button is directly under the input fields, that is what I would expect


Update metadata_to_rst.py to generate documentation for XBRL derived DB's

Once we can publish XBRL derived SQLite DB's to datasette, we will need to be able to generate documentation for the PUDL data dictionaries. This is done by the metadata_to_rst.py script.

The DatasetteMetadata class now can ingest datapackage descriptors output by the XBRL extractor and convert this metadata


DiskReadViolation

**SDK version: 3.10.0
**Environment: Development & Production
Are logs available?
StrictMode policy violation; ~duration=10 ms: android.os.strictmode.DiskReadViolation
    	at android.os.StrictMode$AndroidBlockGuardPolicy.onReadFromDisk(StrictMode.java:1661)
    	at libcore.io.BlockGuardOs.fstat(BlockGuardOs.java:194)
    	at libcore.io.ForwardingOs.fstat(ForwardingOs.java:261)
    	at libcore.io.IoBridge.open(IoBridge.java:563)
    	at java.io.FileOutputStream.<init>(FileOutputStream.java:236)
    	at java.io.FileOutputStream.<init>(FileOutputStream.java:186)
    	at kotlin.io.e.d(FileReadWrite.kt:20)
    	at io.customer.sdk.data.store.h.c(FileStorage.kt:41)
    	at io.customer.sdk.queue.QueueStorageImpl.a(QueueStorage.kt:95)
    	at io.customer.sdk.queue.QueueImpl.i(Queue.kt:68)
    	at io.customer.sdk.queue.QueueImpl.c(Queue.kt:39)
    	at pf.h.b(TrackRepository.kt:66)
    	at ef.c.c(PushMessageProcessorImpl.kt:50)
    	at io.customer.messagingpush.CustomerIOCloudMessagingReceiver.onReceive(CustomerIOCloudMessagingReceiver.kt:37)
    	at android.app.ActivityThread.handleReceiver(ActivityThread.java:4663)
    	at android.app.ActivityThread.-$$Nest$mhandleReceiver(Unknown Source:0)
    	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2357)
    	at android.os.Handler.dispatchMessage(Handler.java:107)
    	at android.os.Looper.loopOnce(Looper.java:232)
    	at android.os.Looper.loop(Looper.java:317)
    	at android.app.ActivityThread.main(ActivityThread.java:8501)
    	at java.lang.reflect.Method.invoke(Native Method)
    	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:552)
    	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:878)

Describe the bug
With StrictMode enabled, when sending a push notification, we can see DiskReadViolation. It's coming from your class CustomerIOCloudMessagingReceiver
To Reproduce

Enable StrictMode

StrictMode.setThreadPolicy(
                StrictMode.ThreadPolicy.Builder()
                    .detectDiskReads()
                    .detectDiskWrites()
                    .detectAll()
                    .penaltyLog()
                    .build()

Send a push notification on a sample following your documentation implementation
Look at StrictMode logs

Expected behavior
There should not be any DiskReadViolation on main thread.

Hey @laurentlr. Thank you for reaching out and sharing your feedback. Because push notifications can be received when the app is in killed state and the OS can limit resources and code execution while the app is still in the background, to prevent metrics from being ignored, we process them to store and ensure they are not lost, hence resulting in the violation.
I agree this isn't ideal behavior and we have noted this down and do have plans to improve it. While I can't share specific time frame for the improvement to be released at the moment, I can confirm that it's something we have under consideration.
Thanks for sharing. Please don't hesitate to ask any further questions or share more feedback. Your input is important for us to improve our product. Thank you for sharing, and have a great day.

Hi @mrehan27,
I'm reproducing this issue when app is in foreground (haven't tried with app killed).

we process them to store and ensure they are not lost

That's fine, but this storage processing should be done on the IO thread (like any storage in general) and not on the main thread.

Thanks for the confirmation @laurentlr. It indeed will be reproducible when the app is in foreground because the code executed when push is received is same in both app opened and killed states.
I agree this should not be done on main thread. However, the change may not be as trivial as it looks since this will make the code run asynchronously and not return results instantly. To avoid any unwanted bugs, we need to ensure we improve this without affecting any of the current behavior.
Having said that, I do want to reconfirm that this is noted and something we plan to include in our roadmap this year. However, we are not working on this actively so I can't confirm any expected date for the changes at this moment.
We'll keep you posted about any progress on this. Thanks again for highlighting and sharing the details.

@mrehan27 This is not the only one you have, your ktor client also introduces StrictMode policy violation: android.os.strictmode.UntaggedSocketViolation: Untagged socket detected; use TrafficStats.setTrafficStatsTag() to track all network usage
When using Strict mode, I recommend that you handle this as it affects ANR scores for applications on google score, it might seem small, but for low-end devices this has an effect.

@Syrou, Thanks for reaching out and sharing the details. This is a helpful insight, and appreciate you highlighting the challenges. I'll bring this again to the team to reconsider and prioritize. If you have more insights or examples, please feel free to share them here as they'll help us with better prioritization.
We'll keep this thread updated with any progress. Thanks again for your patience and understanding!


Add Childe

My childe implementation.

Have made changes through those comments. Some big one can be addressed is ditching riptide hook up and using the callback on each targets hit like Tsym's way. I removed c4 also. Since it got issues after tartaglia executed riptide blast in order to clear riptide status. Not sure how it works either. So its better to ditch it


Error: Module did not self-register.

What is wrong?
When training network within a worker thread, the thread fails to start and throws Error: Module did not self-register.
Where does it happen?
On Worker thread initialization, node.js v10.19.0 - LTS, KDE Neon (linux) 5.18, base Ubuntu 18.04
How do we replicate the issue?
Require brain.js in the main thread OR worker thread, it seems.
init.js - Main thread
/* eslint-disable */
const brain = require('brain.js'); // NOTE - If you comment this line out, it continues as normal.

const worker = require('worker_threads');
if(!worker.isMainThread) {
  console.error('Called from main thread. Illegal. Exiting...');
  process.exit(1);
} else {

  trainBrain()
    .then(console.log)
    .catch(console.error);

}

function trainBrain() {
  return new Promise((resolve, reject) => {
    const child = new worker.Worker('./worker.js', {
      workerData: {
        foo: 'bar',
        num: 1
      }
    });

    child.on('online', () => console.log('Worker online'));
    child.on('message', resolve);
    child.on('error', reject);
  });
}

worker.js - Worker thread
/* eslint-disable */
const worker = require('worker_threads');
const brain = require('brain.js');  // NOTE - If you comment this line out, it continues as normal.

if(worker.isMainThread) {
  console.error('Worker file called at main thread. Illegal. Exiting...');
  process.exit(1);
}

const { workerData } = worker;
const { foo, num } = workerData;

worker.parentPort.postMessage({ foo, num });

How important is this (1-5)?
2?
Expected behavior (i.e. solution)
In init.js OR worker.js, comment out the brain require statement. Somehow, removing the brain.js require seems to fix the issue.
Other Comments
If you're not already aware, worker_threads in node v10.x is an experimental feature, hidden behind the --experimental_worker flag. If you want to enable it, run the command as follows: node --experimental_worker init.js.
https://nodejs.org/dist/latest-v10.x/docs/api/worker_threads.html

First try is without the brain require commented out. Second try is with the brain require commented out.

This is node issue as being discussed here: https://github.com/nodejs/node/issues/21481
In the mean time you could use child_process forks


How can we attach the screenshot taken during the test cases execution and attached it as part of test log instead of just showing the output path?

How can we attach the screenshot taken during the test cases execution and attached it to the test cases as part of test log, instead of just showing the output path of screen shot?

Let me know
if we could do it or not using this framework

Is there a way that i could hide log related to taking screenshot.
It's little bit unnecessary.
If there is any screen-shot, just attach it to test case.

this functionality is related to Unit framework, it's supported by NUnit and MsTest,
regarding the logging you can play with NLog setting in app.config
https://github.com/ObjectivityLtd/Ocaramba/wiki/Logging

thanks for the reply !!!


Update stylesheets

Nothing big, just some styles copied over from highlight.js

Thank you, that's helpful ;)

Thank you, that's helpful ;)


TearDown : System.InvalidOperationException

Reqnroll Version
2.2.0
Which test runner are you using?
NUnit
Test Runner Version Number
latest
.NET Implementation
.NET 8.0
Test Execution Method
Command line – PLEASE SPECIFY THE FULL COMMAND LINE
Content of reqnroll.json configuration file
dotnet test
Issue Description
TearDown : System.InvalidOperationException : Only static OneTimeSetUp and OneTimeTearDown are allowed for InstancePerTestCase mode.
--TearDown
at NUnit.Framework.Internal.Execution.StaticMethodValidator.Validate(MethodInfo method)
at NUnit.Framework.Internal.Commands.SetUpTearDownItem.RunSetUpOrTearDownMethod(TestExecutionContext context, IMethodInfo method)
at NUnit.Framework.Internal.Commands.SetUpTearDownItem.RunTearDown(TestExecutionContext context)
Steps to Reproduce
dotnet test or simply run the test runner
Link to Repro Project
No response

+1
I started getting this error out of nowhere, and then I remembered, "Oh, I upgraded the Nuget yesterday." 😋

I just experienced the same problem. The problem lies in the incompatibility with NUnit 4.0.0+. Tests don't break up until NUnit 3.14.

@russog @D0nGiovanni @konarx Stupid question, but I guess you don't have any [OneTimeSetUp] or [OneTimeTearDown] that you have defined yourself, right?

Also could you please tell the exact version number of NUnit you use and get the error?

NUnit: 4.2.2
NUnit.Analyzers: 4.3.0
NUnit3TestAdapter: 4.6.0

yes, but in a separate project not the one that gives me trouble,

@russog do you think this have any relation to the issue (are the projects refer each-other)? Do you still get the error if you temporarily comment out those [OneTimeSetUp]/[OneTimeTearDown] methods on the other project?

nope. just to be sure I run from the command line dotnet test  the other one is not referenced in it.
from the command line I get a warning (the same message I posted in the subject) with the testrunner the test pass but it gives a massive red cross on the test project

btw you guys are doing an amazing job ;)

I am trying it with the refs as
  <ItemGroup>
    <PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.8.0" />
    <PackageReference Include="Reqnroll.NUnit" Version="2.2.0" />
    <PackageReference Include="nunit" Version="4.2.2" />
    <PackageReference Include="NUnit.Analyzers" Version="4.3.0" />
    <PackageReference Include="NUnit3TestAdapter" Version="4.6.0" />
  </ItemGroup>

But works for me.
Maybe any special NUnit assembly-level attribute?
Also one more:
In the obj/Debug/net8.0 folder of your project, there should be a file called 'NUnit.AssemblyHooks.cs'. Could you please paste the content?

@konarx Stupid question, but I guess you don't have any [OneTimeSetUp] or [OneTimeTearDown] that you have defined yourself, right?

@gasparnagy no, but I have a [Binding]TestRunLevelHooks.cs class with one [BeforeTestRun] and one [AfterTestRun] methods.
My NuGets:
<PackageReference Include="Microsoft.Extensions.Configuration" Version="8.0.0" />
<PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="8.0.2" />
<PackageReference Include="Microsoft.Extensions.Configuration.EnvironmentVariables" Version="8.0.0" />
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="8.0.1" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.11.1" />
<PackageReference Include="Microsoft.Playwright" Version="1.48.0" />
<PackageReference Include="Polly" Version="8.4.2" />
<PackageReference Include="ReportPortal.Extensions.SourceBack" Version="2.1.0" />
<PackageReference Include="ReportPortal.Reqnroll" Version="1.1.0" />
<PackageReference Include="Reqnroll.NUnit" Version="2.2.0" />
<PackageReference Include="RestSharp" Version="112.1.0" />
<PackageReference Include="nunit" Version="4.2.2" />
<PackageReference Include="NUnit3TestAdapter" Version="4.6.0" />
<PackageReference Include="FluentAssertions" Version="6.12.2" />
<PackageReference Include="JunitXml.TestLogger" Version="4.1.0" />

@gasparnagy

you don't have any [OneTimeSetUp] or [OneTimeTearDown] that you have defined yourself, right?

No, I specifically checked my all my files. I found the culprit in the generated *.feature.cs file. The OneTimeTearDownAttribute annotated method is a virtual one, whereas the OneTimeSetup method is static, as it should be.

Also could you please tell the exact version number of NUnit you use and get the error?

NUnit: 4.0.0+
NUnit.Analyzers: 4.1.0
NUnit3TestAdapter: 4.1.0

ReqnrollMinimalRepro.zip
This is the repro that fails.

This is the repro that fails.

@D0nGiovanni Strange. I do see the warning with your repo when using dotnet test, but from VS it just works

I have VS 17.11.4

I found the problem. Fix is on the way.

@gasparnagy it works like a charm you definitely rock!


My First Issue

The Grinch
The Grinch

hello I need help with x
what's the status @kcoronel

hello I need help with x
what's the status @kcoronel

I can help with x
I will knock these out ⬇

[ ] Add logo to navbar 🗺
[ ] Test mobile layout 📱
[ ] Take over the world 🌎

@jonathanswilcox do you have anything to add to this list?

hey! this was a test issue, can we create a new one with the info above @kmal808 - thank you!

Lol I know I was playing along 🤣
The task list was a phony 🤥❌

@kmal808 LMFAOO! love it! thank you

ps- Wish I could have been there for the meeting yesterday! Were you able to onboard everyone here to Github? I'll check the meeting notes to see what I need to catch up on!

hello I need help with x
what's the status @kcoronel

I can help with x
I will knock these out ⬇

[x]  Add logo to navbar 🗺
[x]  Test mobile layout 📱
[x]  Take over the world 🌎

@jonathanswilcox do you have anything to add to this list?
*@jonathanswilcox additions:

[ ]  Assess realistic timeline for remaining interviews & distribute duties 📆
[ ]  Install a coffee maker in the breakroom ☕
[ ]  Determine times and location for company beach meet up 🌊

@kmal808 @kcoronel Who do I need to run these last two through? 😉

As someone with no authority, I approve all of these additions giving extra priority to the last two ✅ 🤣


bug: No binaries in the v1.23.0 release

cc: @owenrumney

Looks like a problem with the Docker build kit and multiarch builds. Hopefully this new attempt is working and we can close.
Thanks for the prompt alert


Limit cached metrics

Hi,
we are using the great framework together with an influx db.
If the influx db isn't available we are facing the problem, that the report will send all collected metrics in one request. And this causes an out of memory error.
Is there the possibility to limit the collected metrics?
Thanks
juergen

@chokdee Which reporter are you using specifically?

InfluxdbReporter from https://github.com/davidB/metrics-influxdb

@chokdee Since reporters can control how exactly data is sent to the receiver, it would probably make sense to file a feature request at https://github.com/davidB/metrics-influxdb.

Hm, I think there should be a limit in the metrics core too. If I understand the code, the MetricsRegistry will add the values in a Map. What will happen when you add too many values in the map for the configured memory?

@chokdee Could you please provide some more details about your setup and where exactly the OutOfMemoryError occurs?
If possible, a minimal project to reproduce the issue would be great.


Epic: support fractional CPU

Motivation
Free tier is currently defined as 0.25 CPU + 1 GB memory. We'd like to (a) move all users to VMs (which requires VMs with 0.25 CPU) and (b) ideally allow scaling to/from the free tier limits of 0.25 CPU.
DoD
Full support for fractional CPU allocations - in particular, allowing VMs to be created with 0.25 or 0.5 CPU, in addition to the typical integer scaling. The scheduler must appropriately handle bookkeeping for VMs with < 1 CPU.
As part of the implementation, we may also provide fractional CPUs above 1 - e.g. 11.5 CPU (instead of just integer number of CPUs when >= 1)
Implementation ideas
There's a few possible ways of solving this. I think we've settled on doing this in NeonVM, not sure which of the 2nd or 3rd option.

Implement in the scheduler/autoscaler-agent via CPU overcommit.
Implement in NeonVM with K8s pod limits
Implement in NeonVM by running QEMU in a cgroup, inside the runner container

It's worth noting that option 2 would make it impossible for us to scale between CPU < 1 and CPU >= 1.
Tasks

[ ] Add support for fractional CPU in NeonVM
[ ] Handle fractional CPU correctly in autoscaler-agent, scheduler (depends on NeonVM level of support)
[ ] Enable fractional CPU for VMs in control plane/console

Other related tasks and Epics
None

Fully done, in prod, etc. Should have been closed by #172, I think.


modify response result of grpcPlugin

Task
A clear and concise description of Task
Task List:

[ ] task1
[ ] task2
[ ] task3

Please read the Contribution Guideline before submitting the PR

merged