-1

Below is in my config file

  <preference name="android-maxSdkVersion" value="23" />
  <preference name="android-targetSdkVersion" value="23" />

Value 23 target Android 6.0 version but app working fine in Android 5.1 and few features like Cordova Barcode Scanner not working in 4.4.2

Kindly explain

Mani
  • 35
  • 7

1 Answers1

1

You have to set minSdkVersion in your android application.

Here are some ref. that may help you.

Link1

Link 2

Community
  • 1
  • 1
  • if I dont set minSdkVersion. Will my app work for all android version? – Mani Mar 27 '17 at 06:08
  • May be it's works but it leads several major issue such as if some of method/functions are depreciated in old versions then your app may be stops after and test period increase due increase number of API although old API not in use. So we have to choose some appropriate min sdk as well as max sdk sdk as requirement of our target audience. –  Mar 27 '17 at 06:15
  • U know my previous developer not used minsdk that's y I was wondering how it works apart from tagersdk – Mani Mar 27 '17 at 06:17
  • I already told you bro without setting min sdk it works but arise issues, if you think about long term. –  Mar 27 '17 at 06:19
  • Got it. Arigato – Mani Mar 27 '17 at 06:20
  • it explains well here https://developer.android.com/guide/topics/manifest/uses-sdk-element.html – Mani Mar 27 '17 at 07:01
  • yeah bro ... @Mani –  Mar 27 '17 at 08:14