Commit Graph

254 Commits

Author SHA1 Message Date
Landsbankinn
d940b596b6 Android works well now, all changes are now documented 2017-10-06 14:45:12 +00:00
Landsbankinn
f3d7f72c9e Lets user adjust color of toolbar, hide navigation buttons and set custom text on close button 2017-10-06 14:45:00 +00:00
Kei Oikawa
dcc00fc3bd CB-13347: Enable thirdparty cookies on >=Android 5.0 device 2017-09-27 09:57:43 -07:00
Audrey So
902427525f CB-12895 : added eslint and removed jshint 2017-08-29 15:13:21 -07:00
Alexander Sorokin
72ac4d7eca CB-13028 (CI) Browser builds on Travis and AppVeyor, Fixes tests on browser and browser implementation 2017-07-27 15:55:11 +03:00
Julio César
32d867f8e4 CB-12586 (iOS) fix method hide doesn't work
This closes #229
2017-07-23 19:02:19 +02:00
filmaj
bfb33988be CB-12266: (browser platform) loadstop event.url is now a string instead of an object, aligning it with the other platforms. 2017-04-25 16:19:48 -07:00
daserge
c9ff78abfd CB-11248 InAppBrowser no focus on input text fields 2017-03-20 12:21:04 +03:00
Reid Beels
c6ffd69e9c CB-12366: (ios) Reduce tmpWindow level to prevent overlapping statusbar
This closes #209
2017-02-21 21:08:45 +01:00
daserge
d842693889 CB-12364 [Windows] Inappbrowser inject file manual tests are not working 2017-01-26 12:35:24 +03:00
박관영
fe686b3c1f CB-9148 (android) Add Support for input[type=file] File Chooser
This closes #205
2017-01-09 09:46:54 -08:00
박관영
c53be403e2 CB-9148 (android) Add Support for input[type=file] File Chooser 2017-01-09 09:27:53 -08:00
박관영
26f7ef3c67 CB-9148 (android) Add Support for input[type=file] File Chooser 2017-01-09 09:27:53 -08:00
박관영
2a383a66c5 CB-9148 (android) Add Support for input[type=file] File Chooser 2017-01-09 09:27:53 -08:00
박관영
1c49092205 CB-9148 (android) Add Support for input[type=file] File Chooser 2017-01-09 09:27:53 -08:00
박관영
680971316d CB-9148 (android) Add Support for input[type=file] File Chooser 2017-01-09 09:27:53 -08:00
박관영
ad28a0ec68 Add Support for input[type=file] File Chooser 2017-01-09 09:27:53 -08:00
박관영
fa70a64af9 Add Support for input[type=file] File Chooser 2017-01-09 09:27:53 -08:00
Manu Mtz.-Almeida
f32917df31 CB-11136: (ios) Fix InAppBrowser when closing with WKWebView
This closes #187
2017-01-03 15:28:43 -08:00
Julio César
d735649fcd CB-10799 (ios) fix toolbar is shown in incorrect position when in-call status bar
This closes #203
2016-12-22 23:51:51 +01:00
Sebastien Blanc
d73ec0b796 add option useWidthViewPort
This closes #66
2016-12-01 23:27:29 +01:00
Julio César
8ab07277cd CB-12184 executeScript leads to a null pointer on exception on Android.
This closes #199
2016-11-24 19:47:50 +01:00
Philippe Morier
1b4859c175 fix(close button): Set correct content description
This closes #196
2016-11-14 20:01:48 +01:00
ipaterson
5cbbc8e26e CB-9274 Adds missing methods to InAppBrowser to allow compilation for Amazon FireOS.
This closes #107
2016-11-13 17:30:09 +01:00
daserge
f8747a700d CB-10973 inAppBrowser for Windows Platform: wrong height of webview with location=yes
Redoing as there was still a little gap
2016-10-24 19:28:55 +03:00
Frank Stingl
20c21f39df removed duplicate hide method in ios source and add jasmine test cases 2016-10-19 11:36:20 +02:00
ekidder3
df8bcaf751 CB-8467
Added support for hiding the web view container.  This maintains the browser
session without closing it.  The browser window can be repeatedly hidden and
shown.

** This has only been tested on android and ios **

amazon/android:
An additional `hide` action was added to `InAppBrowser#execute`.  It is
identical to `show`, except that it calls `dialog.hide()` instead.

blackberry10:
no changes

firefoxos:
Added a `hide` method that is identical to `show`, indicating it is not
supported.

ios:
Added a `hide` method that is identical to `show`, except that it uses
`dismissViewControllerAnimated`.  It checks the value of
`_previousStatusBarStyle`.  If it is `-1`, the method returns with no
action performed.  If it is not, it is set to `-1.`

ubuntu:
Added a `hide` method that sets `CordovaWrapper.global.inappbrowser.visible` to
`false`.

windows:
Added a `hide` method that sets `browserWrap.style.display` to `none`.

wp:
Added a `hide` method that is identical to `show`, except that it sets
`browser.Visibility` to `Visibility.Collapsed` and sets `AppBar.IsVisible` to
`false`.
2016-10-18 10:41:26 -04:00
Alexander Sorokin
ab696f6ebd CB-12010 (android) Catch FileUriExposedException 2016-10-17 13:06:28 +03:00
pwlin
32253b96a6 CB-11955 Added Initial OSX platform support
- Added src/osx plugin folder structure.
- Added OSX platform to plugin.xml and package.json files.
- Added _system target functionality for OSX.
- Modified README.md to include information about OSX support.
- Disabled 'open method' jasmine tests for OSX.

 This closes #190
2016-10-13 12:43:39 +09:00
Nikita Matrosov
2df0e72c36 CB-11694 Android: Set hadwareBackButton value according option in cordova.InAppBrowser.open
HadwareBackButton value persists across usages. By default hardwareBack value is null. In this case we should set hadwareBackButton  to default value.

 This closes #188
2016-09-28 11:04:12 +03:00
Gavin Pacini
cc2ec22695 Add intent scheme to be handled by OS
The intent scheme `intent://` is [recommended by Google ](https://developer.chrome.com/multidevice/android/intents) for launching apps. Cordova should forward this to the OS to handle appropriately.

 This closes #183
2016-08-29 23:51:09 +02:00
Simon MacDonald
57b50b1d65 Plugin uses Android Log class and not Cordova LOG class 2016-08-22 16:41:34 -04:00
daserge
60d27b8d8d CB-10973 inAppBrowser for Browser Platform: wrong height of webview with location=yes 2016-08-22 17:31:58 +03:00
Pavel Kohoutek
22d466a050 Size and position in browser platform
CSS updated for iframe wrapper in browser platform. Styles and position of wrapper were dependent on parent element, global styles and other elements in body.
Now the wrapper/iframe should always cover entire window.
2016-08-22 17:16:04 +03:00
daserge
a77b289f01 CB-10973 inAppBrowser for Windows Platform: wrong height of webview with location=yes 2016-08-19 17:43:48 +03:00
daserge
698648f15d CB-11013 IAB enabling background play of YouTube videos?
Adds shouldPause feature to stop backgound audio
2016-08-18 18:25:38 +03:00
daserge
2776b14db6 CB-10467 Hardware back button, while InAppBrowser is opened, closes the app too in addition to closing InAppBrowser 2016-08-17 19:56:51 +03:00
Julio César
3f63aaee58 CB-11178 allow to open other apps on iOS 9
This closes #177
2016-07-28 00:04:00 +02:00
Vasiliy Makarov
56dca03de7 fix some calls which used api level 16
This closes #170
2016-07-21 22:02:25 +02:00
Julio César
e9734667c6 CB-2063: (ios) Fixed presentation style
This closes #176
2016-07-17 20:35:38 +02:00
Connor Pearson
4ef6106259
CB-3360: Set custom inappbrowser user agent for ios
This closes #94

Signed-off-by: Shazron Abdullah <shazron@gmail.com>
2016-07-01 13:17:23 -07:00
Rob Close
bcdc0b9da0 CB-11381 android: Does not pass sonarqube scan
The problem is "Empty Catch Block", which sonarqube considers a blocker.  Added
a log message to the empty block.

 This closes #169
2016-06-08 12:40:50 +03:00
Birge Clark
c6ff803113 CB-7679 add fix for iOS upload. This closes #139 2016-03-25 15:44:25 +01:00
Alexis Kofman
21f4de0e2a CB-10944 : NoSuchMethodError in InAppBrowser plugin
This closes #158
2016-03-24 11:00:51 -07:00
Alexis Kofman
68054819d8 CB-10937 fix stretched icons
This closes # 157
2016-03-23 14:28:00 -07:00
daserge
ea1253963b CB-10636 Add JSHint for plugins 2016-02-19 15:42:34 +03:00
Julio César
555d55ac8a Fixes CB-10607
When the device is in portrait upside down the toolbar appears at the
bottom. This fix set the origin to the 0,0 point
2016-02-13 19:33:21 +01:00
Connor Pearson
98b63cc37e CB-3360: Set custom inappbrowser user agent for android
github close #95
2016-02-08 22:40:27 +03:00
Wolfram Kriesing
234cca4e5b CB-10395 InAppBrowser's WebView not storing cookies reliable on Android
github close #147
2016-02-08 12:15:24 +03:00
Julio César
80c8e56fb0 CB-10305 Gray bar appears in the wrong place on iOS
This closes #137
2016-02-04 18:32:52 +03:00
Sean Kelly
b51a4dc54e CB-7786 Support mediaPlaybackRequiresUserAction on Android
This closes #132
2016-02-04 14:15:41 +03:00
sgrebnov
be1f6076c2 CB-7500 executeScript with callback kills/blurs inAppBrowser window on Android
github close #146
2016-02-04 14:08:22 +03:00
Jesse MacFadyen
1f190d517f Merge branch 'master' of https://github.com/uareurapid/cordova-plugin-inappbrowser 2016-02-01 23:13:13 -08:00
sgrebnov
b024104a54 CB-10451 InAppBrowser: loadstart event is not triggered on Windows
CB-10452 InAppBrowser: 'exit' event is not triggered on Windows
CB-10454 InAppBrowser: 'loaderror' event does not have code and message on Windows
CB-10450 InAppBrowser: Unable to get property 'canGoBack' of undefined on Windows

github close #145
2016-02-01 14:24:55 +03:00
sgrebnov
73ed40fe07 CB-6702 InAppBrowser hangs when opening more than one instance
github close #144
2016-02-01 14:00:52 +03:00
sgrebnov
4d9e4884dd CB-10456 InAppBrowser is not closed if I close it programmatically on Android
guthub close #143
2016-02-01 13:59:42 +03:00
Joe Bowser
8da5e25eee CB-10407: Re-adding onPageStarted to re-add LOAD_START, even though it's in the wrong place 2016-01-22 14:22:58 -08:00
Joe Bowser
212e0a34d8 CB-8180: Changing methods of interception in WebViewClient class
This closes #136
2016-01-15 14:11:59 -08:00
Martin Bektchiev
518596a96f Fix lint warnings
This closes #120
2016-01-15 11:45:23 -08:00
sgrebnov
f326121590 CB-10009 Improve InAppBrowser toolbar look and feel on Windows
github close #129
2016-01-11 14:25:11 +03:00
PC Dreams (Paulo Cristo)
fa7c46a316 handle app store urls in system browser 2016-01-05 12:32:47 +00:00
robario
9540f11fcc Using modulemapper 2015-12-18 18:13:01 +09:00
robario
3a1fea5d8b Open a new window on the browser platform
The URL is not supposed to change in the case of SPA.
2015-12-18 17:32:24 +09:00
sgrebnov
65821f907d CB-9445 Improves executeScript callbacks on iOS
This closes #125

Signed-off-by: Shazron Abdullah <shazron@apache.org>
2015-12-10 14:47:43 -08:00
Shazron Abdullah
542536f790 CB-10040 - re-fix: backwards compatible with cordova-ios < 4.0 2015-11-20 10:53:36 -08:00
Connor Pearson
9b576f303b CB-8534: Allow plugins to respond to onReceivedHttpAuthRequest. This closes #82 2015-11-20 19:59:43 +03:00
Connor Pearson
52cfd3216a CB-3750: Fixes spinner on iOS. This closes #89 2015-11-20 18:40:16 +03:00
Shazron Abdullah
bc9036d90a CB-10040 - Compile Error in InAppBrowser Plugin for iOS - No known instance method for selector 'URLIsWhitelisted:' 2015-11-19 15:22:30 -08:00
Jesse MacFadyen
682703aa24 weak ref type was wrong 2015-11-18 14:22:42 -08:00
Jesse MacFadyen
8fb2244432 Merge branch 'CB-8863' 2015-11-17 13:03:39 -08:00
Jesse MacFadyen
1bc51f9381 fix async self usage 2015-11-17 11:50:40 -08:00
sgrebnov
49757716f5 CB-9150 Fix InAppBrowser executeScript crash on Windows if no data returned 2015-11-17 11:42:55 +03:00
Jesse MacFadyen
1912d12697 Merge branch 'fix_status_bar_negative' of https://github.com/vinnyrose/cordova-plugin-inappbrowser 2015-11-16 17:54:08 -08:00
Jesse MacFadyen
5a558344fd Merge branch 'master' of https://github.com/8eo/cordova-plugin-inappbrowser 2015-11-16 17:48:21 -08:00
Paul Weber
1afd42aabb CB-9799 Fixed javaDoc errors.. This closes #119 2015-11-10 16:45:00 +03:00
David Weber
2279aee4ff Fix crash on browser window close (https://issues.apache.org/jira/browse/CB-9167) 2015-07-20 13:09:58 +02:00
Anton Antonov
74aa099b7e CB-9158 - InAppBrowser zoomControls are always set to true 2015-06-18 20:28:32 +03:00
Victor Sosa
de9f3e35b4 CB-9128 cordova-plugin-inappbrowser documentation translation: cordova-plugin-inappbrowser 2015-06-12 09:41:39 -05:00
Vladimir Kotikov
e2865db2ea CB-7689 Adds insertCSS support for windows platform 2015-04-07 09:17:09 +03:00
Shazron Abdullah
dfd0999581 CB-4930 - (prefix) InAppBrowser should take into account the status bar 2015-04-03 12:34:11 -07:00
Vladimir Kotikov
461d9e9c4c CB-8635 Improves UX on windows platform
* Adds `fullscreen` option
* Adds ability to apply custom styles to IAB window
2015-04-02 13:32:45 +03:00
Vladimir Kotikov
16353c3466 CB-8661 Return executed script result on Windows 2015-04-02 13:29:00 +03:00
Steve Gill
c85cab15b7 CB-8683 updated wp and browser specific references of old id to new id 2015-04-01 16:34:36 -07:00
Vladimir Kotikov
57f942670c CB-8432 Correct styles for browser wrapper to display it correctly on some pages
* Force z-order for wrapper to show it on top of the whole page
* Apply CSS reset rules to browser wrapper
* Disable parent window scrollbars when browser is shown
2015-03-17 14:18:04 +03:00
Shazron Abdullah
ed1227f61a CB-8659 - Update InAppBrowser to support both cordova-ios 4.0.x and 3.x (closes #93) 2015-03-16 09:42:16 -07:00
daserge
4c8f58d87c CB-7961 Add cordova-plugin-inappbrowser support for browser platform
Added Browser platform support (Chrome, IE, Firefox)
Updated the docs
2015-03-16 13:26:34 +03:00
Jesse MacFadyen
b96c4a7d9a Merge branch 'master' of https://github.com/jellekralt/cordova-plugin-inappbrowser 2015-03-04 17:42:43 -08:00
Jesse MacFadyen
a45dbc80b4 updated docs, set hardwareback default to true 2015-03-04 00:26:57 -08:00
Jesse MacFadyen
9de15ac8bf Merge branch 'master' of https://github.com/kriserickson/cordova-plugin-inappbrowser 2015-03-04 00:13:29 -08:00
Maxime Boucher-Allard
f8a80ce27d Keep external android pages in a single tab. (close #61) 2015-02-19 19:56:26 -05:00
Andrew Grieve
19a2179d1d Add missing license header for src/ubuntu/InAppBrowser_escapeScript.js 2015-02-04 16:03:59 -05:00
Andrew Grieve
bfff56aef4 CB-8270 Remove usage of [arr JSONString], since it's been renamed to cdv_JSONString
Just updating to the new name would make the plugin incompatible with
previous cordova-ios versions.
2015-01-21 11:48:08 -05:00
Maxim Ermilov
e5d6d6f69a ubuntu: implement inject* functions 2014-12-15 16:38:26 +03:00
Maxim Ermilov
88b71b3a57 ubuntu: port to oxide 2014-12-15 16:38:22 +03:00
Mario Rosa
d9900ba783 InAppBrowser, iOS: Setting setStatusBarStyle to -1 causes CGContextSaveGState.
Simple if statement to ensure -1 is not submitted to setStatusBarStyle.
2014-12-05 09:21:01 -05:00
Ian Clelland
514469ab24 CB-7897: Update to work with whilelist plugins in Cordova 4.x 2014-12-03 09:29:22 -05:00
Ajitha
2c4bef1f97 Amazon specific changes:
Removed reference to closebuttoncaption according to
https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-inappbrowser.git;a=commit;h=50a78baf22843b0df96ccb4ca83a45bd9ef3fc39
2014-11-22 12:08:22 -08:00
daserge
e785533ab4 CB-7784 Exit event is not fired after InAppBrowser closing 2014-11-12 22:35:10 -08:00
daserge
3056997c78 CB-7697 Add locationBar support to InAppBrowser windows platform version 2014-11-12 22:35:10 -08:00
daserge
3f80b0b59c CB-7690 InAppBrowser loadstart/loadstop events issues
Subscribing to events before navigating
2014-11-12 22:35:10 -08:00