For up-to-date product documentation, see the IBM MobileFirst Foundation Developer Center.


Enabling JSONStore

To use JSONStore in MobileFirst applications, we must take steps to enable it.


Overview

For iOS native apps, we must import the JSONStore iOS framework into the Xcode project.We can obtain the JSONStore feature in two ways:

For more information about creating native MobileFirst iOS applications, see Developing native applications for iOS in Xcode.

For native Android applications, we must add the files using gradle. For more information about creating native MobileFirst Android applications, see Setting up Android Studio projects with Gradle.

After adding the JSONStore SDK, we can use the classes inside the com.worklight.jsonstore.api package to use JSONStore.

For Cordova applications, we must add the cordova-plugin-mfp-jsonstore plug-in to our MobileFirst Cordova app. For more information see Adding MobileFirst features to an existing Cordova app.

Parent topic: JSONStore