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


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.


This happens also if I use the plugin $cordovaDatePicker.

 { //data from date picker });

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


the problem was in CSP:
default-src *;