Ionic and Socket on IOS Device to a remote server on Heroku

Hi guys need your assistance please. i have developed a chat with ionic and socket io deployed the node.js server on and android is working perfectly on device. i have an issue with IOS device l can’t connect to socket io when l test iPhone.

I need some pointers so far adding the line below in index.html doesn’t help