signalpoint / angular-drupal

An Angular JS module for Drupal.
GNU General Public License v2.0
116 stars 33 forks source link

ios incompatibilities #46

Open stsier opened 6 years ago

stsier commented 6 years ago

Very strange behavior. jdrupal runs perfectly on iOS 10.3 but does nothing on iOS9.x Problem with angular support by safari? I don't have debug tools for mac to investigate it properly, i just put alerts directly to jdrupal.js and none is called on an iphone running iOS9

signalpoint commented 6 years ago

Is this for jDrupal 8 or 7?

stsier commented 6 years ago

jdrupal8

signalpoint commented 6 years ago

If I had to guess maybe JavaScript's Promise isn't supported in iOS 9.

Nevertheless, you should be able to put an alert at the top of jdrupal.js (or jdrupal.min.js) and that should definitely show up.

stsier commented 6 years ago

ok i will try to put it on the top, i put it for now in all levels inside connect() function and it is not called anywhere even right after connect() and before promise() maybe object declaration jdrupal={} on the top of jdrupal.js is not supported? i will also check the order of *.js files inclusion