1 Reply Latest reply on Aug 16, 2016 11:57 AM by simon.macdonald

    How do you use config.xml to determine which version of an app a user will download?

    davidb24301247

      I have two APKs for the same app and I have set up the config.xml of the lower version number to work for all screen sizes.  The config.xml for the higher version number is set up for only large and extra large scresns.  Here is code from the config.xml.

       

      Version 1

      <supports-screens android:anyDensity="true" android:resizeable="true"
          android:smallScreens="true"
          android:normalScreens="true"
          android:largeScreens="true"
          android:xlargeScreens="true" />

       

       

       

      Version 2

      <supports-screens android:anyDensity="true" android:resizeable="true"
          android:smallScreens="false"
          android:normalScreens="false"
          android:largeScreens="true"
          android:xlargeScreens="true" />

       

      When I try to download the app on Google Play, only the higher version is available, independent of the device size.  When I asked Google Play why this wasn't behaving as expected they said that the manifest file for both apps was the same.  Here is the code they pulled from the manifest after using PhoneGap Build.

       

      <supports-screens android:anyDensity="true" android:smallScreens="true" android:normalScreens="true" android:largeScreens="true" android:resizeable="true" android:xlargeScreens="true"/>

       

      Can someone explain why PhoneGap Build isn't using the parameters I set in config.xml?  And how do I fix this?