Callback fired in iOS9.3 but not in iOS10.2


#1

Hi,
I got a strange problem…

In my app, I have a service that returns a $q promise.
As always, I processed the promise using “.then(…”.

My app works fine in a iPhone 4s device with iOS9.3,
but in device with iOS10.2, the callback is not fired.
It is fired, for example, if I push home button and then I push on my app again.

Thanks
A

P.S.
This happens also if I use the plugin $cordovaDatePicker.

 $cordovaDatePicker.show(options).then(function(date)
 { //data from date picker });

‘function(date)’ is not fired and the picker is not shown.


#2

the problem was in CSP:
default-src *;