flutter_qr_bar_scanner icon indicating copy to clipboard operation
flutter_qr_bar_scanner copied to clipboard

Package contains UIWebView - Depreciated

Open Neillbar opened this issue 4 years ago • 18 comments

When i try to publish my app with this package i get this error ->

ITMS-90809: Deprecated API Usage - New apps that use UIWebView are no longer accepted. Instead, use WKWebView for improved security and reliability.

Will this be fixed or patched ?

Thanks

Neillbar avatar Jun 04 '21 10:06 Neillbar

Thanks for reporting the bug. I will look into it soon.

contactlutforrahman avatar Jun 04 '21 13:06 contactlutforrahman

I'm sorry but I didn't use UIWebView in the package.

contactlutforrahman avatar Jun 07 '21 14:06 contactlutforrahman

I'm sorry but I didn't use UIWebView in the package.

Hi, i have created a brand new project with only your package in it and received the rejection message from apple.

I dont mind if you want to do a skype/google meet call then i can show you as well ?

Maybe it has something to do with the framework you are utilizing ?

Neillbar avatar Jun 07 '21 14:06 Neillbar

can you generate apk by this command - flutter build apk

contactlutforrahman avatar Jun 07 '21 16:06 contactlutforrahman

can you generate apk by this command - flutter build apk

This is for ios builds not for android.

So this happens when i publish my app to my apple connect store.

Neillbar avatar Jun 07 '21 16:06 Neillbar

I find this command line. grep -r UIWebView Pods/ Binary file Pods//GoogleMobileVision/Detector/Frameworks/GoogleMobileVision.framework/GoogleMobileVision matches

kwonhyuck0218 avatar Jun 18 '21 03:06 kwonhyuck0218

any solution? same problem here.

AlexOliveira123 avatar Jun 29 '21 12:06 AlexOliveira123

Hi @contactlutforrahman, the issue occurs because iOS is using GoogleMobileVision/BarcodeDetector (file flutter_qr_bar_scanner/ios/flutter_qr_bar_scanner.podspec). In order to migrate from this deprecated API you should follow this doc.

MisterWeeMan avatar Aug 06 '21 14:08 MisterWeeMan

Hi, can you please fix this Issue The plugin flutter_qr_bar_scanner uses a deprecated version of the Android embedding. To avoid unexpected runtime failures or future build failures, try to see if this plugin supports the Android V2 embedding. Otherwise, consider removing it since a future release of Flutter will remove these deprecated APIs. If you are a plugin author, take a look at the docs for migrating the plugin to the V2 embedding: doc

Rahman8captech avatar Aug 16 '21 07:08 Rahman8captech

Please try to understand. There's no such issue. I've used this package in a live project just 3 days ago and I didn't find such issue. You can try with a fresh new project for testing purpose.

contactlutforrahman avatar Aug 29 '21 01:08 contactlutforrahman

@contactlutforrahman the problem is not to use, but in upload the project for Apple Store when he uses flutter_qr_bar_scanner.

The answer of apple is:

ITMS-90809: Deprecated API Usage - New apps that use UIWebView are no longer accepted. Instead, use WKWebView for improved security and reliability. Learn more (https://developer.apple.com/documentation/uikit/uiwebview).

And when i search for this in my project with command: grep -r UIWebView . i received this response:

matheus@MacBook-Pro-de-matheus projects % grep -r UIWebView . Binary file ./project_name/ios/Pods/GoogleMobileVision/Detector/Frameworks/GoogleMobileVision.framework/GoogleMobileVision matches

And when i remove flutter_qr_bar_scanner of my project and search with same command, received this response:

matheus@MacBook-Pro-de-matheus projects % grep -r UIWebView . matheus@MacBook-Pro-de-matheus projects %

So, this package uses GoogleMobileVision and he cause a error because apple store dont accept more the UIWebView whe us do the app upload.

mathataides-dev avatar Sep 01 '21 18:09 mathataides-dev

Having exact same issue. I'm unable to upload new apps to Appstore because of this issue.

Would be great if we get a fix, please.

diyarfaraj avatar Sep 02 '21 06:09 diyarfaraj

I'm facing this issue on the iOS device but it is working fine on iOS Simulator when I'm removing this package I'm not facing this UIKit API Thread ..

[Assert] Unsupported use of UIKit API off the main thread: UIAccessibilityIsAssistiveTouchRunning()
[Assert] Unsupported use of UIKit API off the main thread: UIAccessibilityIsGuidedAccessEnabled()
2021-09-03 14:22:53.764331+0100 Runner[7644:733911] [Assert] Unsupported use of UIKit API off the main thread: UIAccessibilityIsGuidedAccessEnabled()

Rahman8captech avatar Sep 03 '21 13:09 Rahman8captech

I can run the project on iOS Simulator and my device, iPhone XR, but my only problem is when i need upload my app on AppStore, because, like i related, this package uses GoogleMobileVision and AppStore dont accept more he, because is deprecated.

mathataides-dev avatar Sep 05 '21 16:09 mathataides-dev

do you have fixed this issue?

Rahman8captech avatar Sep 06 '21 14:09 Rahman8captech

@contactlutforrahman Do you have fixed this issue dude?

This lib is the best i used to read payments barcode.

mathataides-dev avatar Sep 20 '21 14:09 mathataides-dev

The issue has been resolved. You can check with the latest version.

contactlutforrahman avatar Oct 31 '21 18:10 contactlutforrahman

The issue has been resolved. You can check with the latest version.

Ooooh thanks man. I testing and fully works in apple store again.

mathataides-dev avatar Dec 01 '21 17:12 mathataides-dev