remarkked

Results 10 comments of remarkked

Found out decorations have been somehow applied to my text widgets, setting decorationThickness to 0 and decorationColor to transparent solved the issue. But it seems something is broken because flutter...

@aaassseee sorry for late response, the device is Teyes CC3 2K (car unit, API 30), the emulator device I tested is Pixel 6 API 31. Logs are empty, no errors...

@aaassseee it only throws "Failed to set system brightness" if has no permission and is silent if trying to change application brightness. The release version is on video, debug behaves...

@aaassseee the error's thrown only if trying to change system brightness without permission and after that system brightness works OK. App brightness doesn't require this permission and doesn't work neither...

@aaassseee I can confirm that application brightness works for Samsung S25 (API 35) and Redmi Note 11 (API 31). Seems it's 30 and lower APIs (or idk, device-specific?) issue only

@aaassseee tried to find logs by keywords "bright", "failed", "error", "androidview", "flutter" etc. Nothing related to the problem

@adityaraj1702 use ports to communicate between MainApp and Overlay and MethodChannel to call native code. overlay.onTap -> IsolateNameServer.lookupPortByName(your_main_port_name)?.send("home") MainAppPortListener(message) -> message == "home" ? methodChannel.invokeMethod("startMainActivity") MainActivity -> call.method == "startMainActivity"...

As a workaround we can listen to buttons state and manage draggable property in WindowConfig. I have only 2 buttons in my overlay so I don't want to mess up...

I dig a little and found out that FloatwingService.onCreate() never calls. FloatwingService.ensureService seems to wait for onCreate completed, but actually waits for only 100ms (1 while(instance==null) cycle): `private fun ensureService(context:...