xlmnxp / nativescript-menu

A plugin that adds a pop-up menu to NativeScript
MIT License
20 stars 8 forks source link

Unrecognized selector sent to instance 0x280bb7f40 #10

Closed ibnYusrat closed 5 years ago

ibnYusrat commented 5 years ago

Hi Again,

Sorry for being so annoying! I just updated the app to the latest version. Once again it works just fine on Android, but on iOS the previous error is gone, now I am getting this:

Screen Shot 2019-04-26 at 11 18 32

CONSOLE LOG file:///app/0.js:118:24: Menu.popup is DEFINED. -[TNSDictionaryAdapter length]: unrecognized selector sent to instance 0x280bb7f40 CONSOLE LOG file:///app/vendor.js:51513:39: Error: -[TNSDictionaryAdapter length]: unrecognized selector sent to instance 0x280bb7f40

Can we fix this?

Thanks in advance.

ibnYusrat commented 5 years ago

The menu works fine if the actions array is an array of strings. It only produces this problem when we supply array of objects as actions.

xlmnxp commented 5 years ago

now I work on other project few hours and I'll fix it

xlmnxp commented 5 years ago

fixed :smile: in 📦 nativescript-menu@1.1.0