Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-20593

tiapp.xml: support platform elements and attribute values

    Details

    • Type: Story
    • Status: Open
    • Priority: None
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Tooling

      Description

      It might be helpful if tiapp.xml would allow for platform specific XML elements and attribute values.

      Either use namespaces:

      <?xml version="1.0" encoding="UTF-8"?>
      <ti:app xmlns:ti="http://ti.appcelerator.org">
      	<id>my.app</id>
       
      	<!-- leave default value as text node -->
      	<name ios:value="My Cool App">My App</name>
       
      	<!-- define default value as attribute -->
      	<sdk-version ios:value="5.1.0.GA" value="5.2.0.GA" />
       
      	<!-- make whole element platform specific -->
      	<android:navbar-hidden>false</android:navbar-hidden>
      	
      	<modules>
       
      		<!-- could also be used instead of <module platform="android" /> -->
      		<android:module>ti.map</module>
      		<module>ti.facebook</module>
      		
      	</modules>
      </ti:app>
      

      Or the existing platform specific sections:

      <?xml version="1.0" encoding="UTF-8"?>
      <ti:app xmlns:ti="http://ti.appcelerator.org">
      	<id>my.app</id>
      	<run-on-main-thread>true</run-on-main-thread>
      	<property name="ti.ui.defaultunit" type="string">dp</property>
      	<ios>
      		<run-on-main-thread>false</run-on-main-thread>
      		<property name="ti.ui.defaultunit">px</property>
      	</ios>
      </ti:app>
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                fokkezb Fokke Zandbergen
              • Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Backbone Issue Sync

                  • Titanium SDK/CLI <> Titanium Mobile
                    Synced with:
                    TIMOB-7066
                    Sync status:
                    ERROR
                    Last received:
                    Last sent:

                    Git Integration