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 ?
Copy link to clipboard
Copied
Where is the connection to Acrobat Javascript?