Please I built my app with ionic 2 and I have tested it on all versions of Android and it works very well on Android 4.4 upwards but when I uploaded it to Google Playstore the supported android version that is shown there is 4.1 upwards. People that have installed the app on Android version 4.1, 4.2 and 4.3 have been complaining that the app is not working. So please is there a way I can specify the Android version it supports maybe on the config.xml file of the app before I upload to playstore so that Playstore will use the one set in the config.xl file.
Thanks for your response, from what I read in that link above, the targetSdkVersion mean the Android API level. And from your code , means am targeting Android 4.0.3 and above. But am actually targeting 4.4 and above so I changed it to , because SdkVersion=“19” in the Android API level stands for Android KIKKAT. Please I want to know if my code is correct before I build it and submit to Playstore.
The code from @gerardx20 belongs in the file platforms/android/AndroidManifest.xml. But I highly recommend to not change this file. Change directly cordova’s config.xml by adding this: