angular-drupal icon indicating copy to clipboard operation
angular-drupal copied to clipboard

ios incompatibilities

Open stsier opened this issue 7 years ago • 4 comments

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

stsier avatar May 17 '18 09:05 stsier

Is this for jDrupal 8 or 7?

signalpoint avatar May 17 '18 13:05 signalpoint

jdrupal8

stsier avatar May 17 '18 13:05 stsier

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.

signalpoint avatar May 17 '18 13:05 signalpoint

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

stsier avatar May 17 '18 13:05 stsier