Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
5a7b0bdf
Unverified
Commit
5a7b0bdf
authored
2 years ago
by
gaaclarke
Committed by
GitHub
2 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macos isolate platform channels (#110882)
parent
2b740f39
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletion
+8
-1
main.dart
dev/integration_tests/channels/lib/main.dart
+1
-1
MainFlutterWindow.swift
...ation_tests/channels/macos/Runner/MainFlutterWindow.swift
+7
-0
No files found.
dev/integration_tests/channels/lib/main.dart
View file @
5a7b0bdf
...
...
@@ -173,7 +173,7 @@ class _TestAppState extends State<TestApp> {
()
=>
basicStringMessageToUnknownChannel
(),
()
=>
basicJsonMessageToUnknownChannel
(),
()
=>
basicStandardMessageToUnknownChannel
(),
if
(
Platform
.
isIOS
||
Platform
.
isAndroid
)
if
(
Platform
.
isIOS
||
Platform
.
isAndroid
||
Platform
.
isMacOS
)
()
=>
basicBackgroundStandardEcho
(
123
),
];
Future
<
TestStepResult
>?
_result
;
...
...
This diff is collapsed.
Click to expand it.
dev/integration_tests/channels/macos/Runner/MainFlutterWindow.swift
View file @
5a7b0bdf
...
...
@@ -99,6 +99,13 @@ class MainFlutterWindow: NSWindow {
binaryMessenger
:
registrar
.
messenger
,
codec
:
FlutterStandardMethodCodec
(
readerWriter
:
ExtendedReaderWriter
())))
FlutterBasicMessageChannel
(
name
:
"std-echo"
,
binaryMessenger
:
registrar
.
messenger
,
codec
:
FlutterStandardMessageCodec
.
sharedInstance
()
)
.
setMessageHandler
{
message
,
reply
in
reply
(
message
)
}
super
.
awakeFromNib
()
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment