Rest API's were not working after build in IONIC

To publish ionic app in playstore I followed these steps

  1. Generate Key store file
  2. Signing the app
  3. Zip align the apk

But after the build I am unable to login to my application using rest apis.PLease let me know what am I missing.

Adding these lines to AndroidManifest.xml solved my problem

<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />