Not able to open PDF files from within custom app in Lockdown

TK
Todor Kostadinov
ENERGO-PRO Varna EOOD

Hi,

I have read almost every thread/discussion for opening PDF files here.

But I'm still not able to open PDF files from within our main custom app.

When custom app .apk is installed on clean tablet (without SOTI), the app is able to download requested pdf from our server and when I try to open the file, pop-up is displayed offering to choose between two apps: Browser and Samsung notes. Then the file is dipslayed.

When SOTI is installed, clicking on the downloaded file does not bring any responce. It does not matter if i'm in user or admin mode.

Our profiles for these tablets have lockdown. The com.google.android.apps.pdfviewer is added (Launch://com.google.android.apps.pdfviewer) to the lockdown, and I'm able to open all .pdf files from Library.

Also if I upload the same pdf files (the ones I download within the custom app) the same google pdf viewer is used when I try to open the files from Download folder in file manager and files are displayed.

SO, the files are OK, I think the Lockdown configuration is OK.

What is bugging me is that on clean tablet the app is offering to open the files with Browser or Samsung notes, not with the PDF viewer. Is it possible that the app is not programed right? That the click action is sending the wrong "message" to the Android OS?

I don't know nothing about Android coding, so my questions are pure speculation...

Or I really miss some in debth setting in Lockdown configuration?


Our environment:

Tablets: SAMSUNG-SM-T545, Android 11

Agent Version  15.0.1.1051

Self hosted SOTI mobicontrol v. 15.5.0.1021

6 months ago
SOTI MobiControl
ANSWERS
RC
Raymond Chan Diamond Contributor
6 months ago

What is the file extension of the file to be opened?  I am a bit curious.  If  com.google.android.apps.pdfviewer is installed on the device, why isn't it also included in the pop-up together with the other two apps (Browser and Samsung Notes)?

If the file extension of the file is .pdf, you can try to configure the DEFAULT viewer app for opening such file on your device, so that no pop-up offering app choice(s) is needed while the kiosk/lockdown mode is off.  After this, make sure the chosen default app is whitelisted (e.g. included as either a visible or a hidden item in the lockdown menu).  Then there should be no problem opening the file when the kiosk/lockdown-menu is on.

TK
Todor Kostadinov
6 months ago

Hi,

The file extension is of course .pdf.

The developers have finally heard my request and now everything is working fine.

This thread can be closed.

Thank you, Raymond!