Commit Graph

66 Commits

Author SHA1 Message Date
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
Ian Clelland
c5061ec333 CB-6460: Update license headers 2014-04-16 16:19:05 -04:00
Robin North
932f078e2d CB-6360: Fix for crash on iOS < 6.0 (closes #37) 2014-04-15 15:21:39 -07:00
Jesse MacFadyen
1c32236353 CB-3324 Add support for back-button inappbrowser [WP8] if there is no history -> InAppBrowser is closed 2014-04-14 17:11:36 -07:00
Jesse MacFadyen
34c29dc2ec await async calls, resolve warnings 2014-04-14 17:01:35 -07:00
Jesse MacFadyen
aa6c1519d2 Merge branch 'wp8-work-with-embedded-files' of https://github.com/Icenium/cordova-plugin-inappbrowser into dev 2014-04-14 12:20:35 -07:00
Nadya Atanasova
2fc9f3da1f Make InAppBrowser work with embedded files, using system behavior
The plugin is changed to work with embedded files, using the system behavior. If one needs the system behavior, they need to pass "_system" as target when using the plugin. As the InAppBrowser for WP8 does not handle by itself the embedded pdf files, system behavior is called.

The plugin also is tested and working for wp7
2014-04-11 17:57:45 +03: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
Oliver Moran
6f373f7ed9 fix for CB-5534
Signed-off-by: Joe Bowser <bowserj@apache.org>
2014-02-28 14:04:25 -08: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
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