This question is locked. New answers and comments are not allowed.
Hi,
I'd like to find out how I can import a Cordova plugin into a NativeScript project. I'm using NativeScript CLI.
If not possible, is there another way to use sqlite within my NativeScript project?
Thanks,
Chris
I'd like to find out how I can import a Cordova plugin into a NativeScript project. I'm using NativeScript CLI.
If not possible, is there another way to use sqlite within my NativeScript project?
Thanks,
Chris
4 Answers, 1 is accepted
0
Hi Christian,
Here's a copy of my reply to the support thread you opened, having the same title:
Sorry to have to say that, but NativeScript is different from hybrid apps by nature, hence no Cordova plugin can be used inside the application.
As per SQLLite, we created a proof-of-concept project in the early days of NativeScript. It is possible, however we did not include these capabilities to any preview, hence functionality not available now.
We will try adding it SQLLite functionality to the official v1.0 release.
Let me know of your vision of the API and the usage of a possible DB/SQLLite module. We will really appreciate it!
Kind regards,
Erjan Gavalji
Telerik
Here's a copy of my reply to the support thread you opened, having the same title:
Sorry to have to say that, but NativeScript is different from hybrid apps by nature, hence no Cordova plugin can be used inside the application.
As per SQLLite, we created a proof-of-concept project in the early days of NativeScript. It is possible, however we did not include these capabilities to any preview, hence functionality not available now.
We will try adding it SQLLite functionality to the official v1.0 release.
Let me know of your vision of the API and the usage of a possible DB/SQLLite module. We will really appreciate it!
Kind regards,
Erjan Gavalji
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.
0
Andrew
Top achievements
Rank 1
answered on 19 Jan 2015, 12:51 PM
Hi Erjan
The SQLite capability is central to what I have been doing using Xamarin for the past few years.
I have for example built a sync capability between SQLite and SQL Server. This capability is presently rather tightly coupled to the rest of my platform.
I would be very interested in "hacking around" with the SQLite implementation you have created once the UI controls go live in the February version of NS. At this point I should be able to migrate all of my device C# code to NS and begin to test NS in earnest.
There is no need for this to be used in production for the coming months and would represent an ideal opportunity to deeply understand NS.
Best regards
Andrew
The SQLite capability is central to what I have been doing using Xamarin for the past few years.
I have for example built a sync capability between SQLite and SQL Server. This capability is presently rather tightly coupled to the rest of my platform.
I would be very interested in "hacking around" with the SQLite implementation you have created once the UI controls go live in the February version of NS. At this point I should be able to migrate all of my device C# code to NS and begin to test NS in earnest.
There is no need for this to be used in production for the coming months and would represent an ideal opportunity to deeply understand NS.
Best regards
Andrew
0
Hi Andrew,
the data story is one of the most important scenarios we are looking to cover in NativeScript, so we will offer you with a full stack implementation for it.
We are working on a data sync component which will be available for iOS, Android and Windows. you can read more about it here - http://www.telerik.com/datasync-beta.
You will get access to the SQLite and you will also be able to work in offline mode and sync changes with a cloud server when internet connection is present.
This should be available as a preview for NativeScript sometime in March.
Please let me know if you have more questions about it.
Regards, Valentin.Stoychev
Telerik
the data story is one of the most important scenarios we are looking to cover in NativeScript, so we will offer you with a full stack implementation for it.
We are working on a data sync component which will be available for iOS, Android and Windows. you can read more about it here - http://www.telerik.com/datasync-beta.
You will get access to the SQLite and you will also be able to work in offline mode and sync changes with a cloud server when internet connection is present.
This should be available as a preview for NativeScript sometime in March.
Please let me know if you have more questions about it.
Regards, Valentin.Stoychev
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.
0
Andrew
Top achievements
Rank 1
answered on 21 Jan 2015, 08:41 PM
Thanks Valentin
Have signed up for the beta.
Regards
Andrew
Have signed up for the beta.
Regards
Andrew