Skip to content

FloatwingService not starting when using com.android.launcher(X) package name #32

@remarkked

Description

@remarkked

Works completely fine when app package name is different from com.android.launcher(X), where (X) is any number.
If setting this package name an error "No implementation found" occurs.

Log:

[04-09 12:29:18.622 19351:19351 I/FloatwingService]
[service] install the service channel for engine

[04-09 12:29:18.622 19351:19351 D/FloatwingPlugin]
[plugin] on attached to main engine

[04-09 12:29:18.622 19351:19351 D/FloatwingPlugin]
[plugin] on attached to activity

[04-09 12:29:18.622 19351:19351 I/FloatwingService]
[service] activity attached

[04-09 12:29:19.775 19351:19351 D/FloatwingPlugin]
[plugin] pixel radio need to be saved

[04-09 12:29:19.866 19351:19351 D/FloatwingService]
[service] wait for service created

[04-09 12:29:20.001 19351:19351 I/FloatwingService]
[service] create a window: overlay {entry=overlayMain, draggable=true, x=0, y=200}

[04-09 12:29:20.002 19351:19351 D/FloatwingService]
[service] wait for service created

[04-09 12:29:26.367 19351:19351 D/FloatwingPlugin]
[plugin] method window.start not implement

[04-09 12:29:26.367 19351:19351 D/FloatwingPlugin]
[plugin] method window.start not implement

[04-09 12:29:26.369 19351:19398 E/flutter]
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: MissingPluginException(No implementation found for method window.start on channel im.zoe.labs/flutter_floatwing/window)
0 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:332)
1 Window.start (package:flutter_floatwing/src/window.dart:116)
2 showOverlay. (package:tractor_dm/main.dart:528)
3 showOverlay (package:tractor_dm/main.dart:528)

[04-09 12:29:26.369 19351:19398 E/flutter]
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: MissingPluginException(No implementation found for method window.start on channel im.zoe.labs/flutter_floatwing/window)
0 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:332)
1 Window.start (package:flutter_floatwing/src/window.dart:116)
2 showOverlay. (package:tractor_dm/main.dart:528)
3 showOverlay (package:tractor_dm/main.dart:528)

flutter doctor:
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 3.24.5, on Microsoft Windows [Version 10.0.19045.5608], locale ru-RU)
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[√] Chrome - develop for the web
[√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.7.4)
[√] Android Studio (version 2023.2)
[√] Android Studio (version 2024.1)
[√] Connected device (3 available)
[√] Network resources

• No issues found!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions