Hello everyone,
I use a notification with buttons in my app. When this button is clicked, my app opens. This has worked without any problems until now. Since the changeover to API 34, this log appears:
I always started my window with in the service:
It must also be possible with the new API to open an app from the notification. With SetWhenLook, I have always been able to open my app successfully before the lock screen.
I use a notification with buttons in my app. When this button is clicked, my app opens. This has worked without any problems until now. Since the changeover to API 34, this log appears:
B4X:
java.lang.RuntimeException: android.app.MissingForegroundServiceTypeException: Starting FGS without a type callerApp=ProcessRecord{777a85a 7054:XY.XX.APPNAME/u0a190} targetSDK=34
I always started my window with in the service:
B4X:
Startactivity(NAME)
It must also be possible with the new API to open an app from the notification. With SetWhenLook, I have always been able to open my app successfully before the lock screen.