Hi,
I have an issue on a number of devices that I have an airwatch launcher profile installed. For some reason every 30 seconds or so the profile reloads and just kicks the user out of the current app making the device almost unusable. It does not appear to be specific on what app they are using it can be any of the allowed apps i have set.
I have around 80 devices with the profile installed and this is only affecting around 10 devices but they are all a similar Oppo mobile phone and have either android 12 or 13 installed but some work fine and others just do this.
I have had a look in the launcher logs and the only thing i can see that may help is this:
06-14-2023 10:50:31.124|main - 2|E|AWLockdown|Exception fromJson for class com.airwatch.lockdown.launcher.h.c||com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 1 path $
at com.google.gson.internal.j.i$b.a(SourceFile:13)
at com.google.gson.e.f(SourceFile:6)
at com.google.gson.e.g(SourceFile:2)
at com.google.gson.e.i(SourceFile:2)
at com.google.gson.e.h(SourceFile:1)
at com.airwatch.launcher.managers.t.q(SourceFile:7)
at com.airwatch.launcher.managers.t.A(SourceFile:2)
at com.airwatch.launcher.managers.a0.h(SourceFile:2)
at com.airwatch.launcher.managers.a0.n(SourceFile:15)
at com.airwatch.launcher.managers.a0.j(SourceFile:10)
at com.airwatch.launcher.managers.a0.A0(SourceFile:1)
at com.airwatch.launcher.managers.a0.B0(Unknown Source:0)
at com.airwatch.launcher.managers.k.run(Unknown Source:4)
at io.reactivex.u.c.a.f.s(SourceFile:3)
at io.reactivex.a.a(SourceFile:3)
at io.reactivex.u.c.a.j$a.run(SourceFile:1)
at io.reactivex.q.b.b$b.run(SourceFile:1)
at android.os.Handler.handleCallback(Handler.java:942)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:240)
at android.os.Looper.loop(Looper.java:351)
at android.app.ActivityThread.main(ActivityThread.java:8380)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:584)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1013)
Caused by: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 1 path $
at com.google.gson.stream.a.s(SourceFile:5)
at com.google.gson.internal.j.i$b.a(SourceFile:4)
... 24 more
If you have multiple payloads in the profile. I would suggest creating a new profile with just one payload in it. Provision your device to it and monitor. Then repeat the process by adding one payload each time until the issue is replicable on your testing device.
With multiple custom settings in a profile. I have seen this before. It is suggested by VMWare that if you only have "Launcher" custom settings in one profile. If you for example want to add a custom application custom setting. You should put that in a separate profile.
I only have the one payload in the driver launcher which is the 'Launcher' settings payload.
After further investigation it has become apparent that this is only affecting the devices when they update to android 13.
has anyone else had any issues with this please?
the more devices that are now updating to android 13 the more issues we get. Its definitely android 13 causing it.
Can you share a screenshot of what your Launcher Profile looks like?
