Not able to download attachments PDF in mobile Android
We have a button with the following action in the "onclick" to download a PDF document: pega.ui.HarnessActions.doAttachmentSingleClick
We tested several devices :
Galaxy S6 Android 7.0 > Download KO
Galaxy J3 Android 5.1.1 > Download OK
Nexus 5 Android 6.0.1 > Download OK
Desktop Windows 10 > Download OK
I consulted the logs in the console of Google Chrome on my PC (with the USB debugging mode) of the mobile device.
I recoved the link used on mobile to download the document. This link doesn't work on Android but works on my PC.
In the Pega, I have used the tracer, there is no error.
I don't know where to look. Can you help us ?
***Edited by Moderator Marissa to update categories***
It'll be helpful if you can tell the platform version you're using. There have been major changes in 7.3 and 7.3.1 with regards to doAttachmentSingleClick api. On mobile browser we download attachments and on Hybrid Client they are shown in built-in Doc viewer.
Also, are you saying you're *not* able to download attachments only on Android 7 device?
Reviewing the thread, it does not seem that we have narrowed down the point of failure.
You have stated that Android 5 & 6 and Windows 10 work, but Android 7 and iOS 11.1 fail. This would point to something being an issue in the newer mobile OS's, or just with those two devices specifically. I would recommend investigating the associations between file type and application for those devices.
For Android 7 on Nexus you can easily reset all associations: