Skip to content

Commit

Permalink
Merge pull request #14 from OutSystems/fix/RNMT-4083/remove-uiwebview…
Browse files Browse the repository at this point in the history
…-reference

RNMT-4083 Remove UIWebView references
  • Loading branch information
tiagoappereira authored May 21, 2020
2 parents 5bd8ecc + 221a9f9 commit ea087f2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ This plugin integrates with the [ZBar](http://zbar.sourceforge.net/) library,
exposing a JavaScript interface for scanning barcodes (QR, 2D, etc).
In this fork a button has been added to turn off and on device flash. In addition the plugin can now handle the device orientation change.

For iOS platform, the plugin integrates with an updated version of the ZBar library, that can be found [here](https://github.com/OutSystems/zbar/tree/outsystems/iphone).

## Installation

cordova plugin add cordova-plugin-cszbar
Expand Down
5 changes: 3 additions & 2 deletions ios/ZBarSDK/ZBarHelpController.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
//------------------------------------------------------------------------

#import <UIKit/UIKit.h>
#import <WebKit/WebKit.h>

@class ZBarHelpController;

Expand All @@ -36,12 +37,12 @@
// failure dialog w/a few useful tips

@interface ZBarHelpController : UIViewController
< UIWebViewDelegate,
< WKNavigationDelegate,
UIAlertViewDelegate >
{
NSString *reason;
id delegate;
UIWebView *webView;
WKWebView *webView;
UIToolbar *toolbar;
UIBarButtonItem *doneBtn, *backBtn, *space;
NSURL *linkURL;
Expand Down
Binary file modified ios/libzbar.a
Binary file not shown.

0 comments on commit ea087f2

Please sign in to comment.