Ionic requests return 404 only on android, in Chrome it works fine

The thing is that there were some major changes in Cordova 4.0.0: Major Changes […] – Whitelist functionality is now provided via plugin (CB-7747) The whitelist has been enhanced to be more secure and configurable Setting of Content-Security-Policy is now supported by the framework (see details in plugin readme) You will need to add the … Read more

Cordova + Ionic framework – How to safely change package name?

You should make this change in the config.xml found at the root of your project. For example you might have something like this: <widget id=”com.ionicframework.exampleproject223738″ version=”0.0.1″ xmlns=”http://www.w3.org/ns/widgets” xmlns:cdv=”http://cordova.apache.org/ns/1.0″> Change the id to whatever you wish your package to be and it will work for the entire project, Android and iOS. However, if you’ve already submitted … Read more

I’m getting “Error: No resource found that matches the given name (at value with value @integer/google_play_services_version)”

For anyone encountering this issue using Android Studio and/or Gradle, you just need to make sure that you have the right dependency in your grade file. Again, do NOT hardcode this value into a versions.xml file.. Gradle eg. dependencies { compile ‘com.android.support:appcompat-v7:22.0.0’ compile ‘com.google.android.gms:play-services-gcm:7.5.0’ }