com.lampa.startapp
com.lampa.startapp copied to clipboard
startapp.start callback methods not working in Ionic 3
Hello lampa,
i am trying to open external app with some callback activity. so for that below is my code.
this.appStarter = (window as any).startApp.set({ "application": appId });
this.appStarter.start(function (){
alert("Success Callback");// any other code also not working here.
}, function(){
alert("Error Callback");// any other code also not working here.
});
In Above code success callback and error callback are not working in both method startApp.check()
and startApp.start()
Note: external app is opening successfully.
Is there any other way to execute callback methods?
@pravinCignex Hi!. alert()
not working in cordova, but callbacks should work exactly, check via console.log()