@@ -10,7 +10,20 @@ Note: This is not an official Google product.
10
10
## Installation
11
11
12
12
Execute from the projects root folder:
13
+ ```
13
14
$ 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
+ ```
14
27
15
28
## About
16
29
@@ -64,37 +77,4 @@ Complete example with fallback handling:
64
77
error.textContent = "failed to query availability of in-app browser tab";
65
78
error.style.display = '';
66
79
});
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