People I have a problem. I have 3 views: configuration, confwizard and photoprofile.
Confwizard calls directly to photoprofile in order to take a photo and save it in the storage. When photoprofile has finished calls navctrl.back(). Once threat has returned to configuration, event ionViewDidEnter() has triggered and then I got the picture from storage and cleaned it.
But, in the case of configuration I have 3 components each one in a different segment. One component calls to photoprofile for getting a photo. But when it returns to the view, neither, ionViewDidEnter(), onInit(), onChanges() has triggered on the return.
My problem is that I use the same view photoprofile for both views. I need one event to be triggered when it returns to the component.
One solution I think is to pass the view name to photoprofile and use navigatback instead back and modify the parameter in order to force the method onChanges to be triggered.
Please, could any one help me with this issue.