[TIMOB-20542] Parity: iOS modules should be able to inject into tiapp.xml like Android modules
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | None |
Status | Open |
Resolution | Unresolved |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | iOS |
Labels | cb-tooling |
Reporter | Fokke Zandbergen |
Assignee | Chris Barber |
Created | 2016-03-10T09:55:12.000+0000 |
Updated | 2020-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
I don't think the
timodule.xml
is merged into thetiapp.xml
per se. Rather the<android>
section is parsed using the AndroidManifest parser, then merged with various AndroidManifests. Now that we have established thattimodule.xml
is not merged intotiapp.xml
, I don't think it's a good idea to merge them into thetiapp.xml
. Maybe if we namespaced the module settings.