Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-27411] Allow access to iOS/Android properties from tiapp.xml

GitHub Issuen/a
TypeNew Feature
PriorityNone
StatusOpen
ResolutionUnresolved
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelscb-tooling, griffin-app
ReporterBrenton House
AssigneeUnknown
Created2019-09-19T21:41:49.000+0000
Updated2019-12-12T14:51:55.000+0000

Description

Would be great to be able to have access to the iOS and Android properties that are defined in the tiapp.xml file. For some things like "team-id", a developer needs to define it again as either at different tiapp.xml property, config.json, or somewhere else in order to be able to use it when doing things like Keychain access.

Comments

  1. Chris Barber 2019-10-02

    I'm not following. The Titanium build as well as Titanium CLI plugins have access to builder.tiapp.ios\['team-id'\]. There are no properties that are used that aren't explicitly defined. Are you talking about Alloy and it's old tiapp.xml parser? Can you describe in more detail your use case?
  2. Brenton House 2019-10-02

    I was talking about from within the app code itself. Right now, in order to use the team-id, we need to store it in both properties and team-id elements in tiapp.xml.
  3. Chris Barber 2019-10-02

    Oh, ok, then I have that use case covered. All of those properties like team-id and use-app-thinning should never have been their own tag, rather properties. I would have guessed that team-id would be only of interested during build. Interesting.
  4. Brenton House 2019-10-02

    Thanks! We have to have access to the team-id for stuff like keychain access

JSON Source