Skip to main content
Participant
March 30, 2023
Question

Exception is thrown while sharing file to another app

  • March 30, 2023
  • 1 reply
  • 1817 views

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 has been closed for replies.

1 reply

Participant
March 30, 2023
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()
S_S
Community Manager
Community Manager
March 31, 2023

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.

Participant
March 31, 2023
  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