package.json vs config.xml for cordova plugins

Edit: second update! 2017.05. It changes again – this time on Cordova side. Cordova 7 adds support for package.json! See on Cordova blog: http://cordova.apache.org/news/2017/05/04/cordova-7.html Edit: update 2016.05. It seems that many ionic commands were created due to lack of the features in cordova, but since cordova caught up and implemented many new features, the ionic … Read more

Phonegap Offline Database

I made an app recently that required this, targetting the same OS’s. You can use a combination of 2 databases : 1. LocalStorage :: Check for localStorage function supports_html5_storage() { try { return ‘localStorage’ in window && window[‘localStorage’] !== null; } catch (e) { return false; } } Set an item into LocalStorage localStorage.setItem(“bar”, foo); … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)