I want to develop offline book reading app using flutter. There is any way in flutter so that user can access book offline.
Asked
Active
Viewed 8,609 times
0
-
Yes it can be done , you can pack the data needed by your app and release. you can read about Assets https://flutter.io/assets-and-images/ – sreeramu Oct 10 '18 at 04:39
-
I want to hide the book user not able to copy a book from my app. There is any way I want to store the whole book contains in encrypted mode, so the user can only read the book. – Dev Oct 10 '18 at 04:45
-
Flutter provides the interface to access your stored files, as you are writing your code using dart you can write your own encryption method , and access your files using that method. – sreeramu Oct 10 '18 at 05:23
-
Okay I will try thanks sreeramu – Dev Oct 10 '18 at 06:24
2 Answers
2
you can put data in form of json and load data when you requires it
you can read more about it here

porugosib
- 31
- 2
0
You can download the images/pdf files of your book in the device storage (External Storage) by asking user like
"Hey! Do you want this to be available offline? Cool, click the button and grant the storage permission in order to proceed".
After this, you can download the files from the server in device external storage and use it. Simple!

CopsOnRoad
- 237,138
- 77
- 654
- 440