3 Replies Latest reply on Aug 10, 2016 1:04 PM by ryanskihead

    target-device=handset includes iPad

    AnibalS

      Hi,

       

      Today, I have to build a new version of an app for iphone.

       

      In the past, it has worked fine with <preference name="target-device" value="handset" />.

       

      Today, new builds with cli-6.1.0, cli-6.2.0 and cli-6.3.0 include iPad attributes. For example, in the generated Info.plist, the file has these properties:

       

      ...

      <key>UISupportedInterfaceOrientations~ipad</key>

          <array>

         <string>UIInterfaceOrientationPortrait</string>
         <string>UIInterfaceOrientationPortraitUpsideDown</string>

          </array>

      ...

      <key>UIDeviceFamily</key>

          <array>

         <integer>1</integer>
         <integer>2</integer>

          </array>

      ...

       

      Any suggestion?

       

      Regards,

      Anibal - Create mobile apps for Joomla!, powered by Phonegap, Ionic and JoomGap