A module to allow access to info.plist values at runtime.
Python Objective-C JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Classes
assets
documentation
example
hooks
platform
plist-module.xcodeproj
.gitignore
.project
ComMeeechPlist_Prefix.pch
LICENSE
README
build.py
com.meeech.plist-iphone-1.0.zip
manifest
module.xcconfig
timodule.xml
titanium.xcconfig

README

Plist Module
============

Simple module to access values from app info.plist at runtime.

I wrote this since there was no way to get the value of CFBundleVersion from your app Info.plist in Titanium.

Example Usage:

var plistmodule = require('com.meeech.plist'),
    appVersion = plistmodule.getValue("CFBundleVersion");

Ti.API.info("CFBundleVersion => " + appVersion);

FYI re. Version info: When running in the simulator, you will basically get back the short version. (ie: 2.0) When you build your .ipa and run on device, then you will get the proper bundle version value (ie: 2.0.1333059581).