Commit Graph

248 Commits

Author SHA1 Message Date
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
21fe13e809 Delete stale test/ directory 2014-01-08 21:11:43 -05:00
Andrew Grieve
3f9af4fd88 Remove _alive from InAppBrowser.js since it didn't catch the case where the browser is closed by the user. 2014-01-07 10:52:44 -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
21a1638ccf CB-5719 Incremented plugin version on dev branch. 2014-01-02 12:30:52 -05:00
Andrew Grieve
b0bdb1088b CB-5719 Updated version and RELEASENOTES.md for release 0.3.0 2014-01-02 12:24:02 -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
Andrew Grieve
2bd006b71e CB-5658 Update license comment formatting of doc/index.md 2013-12-18 21:11:02 -05:00
Andrew Grieve
aac2db29b5 CB-5658 Add doc.index.md for InAppBrowser plugin 2013-12-18 15:31:18 -05:00
Andrew Grieve
97c6f2ba8a CB-5658 Delete stale snapshot of plugin docs 2013-12-17 20:49:39 -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
Steven Gill
ea239151d2 [CB-5565] Incremented plugin version on dev branch. 2013-12-04 15:32:03 -08:00
Steven Gill
496ecc720f [CB-5565] Updated version and RELEASENOTES.md for release 0.2.5 2013-12-04 15:16:31 -08:00
Jesse MacFadyen
30525d545a Merge branch 'dev' of https://git-wip-us.apache.org/repos/asf/cordova-plugin-inappbrowser into dev 2013-12-03 13:50:16 -08: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
Ian Clelland
65ee3d142f Remove merge conflict tag 2013-12-02 20:53:17 -05: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
Steven Gill
d49d6ec62f CB-5188: 2013-10-28 12:27:15 -07:00
Steven Gill
a8060219d5 fixed merge conflict 2013-10-28 12:13:43 -07:00
Steven Gill
e5868f8ecb [CB-5188] Updated version and RELEASENOTES.md for release 0.2.4 2013-10-28 12:03:26 -07:00
hermwong
b3348cff6c CB-5128: added repo + issue tag to plugin.xml for inappbrowser plugin 2013-10-22 13:40:00 -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
SomaticIT
863386398e Append Windows 8.1 platform configuration in plugin.xml 2013-10-17 23:02:59 +02:00
SomaticIT
ef9ca5ad3e Append Windows 8.1 proxy using x-ms-webview 2013-10-17 23:01:13 +02: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
Steven Gill
ce7a796cb0 [CB-5010] Incremented plugin version on dev branch. 2013-10-10 10:56:18 -07:00
Steven Gill
a76a0a3920 [CB-5010] Updated version and RELEASENOTES.md for release 0.2.3 2013-10-10 10:56:18 -07:00
Andrew Grieve
5ef5171003 CB-4858 - Run IAB methods on the UI thread. 2013-10-10 12:40:27 -04:00
Andrew Grieve
8a6bc01814 CB-4858 Convert relative URLs to absolute URLs in JS 2013-10-10 12:21:35 -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
Andrew Grieve
ef5eddac9a CB-5021 Make it safe to call close() multiple times 2013-10-09 21:25:24 -04:00
Steven Gill
4d4d479b3c [CB-5010] Updated version and RELEASENOTES.md for release 0.2.3 2013-10-09 15:27:18 -07:00
Steven Gill
3d8b04f982 [CB-4915] Incremented plugin version on dev branch. 2013-09-26 15:26:55 -07:00
Carlos Santana
12bc5d7d8b [CB-4926] Fixes inappbrowser plugin loading for windows8 2013-09-26 13:53:33 -04:00
Steven Gill
a001cffc30 [CB-4915] Updated version and RELEASENOTES.md for release 0.2.2 2013-09-25 17:48:12 -07:00
Anis Kadri
8320137404 CB-4889 bumping&resetting version 2013-09-25 17:50:33 +02:00
Anis Kadri
385d7c162f Merge branch 'dev' of https://git-wip-us.apache.org/repos/asf/cordova-plugin-inappbrowser into dev 2013-09-25 16:49:28 +02:00
Joe Bowser
de4fd41f8e CB-4788: Modified the onJsPrompt to warn against Cordova calls 2013-09-25 16:49:16 +02:00