Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

Use Titanium withour internet connection or logged off

Link to this, is it possible to use and work with Titanium Studio while being offline or logged out ?? Because if I cut my web connection, Titanium studio starts, but shows me as "logged in", which is not correct….and if I click on my account e-mail (bottom - right in Titanium Studio) to log off, then Titanium Studio doesn't work anymore…

You can say, work without Titanium Studio, and everything is fine, but the advantage is still the auto-completion and the nearly live output of javascript errors…

Thanks for your help !

— asked May 18th 2011 by abbdoul ab
  • internet
  • logoff
  • offline
  • studio
  • titanium
0 Comments

17 Answers

  • locate the TitaniumStudio.ini file from Titanium Studio installed directory.
    Add the following at the end of the file

    -Dtitanium.bypassAuthentication=true

    — answered July 16th 2013 by Visuddha Karunaratne
    permalink
    1 Comment
    • however i experianced problems when creating a new project

      — commented July 16th 2013 by Visuddha Karunaratne
  • This is defiantly relevant given that appcelerator.com was down last night so I could not use studio. I love the project but us being dependent on their server being up is not acceptable

    — answered June 30th 2012 by Corbin Uselton
    permalink
    0 Comments
  • The single reason I did not use Titanium Studio so far was that it won't allow me to work offline. I don't see a point of requiring logging in to a developer environment. If they want to do subscription check, they can do it offline, at any intervals they wish. But this is a big productivity killer.

    I have paid for the annual subscription and this is certainly a let down.

    I look forward to Appcelerator fixing this soon.

    — answered July 25th 2011 by Nirav Mehta
    permalink
    2 Comments
    • I strongly agree with you, why it needs connect to internet?! It's shame…
      Hamid

      — commented July 25th 2013 by Hamid M
    • I was about to leave to but there is at least 2 work arounds.

      Adding

      -Dtitanium.bypassAuthentication=true
      

      in my TitaniumStudio.ini file worked well for me.

      In windows8, the ini file is here : C:\Users\<YourName>\AppData\Local\Titanium Studio

      — commented February 23rd 2014 by Florence Chantin
  • Need to bypass Titanium Studio's login screen? Use this for offline access.

    // Run Titanium Studio using this command and log in. This creates a new "secure_storage" file and will be visible in a new document within Ti Studio. Copy the contents for safe keeping then close Ti Studio.

    $ /Applications/Titanium\ Studio/TitaniumStudio.app/Contents/MacOS/TitaniumStudio -eclipse.keyring ~/secure_storage

    // Close Titanium Studio. Run this command to make a backup of your existing "secure_storage" file.

    $ mv ~/.eclipse/org.eclipse.equinox.security/secure_storage ~/.eclipse/org.eclipse.equinox.security/secure_storage.old

    // Now, move the new "secure_storage" file to Eclipse. Launch Titanium Studio the normal way and it should bypass the login process and use the cached credentials.

    $ mv ~/secure_storage ~/.eclipse/org.eclipse.equinox.security/secure_storage

    This was done by TZ Martin and works fine so far.
    http://twitter.com/tzmartin

    — answered October 18th 2012 by Adam Fisher
    permalink
    0 Comments
  • :) Okay but Wanting the developers to be online to use Ti studio(to code) is something that bothers few developers who develop quite some code while on the move … as a result of which they are forced to go back to use either textmate / eclipse with outdated code completion … This is not of the sort of complaining but the issue that few developers face …

    — answered June 4th 2011 by Satta Ravi
    permalink
    0 Comments
  • I totally agree with this. I spend a lot of time on the train, and it's a great time to catch up on dev work. I'm not always in range of a mobile connection so I can't always fire up Ti Studio.

    I think a reasonable way forward is that Studio will run at the subscription level of the last time it had an internet connection, but if you don't log in within (say) 28 days it'll revert back to the minimal functional level.

    Shouln't be too difficult…..

    — answered June 9th 2011 by Byron Davies
    permalink
    0 Comments
  • same problem here. It's very frustrating not been able to work while traveling…

    — answered August 24th 2011 by lucio lucio
    permalink
    0 Comments
  • If you know your going to be on the move - startup Ti Studio before you leave the house and don't shut down :)

    — answered October 2nd 2011 by Bert Grantges
    permalink
    0 Comments
  • anything new on this topic?
    i need to develop on an offline pc.

    — answered December 12th 2011 by Olaf Bährl
    permalink
    0 Comments
  • Hi,

    I will be in the same boat for next 4 days. I will be out of town for next 4 days and I will not get the connectivity there. What to do now?

    Thanks !

    :Malay

    — answered January 24th 2012 by Malay Ladu
    permalink
    0 Comments
  • I think I might have found a way around this problem:

    1: You have to have a webserver running on your local machine (on port 80).
    2: Edit your system hosts file, add: 127.0.0.1 studio.appcelerator.com
    3: Start titanium.
    

    It seems like Titanium doesn't even do a proper log in at startup, it just pings studio.appcelerator.com and if it doesn't get a proper HTTP 200 response then asks you to log in.

    Disclaimer: I'm not endorsing this or even saying it will work for you. I don't know if it has any other implications on using Titanium or if it's against the EULA to do so.

    — answered March 12th 2012 by Andrew Crookston
    permalink
    2 Comments
    • You might have to have used Titanium recently in online mode.

      — commented March 12th 2012 by Andrew Crookston
    • This specifically won't work. It logs in to api.appcelerator.net.

      — commented April 16th 2012 by Ingo Muschenetz
  • You can work offline with titanium studio for 72 hours after you have logged in online, After this period Titanium Studio does an automated check and will require you to reconnect to the internet.

    — answered September 20th 2012 by Jamie Buckley
    permalink
    0 Comments
  • asdadasdasdasdasd

    — answered December 29th 2014 by Omer Obaid
    permalink
    0 Comments
  • For windows user, if it is a default installation, press CTRL+R and paste the line below and hit Enter.

    %appdata%\Appcelerator\Titanium Studio
    

    Here you can find TitaniumStudio.ini, add the line below at bottom of the ini file.

    -Dtitanium.bypassAuthentication=true
    

    Done!

    — answered April 30th 2015 by Madan Sapkota
    permalink
    0 Comments
  • Well they do this for analytics maybe for code stealing, i don't know why they need this.

    — answered May 18th 2011 by Emrah Mehmedov
    permalink
    0 Comments
  • Code stealing?
    Come on man, do you really think they need some lousy code ?

    — answered May 18th 2011 by Dan Tamas
    permalink
    0 Comments
  • After you've done the build in titanium, you can run the app perfectly in Xcode from the Build folder xcodeproj file.

    No good for developing on the move, but I needed to take a demo of an app to a client and this seemed to work for me.

    — answered July 21st 2011 by Alan Lapington
    permalink
    0 Comments
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.