How to publish for iPhone and not iPad?



  • The <onsen range> object does not work properly on my iPad. Also some other HTML5 code behaves strange. This is fine, i will publish to iPhone only.

    How to do this?

    I did check the the iPhone box:

    0_1479241503367_upload-71a9be4a-c31a-49af-bfcf-a66e693c2f3c

    But when i submit this to the AppStore they test it on iPad and reject the app.

    What else can i do?

    Thankx


  • Monaca

    Is your project a Cordova 6.2 project? Are you using Custom Config plugin?



  • I’m using Monaca Cloud, it says Cordova 6.2.0
    The Custom Config plugin is not activated.



  • Update:

    I tried adding the plugin, but it removes elements from the screen (icons and values from the db).



  • Update:

    Although i unchecked the box for iPad(and it is still unchecked) i found this in de config.xml:

      <preference name="monaca:targetFamilyiPhone" value="1"/>
      <preference name="monaca:targetFamilyiPad" value="1"/>
    

    That might be it.

    Still i would be nice to solve, because also the setting “full screen” does not work. And the config.xml has:

    <preference name="Fullscreen" value="true"/>
    


  • try it

    <preference name="orientation" value="default" />
    <preference name="fullscreen" value="true" />
    

  • Monaca

    @Remco-Koffijberg said:

    Update:

    I tried adding the plugin, but it removes elements from the screen (icons and values from the db).

    @Remco-Koffijberg From where exactly? It should not touch those things.

    Can you open a support ticket here and specify your project id?



  • @Leonardo-Augusto said:

    <preference name=“orientation” value=“default” />
    <preference name=“fullscreen” value=“true” />

    Thanks Leonardo,

    those lines where in there (but with a capital) i changed it but the status bar is still visible. It pops up when entering text in the text box.

    Tx!



  • @Andi

    I just did that , tx!



  • @Remco-Koffijberg !

    The first screen is ok, the second is with Custom Config

    0_1479379880799_2016-11-17 10.49.43.png

    0_1479379898576_2016-11-17 10.50.46.png


Log in to reply