Mobideck / appdeck

AppDeck is a mobile hybrid application engine for iOS and Android.
http://www.appdeck.mobi/
47 stars 22 forks source link

appdeck.js - API Channels #97

Open SouhailJebali opened 7 years ago

SouhailJebali commented 7 years ago

Hello,

I've noticed that in the secure appdeck.js file : https://appdata.static.appdeck.mobi/js/appdeck.js the "Channels" API do calls to unsecured links which causes errors when i want to configure channels on my app :

channels: { get: function(callback) { return app.helper.ajax("http://push.appdeck.mobi/channel/get", null, callback); }, set: function(channels, callback) { return app.helper.ajax("http://push.appdeck.mobi/channel/set", channels, callback); }, add: function(channel, callback) { return app.helper.ajax("http://push.appdeck.mobi/channel/add", channel, callback); }, remove: function(channel, callback) { return app.helper.ajax("http://push.appdeck.mobi/channel/remove", channel, callback); } }

Thanks.