Compare commits

..
7 changed files with 56 additions and 30 deletions
+17 -17
View File
@@ -1,20 +1,20 @@
<!---
license: Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
<!--
# license: Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
-->
# cordova-plugin-inappbrowser
+26
View File
@@ -164,3 +164,29 @@
* ubuntu: implement inject* functions
* ubuntu: port to oxide
* CB-7897 ios, android: Update to work with whilelist plugins in Cordova 4.x
### 1.0.0 (Apr 15, 2015)
* CB-8746 gave plugin major version bump
* CB-7689 Adds insertCSS support for windows platform
* CB-4930 - (prefix) InAppBrowser should take into account the status bar
* CB-8635 Improves UX on windows platform
* CB-8661 Return executed script result on Windows
* CB-8683 updated wp and browser specific references of old id to new id
* CB-8683 changed plugin-id to pacakge-name
* CB-8653 properly updated translated docs to use new id
* CB-8653 updated translated docs to use new id
* Use TRAVIS_BUILD_DIR, install paramedic by npm
* CB-8432 Correct styles for browser wrapper to display it correctly on some pages
* CB-8659 - Update InAppBrowser to support both cordova-ios 4.0.x and 3.x (closes #93)
* CB-7961 Add cordova-plugin-inappbrowser support for browser platform
* CB-8653 Updated Readme
* Update docs for Android zoom=no option
* Added option to disable/enable zoom controls
* updated docs, set hardwareback default to true
* Add a hardwareback option to allow for the hardware back button to go back.
* CB-8570 Integrate TravisCI
* CB-8438 cordova-plugin-inappbrowser documentation translation: cordova-plugin-inappbrowser
* CB-8538 Added package.json file
* Keep external android pages in a single tab. (close #61)
* CB-8444 Add a clobber for `cordova.InAppBrowser.open` (close #80)
* CB-8444 Don't clobber `window.open` - Add new symbol/clobber to access open function (`cordova.InAppBrowser.open`) - Change existing tests to use new symbol (i.e. don't rely on plugin clobber of `window.open`) - Add tests to use `window.open` via manual replace with new symbol - Update docs to deprecate plugin clobber of `window.open`
+2 -2
View File
@@ -1,9 +1,9 @@
{
"name": "cordova-plugin-inappbrowser",
"version": "0.6.1-dev",
"version": "1.0.1-dev",
"description": "Cordova InAppBrowser Plugin",
"cordova": {
"id": "org.apache.cordova.inappbrowser",
"id": "cordova-plugin-inappbrowser",
"platforms": [
"android",
"amazon-fireos",
+2 -2
View File
@@ -19,8 +19,8 @@
-->
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
id="org.apache.cordova.inappbrowser"
version="0.6.1-dev">
id="cordova-plugin-inappbrowser"
version="1.0.1-dev">
<name>InAppBrowser</name>
<description>Cordova InAppBrowser Plugin</description>
+4 -4
View File
@@ -198,19 +198,19 @@ var IAB = {
},
injectScriptFile: function (win, fail, args) {
var msg = 'Browser org.apache.cordova.inappbrowser injectScriptFile is not yet implemented';
var msg = 'Browser cordova-plugin-inappbrowser injectScriptFile is not yet implemented';
console.warn(msg);
fail && fail(msg);
},
injectStyleCode: function (win, fail, args) {
var msg = 'Browser org.apache.cordova.inappbrowser injectStyleCode is not yet implemented';
var msg = 'Browser cordova-plugin-inappbrowser injectStyleCode is not yet implemented';
console.warn(msg);
fail && fail(msg);
},
injectStyleFile: function (win, fail, args) {
var msg = 'Browser org.apache.cordova.inappbrowser injectStyleFile is not yet implemented';
var msg = 'Browser cordova-plugin-inappbrowser injectStyleFile is not yet implemented';
console.warn(msg);
fail && fail(msg);
}
@@ -218,4 +218,4 @@ var IAB = {
module.exports = IAB;
require("cordova/exec/proxy").add("InAppBrowser", module.exports);
require("cordova/exec/proxy").add("InAppBrowser", module.exports);
+3 -3
View File
@@ -159,14 +159,14 @@ namespace WPCordovaClassLib.Cordova.Commands
public void injectScriptFile(string options)
{
Debug.WriteLine("Error : Windows Phone org.apache.cordova.inappbrowser does not currently support executeScript");
Debug.WriteLine("Error : Windows Phone cordova-plugin-inappbrowser does not currently support executeScript");
string[] args = JSON.JsonHelper.Deserialize<string[]>(options);
// throw new NotImplementedException("Windows Phone does not currently support 'executeScript'");
}
public void injectStyleCode(string options)
{
Debug.WriteLine("Error : Windows Phone org.apache.cordova.inappbrowser does not currently support insertCSS");
Debug.WriteLine("Error : Windows Phone cordova-plugin-inappbrowser does not currently support insertCSS");
return;
//string[] args = JSON.JsonHelper.Deserialize<string[]>(options);
@@ -199,7 +199,7 @@ namespace WPCordovaClassLib.Cordova.Commands
public void injectStyleFile(string options)
{
Debug.WriteLine("Error : Windows Phone org.apache.cordova.inappbrowser does not currently support insertCSS");
Debug.WriteLine("Error : Windows Phone cordova-plugin-inappbrowser does not currently support insertCSS");
return;
//string[] args = JSON.JsonHelper.Deserialize<string[]>(options);
+2 -2
View File
@@ -19,8 +19,8 @@
-->
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
id="org.apache.cordova.inappbrowser.tests"
version="0.6.1-dev">
id="cordova-plugin-inappbrowser-tests"
version="1.0.1-dev">
<name>Cordova InAppBrowser Plugin Tests</name>
<license>Apache 2.0</license>