Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-7357] iOS: Module Version - Allow programmatic access to Modules' version and Git hash

GitHub Issuen/a
TypeNew Feature
PriorityLow
StatusOpen
ResolutionUnresolved
Affected Version/sRelease 2.0.0
Fix Version/sn/a
ComponentsiOS
Labelsn/a
ReporterPatrick Seda
AssigneeIngo Muschenetz
Created2012-01-24T12:41:30.000+0000
Updated2016-08-23T03:51:43.000+0000

Description

Expose the ability to programmatically determine the version and Git hash of installed modules.

Comments

  1. Chris Barber 2016-08-23

    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.

JSON Source