• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers

Open PDF with Adobe not able provide full permission from Cordova

New Here ,
Aug 13, 2018 Aug 13, 2018

Copy link to clipboard

Copied

I have a pdf file which can be edited through Adobe Acrobat. When I open straight away open the file from Adobe and edit the file, and when I press the back button it gets saved automatically, but when I open with Cordova application it is opening with Adobe and I can also able to edit that, but when press the back button and come back to app and once again hit the pdf file it is not showing the edited content (it happens only with above android 7, but below android 7 it is working fine from the app).

I open the file with this code from cordova,

Intent intent = new Intent(Intent.ACTION_VIEW);

intent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);

intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);

intent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION);

intent.addFlags(Intent.FLAG_GRANT_WRITE_URI_PERMISSION);

intent.setDataAndType(path, contentType);

cordova.getActivity().startActivity(intent);

Does it need any extra permission from the application ?

TOPICS
Acrobat SDK and JavaScript

Views

112

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 13, 2018 Aug 13, 2018

Copy link to clipboard

Copied

LATEST

Where is the connection to Acrobat Javascript?

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines