alibaba / alibaba/flutter_boost

IOS 接入.xcframework后黑屏

Open
#2,191 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Dart
Stars
7.2k
Forks
1.3k
PR merge metrics
No merged PRs in 30d

Description

flutter: The Dart VM service is listening on http://127.0.0.1:56610/aLDOT5jJkyM=/
flutter: FlutterBoost_dart#page_visibility, #addGlobalObserver, Instance of 'AppGlobalPageVisibilityObserver'
flutter: FlutterBoost_dart#boost_flutter_binding: handleAppLifecycleStateChanged AppLifecycleState.resumed
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(channel-error, Unable to establish connection on channel., null, null)
#0 NativeRouterApi.getStackFromHost (package:flutter_boost/src/messages.dart:257:7)

#1 FlutterBoostAppState._restoreStackForHotRestart (package:flutter_boost/src/flutter_boost_app.dart:221:19)

[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(channel-error, Unable to establish connection on channel., null, null)
#0 NativeRouterApi.saveStackToHost (package:flutter_boost/src/messages.dart:284:7)

#1 FlutterBoostAppState._saveStackForHotRestart (package:flutter_boost/src/flutter_boost_app.dart:216:5)

flutter boost4.6.5,使用Android能正常使用

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the iOS .xcframework integration with FlutterBoost 4.6.5, then read lib/src/messages.dart around lines 257 and 284 and lib/src/flutter_boost_app.dart around lines 216-221. Done means the iOS app no longer shows a black screen and the reported PlatformException channel errors no longer occur.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart, flutter, ios
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.