KONY Platform Interoperability (Native Apps <===> KONY )

This thread was migrated from an old forum. It may contain information that are no longer valid. For further assistance, please post a new question or open a support ticket from the Customer Support portal.

Hi Everybody,

1. If I have a code (or library) I previously developed in Objective-C, Swift or Java/Kotlin ..

Can I re-use this library in my KONY project?

2. Could this code (or library) (question. #1) only consist of Bussiness logic or could it also include customized/extended Native UI components?

(Let's say a specific "Login" page component ?)

3. Opposite direction question: I have an application developed using KONY . Can I wrap a part of this app somehow (as a Native OS library, for example) to be re-used in my iOS or Android native code apps?

Thank you 😃

Hi @Avv Butlew​

  1. Yes, you can use the code written in Objective-C or Swift in your Kony project, using FFI. For more information about FFI refer http://docs.kony.com/6_5/konylibrary/studio/studio_user_guide/Content/Foreign_Function_Interface_JS.htm and https://basecamp.kony.com/s/question/0D56A00000AnrgWSAR/using-objectivec-and-swift-together-in-kony-visualizer-ios-ffi.
  2. The code can include customized/ extended Native UI components as well as custom widgets. For more information about custom widgets, refer http://docs.kony.com/konylibrary/visualizer/visualizer_user_guide/Content/Using_Custom_Widgets.htm.
  3. Yes, you can wrap your Kony project and re-use it in your iOS or Android native code apps. For more information on how to do so, refer http://docs.kony.com/konylibrary/visualizer/visualizer_user_guide/Content/Build_nativeLibrary.htm.

Hi,

Thank you for your response!

However, I still need a few clarifications ...

If you are talking about FFI integration ... for (1 & 2) it still states a limitation (at least for v6.5) : " .....Custom widgets cannot be consumed through FFI. .."

So its kind of confusing ...

Let's imagine I have a custom UI component (widget) extended from a native OS UI component ... Can I still reuse this one in KONY Environment ?

(FYI : I am not talking here about VIsualizer only ... Correct me if I am wrong .. but once you started to develop a real KONY Application using JS ., there are no way you can go back to Visualizer (Free Prototyping tool for any environment , not only KONY)

#2 Here you are talking about Visualizer .. and its confusing again ... My question was regarding KONY environment ... after Prototyping phase is completed and application is going through JS development phase ...

#3 The same issue as per #2 .... My question was regarding a delivered KONY based app where developers utilized all modules using JS.

and Visualizer has nothing to do with this step ...

Hope it helps ..

Thank you,

Hi @Avv Butlew​

#2 Our IDE name for version 6.5 is Kony Studio, but from 7.0 it is Kony Visualizer.

For V6.5, you cannot use both FFI and Custom widgets together. However, you can use either FFI or Custom widgets.

FFI and Custom widgets can be used together from V7.2

#3 Although it is a delivered Kony app, you cannot re-use it in your Android or iOS native code apps, since V6.5 is EOL version. It is possible using native librabries, only in the latest version of Visualizer.

V6.5 is EOL version. We recommend you to update your Visualizer to the latest version, to avail all the exciting features. Here is the link https://community.kony.com/downloads

Hi,

Thank you for your response!

Since, for no reason you assumed I am using v6.5 ,the response to my question,it led to the confusion again ..

Let's imagine I have the latest version (v8.2) .. Can you clearly confirm an answers to my original questions bellow :

1. If I have a code (or library) I previously developed in Objective-C, Swift or Java/Kotlin ..

Can I re-use this library in my KONY project?

(?)#1 Yes , using FFI and also applicable for extended Native OS UI components (from v7.2)

Is this correct ?

2. Could this code (or library) (question. #1) only consist of Business logic or could it also include customized/extended Native UI components?

(Let's say a specific "Login" page component ?)

(?) #2 Yes , from v7.2

Is this correct ?

3. Opposite direction question: I have an application developed using KONY . Can I wrap a part of this app somehow (as a Native OS library, for example) to be re-used in my iOS or Android native code apps?

(?)#3 No, I can't re-use a modules developed using JS in KONY environment (Visualizer) , for example as a separately exported library, in my Native OS apps .

Hope it helps.

Thank you,

@Avv Butlew​

Please find the answers to your initial questions below.

1) Yes. If you have a code written in Objective C and Java you can link it to your Kony application using FFI.

http://docs.kony.com/konylibrary/visualizer/visualizer_user_guide/Default.htm#Foreign_Function_Interface_JS.htm

2)Yes. If you have a Native UI component/widget you can use it in Kony using the option custom widgets.

http://docs.kony.com/konylibrary/visualizer/visualizer_user_guide/Default.htm#Using_Custom_Widgets.htm%3FTocPath%3DDesigning%2520an%2520Application%7CPopulate%2520Screens%2520with%2520Widgets%7CImport%2520Custom%2520Widgets%7C_____0

3)Yes in the latest version. If you have an application developed in Kony, you can wrap it into an iOS or Android application. This feature is not available in the older versions of Kony.

Here is a video that can help you in creating it: https://youtu.be/nYluV1C1Kc4

You can also refer the following documentation for more information.

http://docs.kony.com/konylibrary/visualizer/visualizer_user_guide/Default.htm#Build_nativeLibrary.htm

Hope this helps.