How to logout from previous login Session in ionic use Ionic View?

Hi @max

I have been Using ionic View from last two days.I have used my personal account to test my app with ionic view. I have successfully uploaded my app and tested using Ionic View.Now I want to Share my app for testing across to my team with generic account.So I have been using different login to upload my app.So that I want to logout from previous login Session.How can do that?

I have tried with “ionic fails with following error.

Error logging in: Error: tunneling socket could not be established, statusCode=3
    02 (CLI v1.3.16)

Your system information:

OS: Windows 7 SP1
Node Version: v0.10.33
Cordova CLI: 3.5.0-0.2.6
Ionic Version: 1.0.0-rc.1
Ionic CLI Version: 1.3.16

I don’t know of a way to do that from the CLI, but you can simply:

rm -fr ~/.ionic/

to remove the previous session.

Disclaimer: I do not know what else may be in that folder that’s not easily reproducible, so you may want to move it instead of remove it.

1 Like

@markmceahern Thanks, this works great!

What @Thamil said would be great to have in the Ionic CLI. I also have a similar use case where login/logout CLI commands would be useful.