jeudi 21 mai 2015

Access Ember application instance from outside (cordova)

I want to acccess my Ember application from the outside (cordova build). I thought it would be possible this way:

window.App.__container__.lookup('controller:beacon-manager').get('currentBeacons').pushObjects(beacons);

But my the App is not availlable on window when inside cordova. Is there a clean way to access my ember app from inside Cordova? The purpose is to trigger Ember code from within a custom plugin.




Aucun commentaire:

Enregistrer un commentaire