At run time, is there a way to read CFBundleVersion
from the Info.Plist ?
I want to display the version info in the app's "About Box".
Thanks in advance,
-Ed
At run time, is there a way to read CFBundleVersion
from the Info.Plist ?
I want to display the version info in the app's "About Box".
Thanks in advance,
-Ed
I suggest you use this very well done library
You'll have all the info you need I think.
EDIT
You can also use some Obj-C in your AppDelegate.m file. Just add these lines :
and replace these lines :
with these :
You're here passing the version as a prop to you first iOS view. That means that you can get the app version using
this.props.version
in yourindex.ios.js
file.