Skip to main content
Participant
Mar 30, 2023 9:58 AM UTC
Question

Exception is thrown while sharing file to another app

One of our customers complained about issues when he tried to share a PDF with filled out form fields from the Reader to our app. 

I was able to pin down the source of this problem to sharing a PDF, editing it, and sharing a copy, without saving a copy to the device. 

In this case the Android Studio Logcat shows following exception when you try to share the file: 

permission denial: reading com.adobe.reader.misc.fileprovider uri content://com.adobe.reader.fileprovider/flattening_temp_dir/ from pid=14042, uid=1000 requires the provider be exported, or granturipermission()

The exception prevents the selection of target apps, to share the file with, to open.
Saving a copy of the edited document into the device first, and sharing the file afterwards instead, works. 

There is a German review with 81 upvotes probably complaining about exactly this problem: 

 

This topic is closed to new replies. Start a new post to keep the conversation going.

8 replies

Participant
Mar 30, 2023 10:12 AM UTC
Permission Denial: reading com.adobe.reader.misc.ARFileProvider uri content://com.adobe.reader.fileprovider/flattening_temp_dir/Nachweis_ou_bg.pdf from pid=14042, uid=1000 requires the provider be exported, or grantUriPermission()
Translate
Souvik Sadhu
Legend
Mar 31, 2023 1:03 AM UTC

Hi @Ko29154593t9ep,

 

Hope you are doing well. Sorry for your experience with Acrobat Reader Mobile.

 

Would you mind sharing a few pieces of information for further investigation:

1. The app version of Acrobat Reader Mobile you are using;

2. The Android version of the device is running;

3. The form on which the issue is experienced.

 

While you share the above information, please ensure the application is running on the latest version per the store.

 

Look forward to hearing from you.

 

-Souvik.

Translate
Participant
Mar 31, 2023 6:05 AM UTC
  1.  Version 23.2.1.26166
  2.  I was using an Android Emulator with Android 11 (Pixel 4 API 30) at that moment
  3.  I attached the file
Translate