Skip to content

Commit

Permalink
update readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriel Fiocchi committed Jan 27, 2017
1 parent 3d13d63 commit c95265e
Showing 1 changed file with 14 additions and 34 deletions.
48 changes: 14 additions & 34 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,20 @@ Note: This is not an official Google product.
## Installation

Execute from the projects root folder:
```
$ cordova plugin add cordova-plugin-browsertab-themeable
```

Or install a specific version:
```
$ cordova plugin add cordova-plugin-browsertab-themeable@VERSION
```

Or install the latest head version:
```
$ cordova plugin add https://github.com/gabfiocchi/cordova-plugin-browsertab.git
```

## About

Expand Down Expand Up @@ -64,37 +77,4 @@ Complete example with fallback handling:
error.textContent = "failed to query availability of in-app browser tab";
error.style.display = '';
});
});

<!-- ## Building
Install Cordova if you haven't already:
npm install -g cordova
Then from the root directory:
cd demo
cordova platform add ios
cordova run ios
cordova platform add android
cordova run android
## Development
During development if you want to make changes to the plugin you need to force
a rebuild and add the plugin from source, like so (from the demo directory):
cordova plugin remove cordova-plugin-browsertab-themeable
cordova plugin add ../plugin
To refresh the platform build:
cordova platform remove ios
cordova platform add ios
To set breakpoints, etc, open the project in the code editor:
cordova platform add ios
open platforms/ios/BrowserTabDemo.xcworkspace
-->
});

0 comments on commit c95265e

Please sign in to comment.