Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I view all information about my Titanium and Alloy install inside the console

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.

like image 585
shrewdbeans Avatar asked Jan 29 '26 19:01

shrewdbeans


2 Answers

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.

like image 137
Nando Avatar answered Jan 31 '26 07:01

Nando


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]);
    }   
}
like image 40
daniula Avatar answered Jan 31 '26 09:01

daniula



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!