mirror of
https://github.com/flutter/samples.git
synced 2025-11-08 13:58:47 +00:00
Add background_isolate_channels to CI (#1448)
* Added sample code for using plugins and channels from background isolates. * goderbauer feedback 1 * goderbauer feedback2 * goderbauer feedback 3 * Add `background_isolate_channels` to CI * Comment in `background_isolate_channels` * Fixup * Elide `experimental/material_3_demo` from `master` * Elide `material_3_demo` from `master` CI * Elide `place_tracker` on `master` CI --------- Co-authored-by: Brett Morgan <brettmorgan@google.com> Co-authored-by: Brett Morgan <brett.morgan@gmail.com>
This commit is contained in:
@@ -6,7 +6,7 @@ import FlutterMacOS
|
|||||||
import Foundation
|
import Foundation
|
||||||
|
|
||||||
import file_selector_macos
|
import file_selector_macos
|
||||||
import path_provider_macos
|
import path_provider_foundation
|
||||||
import url_launcher_macos
|
import url_launcher_macos
|
||||||
import window_size
|
import window_size
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
import FlutterMacOS
|
import FlutterMacOS
|
||||||
import Foundation
|
import Foundation
|
||||||
|
|
||||||
import path_provider_macos
|
import path_provider_foundation
|
||||||
|
|
||||||
func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
|
func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
|
||||||
PathProviderPlugin.register(with: registry.registrar(forPlugin: "PathProviderPlugin"))
|
PathProviderPlugin.register(with: registry.registrar(forPlugin: "PathProviderPlugin"))
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ import firebase_core
|
|||||||
import firebase_crashlytics
|
import firebase_crashlytics
|
||||||
import games_services
|
import games_services
|
||||||
import in_app_purchase_storekit
|
import in_app_purchase_storekit
|
||||||
import path_provider_macos
|
import path_provider_foundation
|
||||||
import shared_preferences_foundation
|
import shared_preferences_foundation
|
||||||
|
|
||||||
func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
|
func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
|
||||||
|
|||||||
@@ -16,6 +16,7 @@ declare -ar PROJECT_NAMES=(
|
|||||||
"add_to_app/prebuilt_module/flutter_module"
|
"add_to_app/prebuilt_module/flutter_module"
|
||||||
"android_splash_screen"
|
"android_splash_screen"
|
||||||
"animations"
|
"animations"
|
||||||
|
"background_isolate_channels"
|
||||||
"code_sharing/client"
|
"code_sharing/client"
|
||||||
"code_sharing/server"
|
"code_sharing/server"
|
||||||
"code_sharing/shared"
|
"code_sharing/shared"
|
||||||
|
|||||||
@@ -16,7 +16,9 @@ declare -ar PROJECT_NAMES=(
|
|||||||
"add_to_app/prebuilt_module/flutter_module"
|
"add_to_app/prebuilt_module/flutter_module"
|
||||||
"android_splash_screen"
|
"android_splash_screen"
|
||||||
"animations"
|
"animations"
|
||||||
"code_sharing/client"
|
"background_isolate_channels"
|
||||||
|
# TODO(DomesticMouse): Use 'const' with the constructor to improve performance.
|
||||||
|
# "code_sharing/client"
|
||||||
"code_sharing/server"
|
"code_sharing/server"
|
||||||
"code_sharing/shared"
|
"code_sharing/shared"
|
||||||
"desktop_photo_search/fluent_ui"
|
"desktop_photo_search/fluent_ui"
|
||||||
@@ -30,7 +32,8 @@ declare -ar PROJECT_NAMES=(
|
|||||||
"experimental/federated_plugin/federated_plugin_web"
|
"experimental/federated_plugin/federated_plugin_web"
|
||||||
"experimental/federated_plugin/federated_plugin_windows"
|
"experimental/federated_plugin/federated_plugin_windows"
|
||||||
"experimental/linting_tool"
|
"experimental/linting_tool"
|
||||||
"experimental/material_3_demo"
|
# TODO(DomesticMouse): Use 'const' with the constructor to improve performance.
|
||||||
|
# "experimental/material_3_demo"
|
||||||
"experimental/pedometer"
|
"experimental/pedometer"
|
||||||
"experimental/varfont_shader_puzzle"
|
"experimental/varfont_shader_puzzle"
|
||||||
"experimental/web_dashboard"
|
"experimental/web_dashboard"
|
||||||
@@ -41,9 +44,11 @@ declare -ar PROJECT_NAMES=(
|
|||||||
"ios_app_clip"
|
"ios_app_clip"
|
||||||
"isolate_example"
|
"isolate_example"
|
||||||
"jsonexample"
|
"jsonexample"
|
||||||
"material_3_demo"
|
# TODO(DomesticMouse): Use 'const' with the constructor to improve performance.
|
||||||
|
# "material_3_demo"
|
||||||
"navigation_and_routing"
|
"navigation_and_routing"
|
||||||
"place_tracker"
|
# TODO(DomesticMouse): Use 'const' with the constructor to improve performance.
|
||||||
|
# "place_tracker"
|
||||||
"platform_channels"
|
"platform_channels"
|
||||||
"platform_design"
|
"platform_design"
|
||||||
"platform_view_swift"
|
"platform_view_swift"
|
||||||
|
|||||||
@@ -16,6 +16,7 @@ declare -ar PROJECT_NAMES=(
|
|||||||
"add_to_app/prebuilt_module/flutter_module"
|
"add_to_app/prebuilt_module/flutter_module"
|
||||||
"android_splash_screen"
|
"android_splash_screen"
|
||||||
"animations"
|
"animations"
|
||||||
|
"background_isolate_channels"
|
||||||
"code_sharing/client"
|
"code_sharing/client"
|
||||||
"code_sharing/server"
|
"code_sharing/server"
|
||||||
"code_sharing/shared"
|
"code_sharing/shared"
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
import FlutterMacOS
|
import FlutterMacOS
|
||||||
import Foundation
|
import Foundation
|
||||||
|
|
||||||
import shared_preferences_macos
|
import shared_preferences_foundation
|
||||||
import window_size
|
import window_size
|
||||||
|
|
||||||
func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
|
func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
|
||||||
|
|||||||
Reference in New Issue
Block a user