Skip to content

Conversation

@NiklasMerz
Copy link
Contributor

@NiklasMerz NiklasMerz commented Nov 19, 2019

Since version 5 of ionic-native the onItemPressed handler did not work anymore. I found out that ionic-native now checks if the function to be overwritten is existing. That's why this PR adds a dummy.

Function was nicer but did break the hander at the start of the app
@MarcoEidinger
Copy link
Collaborator

Hi Niklas, can you provide a reference that ionic-native prohibits to call a function in case it was assigned dynamically?

I will check why travis buidl fails .. shouldn't be related to your change.

Probably next week I can do a new release containing your change

@MarcoEidinger MarcoEidinger self-assigned this Nov 22, 2019
@NiklasMerz
Copy link
Contributor Author

NiklasMerz commented Nov 22, 2019

Thank you very much. No need to hurry.

I think I even copied the link, but I forgot to add it to the PR. Here is the check in the overrideFunction decorator this plugin is using for onItemPressed.

@NiklasMerz
Copy link
Contributor Author

I added cordova paramedic to some other plugins before. I could help with the failing build.

@NiklasMerz
Copy link
Contributor Author

I just found this PR again. Can I do somthing to get this merged and into a new version of the plugin?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants