no message

This commit is contained in:
gem
2025-02-21 14:40:32 +08:00
parent d7699c93cd
commit 40409fd882
13 changed files with 190 additions and 145 deletions

View File

@@ -40,7 +40,7 @@ class MethodChannelCocosWidget extends CocosWidgetPlatform {
MethodChannel ensureChannelInitialized(int cocosId) {
MethodChannel? channel = _channels[cocosId];
if (channel == null) {
channel = MethodChannel('plugin.xraph.com/cocos_view_$cocosId');
channel = MethodChannel('plugin.gem.com/cocos_view_$cocosId');
channel.setMethodCallHandler(
(MethodCall call) => _handleMethodCall(call, cocosId));
@@ -158,7 +158,7 @@ class MethodChannelCocosWidget extends CocosWidgetPlatform {
bool? cocosWebSource,
String? cocosSrcUrl,
}) {
final String _viewType = 'plugin.xraph.com/cocos_view';
final String _viewType = 'plugin.gem.com/cocos_view';
if (useAndroidViewSurf != null) useAndroidViewSurface = useAndroidViewSurf;