Can you explain how I can create a simple stand-alone application that does not use Cloud Data Storage?
I know that I can do local data calls only, to the local device, but how would the user of this Local Stand-alone application by-pass the log-on?
What would be the code that bypasses the need to log-in to the application and where would I put it?
Can you please provide a sample?
Hi stamatis,
Internet access is only required if there is no local data.
A user's email and password are used to encrypt their local data. Local data is separated by user emails. Calling cdb_auth will attempt to use the given credentials to decrypt a local file in the user's space. Being able to decrypt the files means the user has been authenticated.
If there is no internet and there is no local data then a user cannot be authenticated.
If there is internet but no local data, passing cloud authentication also grants local authentication. A user will have to create local data in this state before they can authenticate subsequent times without internet.
09-09-2020, 08:56 AM
(This post was last modified: 09-09-2020, 09:00 AM by clarencemartin.)
Hi stamatis and Efrain,
I think Stamatis does'nt understand that with LiveCloud, you use the Cloud component to build the Database that can be used locally without having to have cloud access for the project. ie, stand alone applications can be built for local data use only once it is built. All of the API's needed for the local only data applicaation are included.
I hope that my understanding is correct?
ie: once built you do not need the cloud.
That's correct, Clarence.
The data model for an app has to be created on the cloud. You can then export the toolkit and have an app be completely offline/local. All the CRUD operations can be performed on local data by passing "local" to the APIs.