maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

I can not connect the app with a local database

I don't believe SQLite works with JSON, you can look at API here: http://docs.phonegap.com/en/1.7.0/cor....
Other people are looking for something similar:
https://www.google.com/search?sourcei...

Once you can easily get/save JSON into a storage, you could wrap it in Generic Service.

Gail
Posts: 0
Joined: Tue Mar 06, 2012 12:34 am

I can not connect the app with a local database

I've read that you can connect to Apple's Core Data framework via REST. You could build your app in Tiggzi, export the source, then add in the Core Data framework and make the necessary updates to the xcode files. Of course this only works for iOS devices.

It would be nice if Tiggzi would integrate the Core Data framework into their App Builder so we could easily connect to a local/native database via REST. Tiggizi, you could charge an extra fee for this advanced functionality, or just add this functionality to your existing Pro package.

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

I can not connect the app with a local database

If you can connect to it via REST, then you can do it today, you don't need any plug-ins. I searched for it and it seems to be a native feature -- so I doubt REST will work.

Our native capabilities are coming from PhoneGap and its API. I don't think PhoneGap provides this API out of the box but you could see if a plug-in is available.

Gail
Posts: 0
Joined: Tue Mar 06, 2012 12:34 am

I can not connect the app with a local database

Here's a page which mentions how RESTKit interacts with Core Data: http://restkit.org/ I'm guessing this means you (Tiggzi) would have to install the RESTKit Framework in your app builder system.

And for any programmer's out there, here's a link to the Core Data Programming Guide:
https://developer.apple.com/library/m...

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

I can not connect the app with a local database

RESTKit is a native iOS library, so it can't be installed in our builder. In Tiggzi, you build a mobile web app or a hybrid app via PhoneGap. As I mentioned, if you are looking to work with REST services, you can use any REST service without any additional libraries.

Return to “Issues”