I have build my app for 4 platforms (Android Native/SPA, IPhone Native/SPA) it works fine for Iphone native but while running it on android native it displays an error "Unhandled Exception : kony.ui.Popup is not a constructor"

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.

Can anyone guide me why is it throwing such an error.

Hi,

If you are using V9, then POP UP wont work for you. You have to use Flex container for it.

https://docs.kony.com/konylibrary/visualizer/viz_widget_prog_guide/Default.htm#Deprecated.htm

Queries :

  1. Which version of Kony Visualizer are you using ?
  2. Is pop up created in dynamic way ?

I am using V8.4.28.0

I am using .pop method in my code to fetch the last value from array in order to goback to a previous page.

Hi,

Please Attach Sample App.

Hi,

This is the sample code

goBack:function(){

var subCategory;

if(this.breadcrumbArr.length > 1){

subCategory = this.breadcrumbArr.pop();

}

else{

this.getParentCategories();

return;

}