Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
Development and suggestions about third part tool integration.
Cordova, Xamarin, Basic4Android topics are listed here.
  • Page:
  • 1

TOPIC:

Bookmarks disappear after app restart 6 years 28 minutes ago #13746

  • thoechtl
  • thoechtl's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 14
  • Thank you received: 0
When bookmarks are created they disappear after app restart. We store our PDFs in Library/NoCloud on iOS and the .bookmark files are deleted on app start. Is there a setting to prevent this? It happens on iOS and Android ...

Thanks for your help,
Thomas

Please Log in or Create an account to join the conversation.

Bookmarks disappear after app restart 5 years 11 months ago #13766

  • emanuele
  • emanuele's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 580
  • Thank you received: 67
Are you experiencing this issue on simulator or on a physical device?
We check both iOS and Android version and it works correctly (for iOS we used Documents directory to store PDF files).

Please Log in or Create an account to join the conversation.

Bookmarks disappear after app restart 5 years 11 months ago #13767

  • thoechtl
  • thoechtl's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 14
  • Thank you received: 0
We experience the issue on physical devices (iOS and Android) and on iOS simulator. We did not test on Android simulator.

Please Log in or Create an account to join the conversation.

Bookmarks disappear after app restart 5 years 11 months ago #13776

  • federico
  • federico's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 261
  • Thank you received: 18
Hi,
Our developers are investigating about that.
Do you have the same problem if you open a PDF file from Documents folder?

Please Log in or Create an account to join the conversation.

Bookmarks disappear after app restart 5 years 10 months ago #13849

  • thoechtl
  • thoechtl's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 14
  • Thank you received: 0
Hi,
any news on this issue? Storing the PDFs in the Documents folder is no option for us, because this folder might be exposed to the user.
developer.apple.com/library/content/docu...eSystemOverview.html

We prefer Library/NoCloud on iOS, this is also the "dataDirectory" of Cordova Plugin File. The "dataDirectory" exists for iOS and Android and is our preferred location for private files:
github.com/apache/cordova-plugin-file#where-to-store-files

Please Log in or Create an account to join the conversation.

Bookmarks disappear after app restart 5 years 10 months ago #13858

  • emanuele
  • emanuele's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 580
  • Thank you received: 67
Hi,

sorry for the late replay, but we cannot reproduce this issue.
We tried to open and add bookmark from NoCloud folder and everything work as expected.
We used this code line to open the pdf in NoCloud folder:
url: cordova.file.dataDirectory + "test1.pdf",
Then we added some bookmarks and close the app.
We restarted the demo app and bookmarks are not disappeared.
Here you can find a video with our test: we.tl/3St21vbh90
Did you modify some code of bookmark methods?
Are you able to reproduce this issue with the last plugin version? (remove and re-install the plugin from github)

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Powered by Kunena Forum