Want to enable custom logs ( warning, Error) from our App on Zebra TC57 device

HV
Harish V
Metrolinx

hi,

We are sending below two scripts to enable logging from our app but we got below error. Pleas help.

This is Android 10 Managed device , Model : TC57 Zebra , SOTI web Console:  15.x)

  1. identify_package_certificate com.hhpos.inspection.ui
  2. add_allowed_app com.hhpos.inspection.ui XXXX AllowedAll

Error :

2022-08-30 12:19:49.109|script-executor|E|DO|[net.soti.mobicontrol.apiservice.e] failed to insert record {signature=XXXX, permissions=1, app_id=com.hhpos.inspection.ui}|

3 years ago
SOTI MobiControl
ANSWERS
RS
Rafael Schäfer
3 years ago

Take a look into the Zebra OEM app i think the configpoint there would be "Permission Access Configuration".

HV
Harish V
3 years ago

We did not find Zebra OEM app in our TC 57 device. What is this app about.

Basically we want to enable our application to send custom logs (warnings and Error) to SOTI Web console dashboard and we had tried send scripts (see my original post) but nothing worked.

FYI, same scripts are used for all our existing andorid 8.1 devices and its has been working from long time and enabling custom logs from our applications.

So, would like to know

  • Do we have diffetnt process to enable custom loggin in appliations on Android 10 devices ?
  • And, Can we analyze why these  scripts are not working ? 
RS
Rafael Schäfer
3 years ago

It's not an app on the device itself and not visible after installed. IAn OEM app provides possibilitys to change device settings via app config in the MDM. You will find the app here:

https://www.zebra.com/de/de/support-downloads/software/utilities/oemconfig-android-application.html

I don't know how to deploy the settings for the app via profile (but i think there was a way), so you should use playstore or enterprise for deploying it now.

Regarding analyzing: If you know about how to read the server (verbose) logs and the same on the device, you can take a look but in general this means normally a case to Soti, so they can analyze them.

RC
Raymond Chan Diamond Contributor
3 years ago

From my tests done years ago on many other device models, the legacy script command "add_allowed_app"  is not supported by  Android- Enterprise device agents any more..

HV
Harish V
3 years ago

Any other scripts for android 10 Managed device ?

S
SAMOD@SOTI
3 years ago

Hello everyone, 

Sorry for the delay.

Thank you for your posts.

As per SOTI Help => Script Commands for Android Classic Devices, you can find the following script identify_package_certificate, but not in Scripts Commands for Android Enterprise: Managed Devices:

identify_package_certificate

As per the following legacy script: "'add_allowed_app", there are no entries for AE or A+ in SOTI Help.

I did check with my seniors, and those scripts are no longer supported.

As mentioned earlier by Rafael, from the app Zebra OEMConfig, you may find what you need under Permission Access Configuration or Whitelist Configuration (I created an App Policy, and click on the 3 dots > Configure > Manage App Config). You can try on some test devices and see if that may help you to enable your application to send custom logs (warnings and errors):











If that could not help you, you may raise a ticket with Technical Support.

Thank you.

Regards

Technical Support | SOTI Inc. |1.905.624.9828 | support@soti.net | www.soti.net |