BTW, I just found that one more of my background apps shows the same behavior, which points to some new Android 10 setting I'm obviously not aware of.
Any help would be appreciated.
John
Typically I keep Tasker without notification, but I tried with permanent notification (even rebooted) - didn't help.
Also installed latest Tasker 5.8.4, but no luck.
The other app is a old one which is abandoned since 2015 called PhoneWeaver, but was working until now.
Noticed something else - seems tasks which do not have to open apps are working, but the ones which suppose to open app do not. For example the task which turns my Bluetooth when triggered by tag works in this part, but then when the same task has to open the Map app next, it fails to do so. .
Start VPN (12)
A1: Wait [ MS:0 Seconds:15 Minutes:0 Hours:0 Days:0 ]
A2: If [ %PACTIVE !~ *VPN Enable* ]
A3: Goto [ Type:Action Number Number:6 Label: ]
A4: End If
A5: Launch App [ App:PIA VPN:ui.features.LaunchVPNForService Data: Exclude From Recent Apps:Off Always Start New Copy:Off ]
A6: Stop [ With Error:Off Task: ]
Below is also the Tasker runlog. Few explanations:
The task StartVPN is run by the profile VPN Enable. This profile is triggered when my home WiFi is disconnected.
The run in 00:45:55 is on background, the one in 00:52:25 is manual.
As you can see they seem identical, but in 00:45:55 (background), the app PIA VPN did not actually started, while in 00:52:25 (manual) it did start.
20190922 00.45.39 P Active ID16 VPN Enable
20190922 00.45.40 E Start ID0:0.0 TaskService
20190922 00.45.40 T Running ID12 Start VPN
20190922 00.45.55 A OK ID12.1 Start VPN.Wait
20190922 00.45.55 A OK ID12.2 Start VPN.If
20190922 00.45.55 A OK ID12.5 Start VPN.Launch App
20190922 00.45.55 A OK ID12.6 Start VPN.Stop
20190922 00.45.55 T ExitOK ID12 Start VPN
20190922 00.45.55 E Stop ID0:0.0 TaskService
20190922 00.48.07 E Start ID0:0.0 TaskService
20190922 00.48.07 E Stop ID0:0.0 TaskService
20190922 00.52.05 E Start ID0:0.0 TaskService
20190922 00.52.10 T Running ID12 Start VPN
20190922 00.52.25 A OK ID12.1 Start VPN.Wait
20190922 00.52.25 A OK ID12.2 Start VPN.If
20190922 00.52.25 A OK ID12.5 Start VPN.Launch App
20190922 00.52.25 A OK ID12.6 Start VPN.Stop
20190922 00.52.25 T ExitOK ID12 Start VPN
20190922 00.52.39 E Stop ID0:0.0 TaskService
I have experience the same and the problem doesn't get resolved.
I have a repetitive background task which runs only when the screen is off. This was running without any issue for last 5 years but it's stopped working since moved to Android 10 beta 1 in my op 7pro devices.
I have enabled all the permission and necessary things but no luck.
Appreciate if you any fix for this.
@Jim: Yes my OS is still on beta.
I am waiting for the arrival of full version and confirm accordingly.
I have received the official update of android 10.0.1 for my OnePlus 7 pro but unfortunately, the issue remains same :-(
https://developer.android.com/guide/components/activities/background-starts