Hello,
Thank you for specifying this. As to your questions.
According to
this issue in Cordova (which apparently won't be fixed), in a project that uses Apache Cordova, you cannot open/use a database located on the SD card (due to the pattern used to resolve a file path). It appears that you may consider some of the following:
- Downloading the data from the company servers at the first launch.
- Ship the database as a resource and copy it to the app's directory prior to opening it (presumably with the suggested plugin in my previous reply)
- At the first run of the app - copy the contents of the file from the sdcard to the app storage (using the
Cordova File API) and start using it in your app from there.
- Initialize the database with a SQL statement on the first run of the app.
In regard to the SQLIte support in NativeScript, this functionality is not yet implemented in a NativeScript module. You can follow the feature request
here. If this fits in your scenario, in a NativeScript app you can also use the
File System API to access and work with local files on the device app.
Using the iOS Enterprise program should drop the limit for the app packaged file size. For Android, the size of the app package applies only to apps submitted to the Google Play store. However, with a larger file package you might experience a lot of delays and timeouts during the AppBuilder build in the cloud (the process that builds the project to an application package ready for deploying to devices).
Let me know if this helps.
Regards,
Anton Dobrev
Telerik