How can I log all system information about Titanium and Alloy configuration and all other information about the current build, version numbers etc?
I'm looking for something similar to PHP's phpinfo.
You can log it using the methods mentioned from @daniula and @Wahhas_mirza. But you can use the command line tools if needed to display information that relates to Alloy and Titanium.
If you open the Terminal Window, enter the keyword alloy, you will then see the usage for the command.
alloy
To view what version of alloy your project is using enter:
alloy -version
For Titanium related information use the keyword ti
ti
which then displays the usage for:
Titanium Command-Line Interface
As an example: ti info will display all relevant information that pertains to your Titanium setup
I hope this helps.
There is nothing like phpinfo() in Titanium. If you really want to print all information about your platform you can try something like this:
for (var i in Titanium.Platform) {
if Titanium.Platform.hasOwnProperty(i) {
Ti.API.info(i + ': ' + Titanium.Platform[i]);
}
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With