Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-20542] Parity: iOS modules should be able to inject into tiapp.xml like Android modules

GitHub Issuen/a
TypeNew Feature
PriorityNone
StatusOpen
ResolutionUnresolved
Affected Version/sn/a
Fix Version/sn/a
ComponentsiOS
Labelscb-tooling
ReporterFokke Zandbergen
AssigneeChris Barber
Created2016-03-10T09:55:12.000+0000
Updated2020-01-30T11:39:29.000+0000

Description

For Android we support that modules can define settings in timodule.xml that then will be merged into tiapp.xml. This saves the user form a lot of (likely to cause errors) trouble of doing this himself. Example: https://github.com/appcelerator-modules/ti.map/blob/master/android/timodule.xml Although the module templates have an <iphone> section in timodule.xml, this doesn't do anything. It would be very helpful if iOS modules could do the same. This would simply the use of modules like Facebook which now require a lot of settings to be added by the user: http://docs.appcelerator.com/platform/latest/#!/api/Modules.Facebook

Comments

  1. Chris Barber 2020-01-30

    I don't think the timodule.xml is merged into the tiapp.xml per se. Rather the <android> section is parsed using the AndroidManifest parser, then merged with various AndroidManifests. Now that we have established that timodule.xml is not merged into tiapp.xml, I don't think it's a good idea to merge them into the tiapp.xml. Maybe if we namespaced the module settings.

JSON Source