[TIMOB-7357] iOS: Module Version - Allow programmatic access to Modules' version and Git hash
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | Low |
Status | Open |
Resolution | Unresolved |
Affected Version/s | Release 2.0.0 |
Fix Version/s | n/a |
Components | iOS |
Labels | n/a |
Reporter | Patrick Seda |
Assignee | Ingo Muschenetz |
Created | 2012-01-24T12:41:30.000+0000 |
Updated | 2016-08-23T03:51:43.000+0000 |
Description
Expose the ability to programmatically determine the version and Git hash of installed modules.
iOS module versions are baked into the
ApplicationMods.m
file. It's missing the git hash, but I'm not certain native modules even have git hashes since not all native modules are in git. Might be handy to also identify if the module is a native module or a CommonJS module or a native wrapped CommonJS module. I'm unaware of a Titanium API to access which modules are bundled with the app, so we'd need to add that. Oh, and then whatever we come up with has to work for Android and Windows. Basically, I think [~patrickseda] should submit a PR... with unit tests... and docs.