Skip to content
This repository was archived by the owner on Apr 18, 2025. It is now read-only.

Commit c95265e

Browse files
author
Gabriel Fiocchi
committed
update readme.md
1 parent 3d13d63 commit c95265e

File tree

1 file changed

+14
-34
lines changed

1 file changed

+14
-34
lines changed

README.md

Lines changed: 14 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,20 @@ Note: This is not an official Google product.
1010
## Installation
1111

1212
Execute from the projects root folder:
13+
```
1314
$ cordova plugin add cordova-plugin-browsertab-themeable
15+
```
16+
17+
Or install a specific version:
18+
```
19+
$ cordova plugin add cordova-plugin-browsertab-themeable@VERSION
20+
```
21+
22+
Or install the latest head version:
23+
```
24+
$ cordova plugin add https://github.com/gabfiocchi/cordova-plugin-browsertab.git
25+
26+
```
1427

1528
## About
1629

@@ -64,37 +77,4 @@ Complete example with fallback handling:
6477
error.textContent = "failed to query availability of in-app browser tab";
6578
error.style.display = '';
6679
});
67-
});
68-
69-
<!-- ## Building
70-
71-
Install Cordova if you haven't already:
72-
73-
npm install -g cordova
74-
75-
Then from the root directory:
76-
77-
cd demo
78-
cordova platform add ios
79-
cordova run ios
80-
cordova platform add android
81-
cordova run android
82-
83-
## Development
84-
85-
During development if you want to make changes to the plugin you need to force
86-
a rebuild and add the plugin from source, like so (from the demo directory):
87-
88-
cordova plugin remove cordova-plugin-browsertab-themeable
89-
cordova plugin add ../plugin
90-
91-
To refresh the platform build:
92-
93-
cordova platform remove ios
94-
cordova platform add ios
95-
96-
To set breakpoints, etc, open the project in the code editor:
97-
98-
cordova platform add ios
99-
open platforms/ios/BrowserTabDemo.xcworkspace
100-
-->
80+
});

0 commit comments

Comments
 (0)