Commit Graph

92 Commits

Author SHA1 Message Date
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
Birge Clark
c6ff803113 CB-7679 add fix for iOS upload. This closes #139 2016-03-25 15:44:25 +01: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
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
PC Dreams (Paulo Cristo)
fa7c46a316 handle app store urls in system browser 2016-01-05 12:32:47 +00: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
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
1bc51f9381 fix async self usage 2015-11-17 11:50:40 -08: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
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
Shazron Abdullah
dfd0999581 CB-4930 - (prefix) InAppBrowser should take into account the status bar 2015-04-03 12:34:11 -07: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
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
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
bwin
91b84579e8 CB-6769 ios: Fix statusbar color reset wasn't working on iOS7+
close #45
2014-06-27 14:33:33 -04:00
Andrew Grieve
eb704f8212 Clean up whitespace (mainly due to no newline at eof warning) 2014-06-04 14:25:50 -04:00
Shazron Abdullah
40778ba239 Fixed use of iOS 6 deprecated methods 2014-04-17 17:02:59 -07:00
Shazron Abdullah
c25bc30d7d CB-6360 - improvement: feature detection instead of iOS version detection 2014-04-17 16:52:21 -07:00
Shazron Abdullah
b9f8fcd8a9 CB-5649 - InAppBrowser overrides App's orientation 2014-04-17 16:32:40 -07:00
Robin North
932f078e2d CB-6360: Fix for crash on iOS < 6.0 (closes #37) 2014-04-15 15:21:39 -07:00
mbradshawabs
22c7a0e51e CB-6389 CB-3617: Add clearcache and clearsessioncache options to iOS (like Android) 2014-04-02 15:04:48 -04:00
James Jong
fceea502a3 CB-6212 iOS: fix warnings compiled under arm64 64-bit 2014-03-12 13:35:17 -04:00
Ian Clelland
26702cb072 Validate that callbackId is correctly formed 2014-02-19 00:26:19 -05:00
Sidney Bofah
24e6a1feeb Removed some iOS6 Deprecations 2014-02-10 15:37:23 -05:00
Andrew Grieve
57d14da151 CB-5733 Fix IAB.close() not working if called before show() animation is done
Also attempts to fix some thread warnings by doing show/hide on
separate event loop cycles.
2014-01-07 10:52:38 -05:00
ivan baktsheev
f75b30857b CB-5594 Add disallowoverscroll option.
Similar to the main cordova webview
2013-12-13 09:25:46 -05:00
Andrew Grieve
25d152b578 CB-5595 Rename "toolbarbarpostion" -> "toolbarposition" 2013-12-13 09:17:49 -05:00
Peter Somogyvari
4aeaf81e1e CB-5595 Fixed the positioning and autoresizing for certain rotation scenarios.
The autoresizing masks are applied conditonally based on the
browserOptions.toolbarposition flag to ensure that the toolbar is in
its correct place. Also added a utility function to query the
necessary offset for the status bar: the function takes care of the iOS
version and orientation caused differences without hardcoding the value
as 20 pixels.
2013-12-13 09:17:11 -05:00
Peter Somogyvari
20611efe67 CB-5595 Add toolbarposition=top option.
The position of the toolbar is now configurable, it can be specified on
the caller's side. The possible values are top and bottom and the key
for the setting is toolbarposition. Also extended the logging of the web
view's load errors, it now logs the error code too, not just the
localized description of the error that occured. Added the
browserOptions to the init method's parameters in order to make it
conveniently accessible from the ViewController.
2013-12-13 09:16:04 -05:00
Tomáš Fejfar
034b599315 CB-5593 iOS: Make InAppBrowser localizable
Wrapping all UI strings in NSLocalizedString macro
2013-12-06 09:42:22 -05:00
Fco. Javier Martín Carrasco
f448ce88ab CB-5591 Change window.escape to encodeURIComponent
escape is for JS, encodeURIComponent is for URLs. This is a URL.
2013-12-06 09:14:15 -05:00
Andrew Grieve
aa81c3267a CB-4995 Fix crash when WebView is quickly opened then closed.
Also fixes a leak where callback was never being cleared.
2013-10-21 13:19:13 -04:00
Shazron Abdullah
c7972b6cff CB-4930 - iOS - InAppBrowser should take into account the status bar 2013-10-15 15:00:09 -07:00
Shazron Abdullah
b4059a2c68 [CB-3947] iTunes links do not open with inappbrowser 2013-07-11 17:28:54 -07:00
Michal Mocny
5110dbd0d5 [ios][CB-4147] Fixing crash when calling open() on an already open window. 2013-07-10 15:33:38 -04:00
Steven Gill
8c0c36d5bf updated inappbrowser with latest native + js code 2013-06-13 15:49:11 -07:00
Steven Gill
4e9ad7d5e0 updated plugin.xml and cordova references in ios files 2013-05-20 14:04:50 -07:00
hermwong
7d6dc4cc58 updated iOS native code to latest versions 2013-05-16 14:30:46 -07:00
hermwong
cc14974811 added native iOS code 2013-05-16 13:57:19 -07:00