Commit Graph

54 Commits

Author SHA1 Message Date
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
985d94ee00 Add missing import for previous commit 2014-01-19 21:56:59 -05:00
Ian Clelland
e807bc3dc0 CB-5756: Android: Use WebView.evaluateJavascript for script injection on Android 4.4+ 2014-01-19 21:22:02 -05:00
Joe Bowser
0ce0eed585 Didn't test on ICS or lower, getDrawable isn't supported until Jellybean 2014-01-16 13:55:53 -08:00
Joe Bowser
43f8935541 Adding the buttons 2014-01-16 11:33:44 -08:00
Ian Clelland
9795b2e9dc CB-5756: Add missing import 2014-01-13 15:09:38 -05:00
Ian Clelland
255c5269c3 CB-5756: Android: Use WebView.evaluateJavascript for script injection on Android 4.4+ 2014-01-13 14:34:32 -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
Andrew Grieve
6163f17aeb CB-5592 Add a comment explaining why we set MIME only for file: 2013-12-20 11:10:33 -05:00
gianluca
176890f305 CB-5592 Android - Add MIME type to Intent when opening file:/// URLs
To avoid the "No Activity found to handle Intent..." error.
2013-12-20 11:06:10 -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
Dick van den Brink
e819041fd4 Apply CB-5193 to InAppBrowser
From pull request:
https://github.com/apache/cordova-plugin-inappbrowser/pull/11
2013-12-06 10:07:41 -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
Jesse MacFadyen
8a549547cb Merge branch 'dev' of https://github.com/Yangtb/cordova-plugin-inappbrowser into dev 2013-12-03 13:42:50 -08:00
Jesse MacFadyen
fadb170e50 Merge branch 'dev' of https://git-wip-us.apache.org/repos/asf/cordova-plugin-inappbrowser into dev 2013-12-02 17:51:28 -08:00
Jesse MacFadyen
9768ec2ef0 CB-3420 WP feature hidden=yes implemented 2013-12-02 17:50:57 -08:00
Steven Gill
d2b644e5d5 Added ubuntu support 2013-12-02 16:28:32 -08:00
Archana Naik
e5101ba8e1 Added amazon-fireos platform.
Change to use amazon-fireos as the platform if user agent string contains 'cordova-amazon-fireos'
2013-10-30 13:36:04 -07: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
Maxim Ermilov
a8f79e1fd6 add ubuntu platform 2013-10-16 21:13:03 +04:00
Shazron Abdullah
c7972b6cff CB-4930 - iOS - InAppBrowser should take into account the status bar 2013-10-15 15:00:09 -07:00
Andrew Grieve
5ef5171003 CB-4858 - Run IAB methods on the UI thread. 2013-10-10 12:40:27 -04:00
Andrew Grieve
8df4b7d03b CB-3747 Fix back button having different dismiss logic from the close button.
Also made the IAB close when the owner page is navigated (implemented
onReset).
2013-10-10 11:51:58 -04:00
Andrew Grieve
8cd786b603 CB-5021 Expose closeDialog() as a public function and make it safe to call multiple times. 2013-10-10 08:07:46 -04:00
Joe Bowser
de4fd41f8e CB-4788: Modified the onJsPrompt to warn against Cordova calls 2013-09-25 16:49:16 +02:00
Joe Bowser
eef27f8891 CB-4864, CB-4865: Minor improvements to InAppBrowser 2013-09-17 15:51:54 -07:00
Max Woghiren
0a3c5587e3 [CB-4792] Added keepCallback to the show function. 2013-09-11 12:44:09 -04:00
Yangtb
e5862bf820 [CB-4724] fixed UriFormatException
fixed UriFormatException & InvalidOperationException
2013-09-11 16:18:47 +08:00
Joe Bowser
8b52796a89 CB-4586: Making loadUrl run on the UI thread for close dialog to stop the WebView error 2013-08-28 14:20:01 -07:00
Steven Gill
be364c081d Merge branch 'master' into dev 2013-08-19 15:09:47 -07:00
Andrew Grieve
9f93423596 [CB-4417] Move cordova-plugin-inappbrowser to its own Java package. 2013-08-14 15:44:36 -07:00
Ian Clelland
0916db9bdb [CB-3616] Change option name to "clearcache" to match original proposal 2013-08-09 10:20:02 -04:00
kira
629964d61c add "clearallcache" and "clearsessioncache" option to InAppbrowser 2013-08-09 00:16:47 -04:00
Steven Gill
3b76212497 updated readme 2013-07-18 16:15:55 -07:00
lorinbeer
cad97d0187 [CB-3666] blackberry10 src directory added with documentation. No native implementation is required for inappbrowser functionality on BB10 2013-07-16 14:44:20 -07:00
Shazron Abdullah
b4059a2c68 [CB-3947] iTunes links do not open with inappbrowser 2013-07-11 17:28:54 -07:00
Max Woghiren
ed332b1e92 [CB-1605] Warning cleanup! Removed deprecated use. 2013-07-11 17:44:19 -04: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
Andrew Grieve
a9f129248f [CB-4038] - Remove o.a.c.api namespace 2013-07-10 09:31:32 -04:00
Jesse MacFadyen
f26c35d6e3 [CB-4121] remove dupe code 2013-07-08 15:55:35 -07:00
Steven Gill
8c0c36d5bf updated inappbrowser with latest native + js code 2013-06-13 15:49:11 -07:00
Benn Mapes
9f8af5f464 First pass at wp7 support 2013-05-27 15:23:50 -07:00
Steven Gill
028fdf8b31 added import for Config.java 2013-05-20 16:17:09 -07:00
Steven Gill
ab4b37145c added cordovawebvew reference 2013-05-20 16:11:20 -07:00
Steven Gill
4e9ad7d5e0 updated plugin.xml and cordova references in ios files 2013-05-20 14:04:50 -07:00