distriqt / ANE-Core

ANE providing a centralised library for native extension common utilities and a notification / delegation system
https://airnativeextensions.com
21 stars 12 forks source link

Core.init kills the invoke event from another ANE on iOS #13

Closed pis0 closed 4 years ago

pis0 commented 5 years ago

.. and it doesn't matter the initialization order.. and I'm also a little bit confused 'cause if I just embed the Core ANE, without call the init method, all the stuff seems to be working fine, the invoke event from the other ANE as well...

distriqt ANEs I use in the app:

com.distriqt.NetworkInfo com.distriqt.Share com.distriqt.Vibration com.distriqt.Dialog com.distriqt.Notifications com.distriqt.ApplicationRater

how to proceed? :)

marchbold commented 5 years ago

Calling init(); on this ANE initialises the application delegate override system that many of our ANEs use to capture application level events.

Unfortunately only one ANE can capture this information which is why we have centralised it into the Core ANE and our other ANEs interact with it through our framework. Our framework is available for all ANE developers if you'd like to integrate it into your other ANE?

pis0 commented 5 years ago

@marchbold interesting.. how can I access the code?

marchbold commented 5 years ago

It's in this repository:

https://github.com/distriqt/ANE-Core/tree/master/integration