You are almost good to go! Now that your server pieces are complete, you can connect your client application to the Kony Fabric app and get your application up and running!
Once all services are configured and tested, connect your app to the client code by adding the required invocation code into your mobile app. This chapter will teach you the best options available to get your client app connected to your services.
To start using your Kony Fabric application, you will need to deploy the created Kony Fabric application. This can be done thru the Publish tab in your application. The Publish section manages the clouds where your service deployment is available for use. You can use this section to publish or unpublish your services deployment, and make any runtime configurations if you wish.
Follow the steps to Publish your Application:
App key
and App secret
. You need to add the app key and app secret into your client application to invoke Kony Fabric services.
To see your mobile app in action with a live backend, you need to add the required SDK invocation calls for your service. For our Kony Mobile application to be connected to Kony Fabric backend, you need to perform the following steps:
You can do this in Kony Visualizer by selecting the Kony Fabric section in the Project Explorer, and select Use Existing App.
The quickest way to get started using Kony Fabric APIs, is to use the Auto-generated code available with every service and operation. The Sample code can be accessed from Kony Fabric console using the below menu:
The sample code for each service and operation can be accessed and added into your Frontend application.
Note: Sample code snippet for selected operation: You are done! Re-build your application and try it out!
Kony Fabric also supports iOS and Android Native, and PhoneGap applications. To view sample code for other platforms, access the service or operation through Kony Fabric console and use the Sample Code menu option.
Copyright © 2017 Kony, Inc. All rights reserved. |