Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace UIWebView with WKWebView #21

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

anupambiswal
Copy link

As UIWebView is deprecated, Apple will stop accepting apps using UIWebView. So need to migrate to WKWebView.
Ref: https://developer.apple.com/news/?id=12232019b

@akkibdv
Copy link

akkibdv commented Mar 18, 2020

Hi,

Can I get updated Zbar SDK with WKWebView?

Thank you.

@phucdanghuu
Copy link

I had a problem when run pod update:

[!] Unable to find a specification for ‘ZBarSDK’ when run “pod update”

pod ‘ZBarSDK’, :git => ‘https://github.com/phucdanghuu/ZBar.git', :commit => ‘dd0d03e89e070735eb76cc80b8371ba2728913c1’

@andrewreeman
Copy link

Hi,

I tried

pod "ZBarSDK", :git => "https://github.com/phucdanghuu/ZBar.git", :commit => "b82be9cf11ec7045472e69b033461de438c1aa35"
replacing commit 'dd0d03e89e070735eb76cc80b8371ba2728913c1' with 'b82be9cf11ec7045472e69b033461de438c1aa35' and it seemed to work fine for me.

if([url isFileURL])
return(YES);
decisionHandler(WKNavigationActionPolicyAllow);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need Return code!!

Suggested change
decisionHandler(WKNavigationActionPolicyAllow);
return;

@nikhilpatel7
Copy link

nikhilpatel7 commented Oct 9, 2020

Hi,
I want static library (libzbar.a) with this:
"https://github.com/phucdanghuu/ZBar.git", :commit => "b82be9cf11ec7045472e69b033461de438c1aa35"
changes.
Can anyone guide me from where I can get that or is there anyway I can create it myself ?

@dabing1022
Copy link

Hi,
I want static library (libzbar.a) with this:
"https://github.com/phucdanghuu/ZBar.git", :commit => "b82be9cf11ec7045472e69b033461de438c1aa35"
changes.
Can anyone guide me from where I can get that or is there anyway I can create it myself ?

It's very easy to do this.

  1. download source code from "https://github.com/phucdanghuu/ZBar.git", :commit => "b82be9cf11ec7045472e69b033461de438c1aa35"
  2. open zbar.xcodeproj project in ZBar/iphone

截屏2020-10-13 下午5 56 10
modify architectures to standard architectures, you will get armv7 and arm64 arch. If not, origin config has only armv7 arch
4.
截屏2020-10-13 下午5 59 38
edit libzbar scheme

modify build configuration to release

截屏2020-10-13 下午6 02 24

  1. Command + B, then you will find libzbar.a static library in your Products folder.
    image

🍺🍺🍺

@Adrift001
Copy link

pod 'ATBarSDK'

https://github.com/Adrift001/ZBar/blob/master/ATBarSDK.podspec

@rakuyoMo
Copy link

rakuyoMo commented Apr 2, 2022

pod 'ATBarSDK'

https://github.com/Adrift001/ZBar/blob/master/ATBarSDK.podspec

Your tag is mistyped, can you re-release a new version with the tag tagged on top of the latest commit?

@phucdanghuu
Copy link

pod 'ATBarSDK'

https://github.com/Adrift001/ZBar/blob/master/ATBarSDK.podspec

Your tag is mistyped, can you re-release a new version with the tag tagged on top of the latest commit?

you can use mine:
pod 'ZBarSDK', :git => 'https://github.com/phucdanghuu/COZbar.git'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
10 participants