新建了Flutter项目,引入pag: ^1.0.4,使用pub上的Example代码,运行iOS模拟器,app运行后控制台打印
[ERROR:flutter/shell/common/shell.cc(1015)] The 'flutter_pag_plugin' channel sent a message from native to Flutter on a non-platform thread. Platform channel messages must be sent on the platform thread. Failure to do so may result in data loss or crashes, and must be fixed in the plugin or application code creating that channel. See https://docs.flutter.dev/platform-integration/platform-channels#channels-and-platform-threading for more information.
新建了Flutter项目,引入
pag: ^1.0.4
,使用pub上的Example代码,运行iOS模拟器,app运行后控制台打印[ERROR:flutter/shell/common/shell.cc(1015)] The 'flutter_pag_plugin' channel sent a message from native to Flutter on a non-platform thread. Platform channel messages must be sent on the platform thread. Failure to do so may result in data loss or crashes, and must be fixed in the plugin or application code creating that channel. See https://docs.flutter.dev/platform-integration/platform-channels#channels-and-platform-threading for more information.