document_scanner_flutter icon indicating copy to clipboard operation
document_scanner_flutter copied to clipboard

WeScan

Open SamadDev opened this issue 1 year ago • 6 comments

Swift Compiler Error (Xcode): Stored properties cannot be marked unavailable with '@available' /Users/macbook/StudioProjects/Jiasaz/Verahealth-main/ios/Pods/WeScan/WeScan/ImageScannerController.swift:196:5

Swift Compiler Error (Xcode): Stored properties cannot be marked unavailable with '@available' /Users/macbook/StudioProjects/Jiasaz/Verahealth-main/ios/Pods/WeScan/WeScan/ImageScannerController.swift:199:5

Swift Compiler Error (Xcode): Stored properties cannot be marked unavailable with '@available' /Users/macbook/StudioProjects/Jiasaz/Verahealth-main/ios/Pods/WeScan/WeScan/ImageScannerController.swift:202:5

Swift Compiler Error (Xcode): Stored properties cannot be marked unavailable with '@available' /Users/macbook/StudioProjects/Jiasaz/Verahealth-main/ios/Pods/WeScan/WeScan/ImageScannerController.swift:205:5

SamadDev avatar Jan 28 '24 07:01 SamadDev

Same error

fabiancabau avatar Jan 31 '24 07:01 fabiancabau

@fabiancabau I have used edge_detection and working fine

SamadDev avatar Feb 04 '24 07:02 SamadDev

@fabiancabau I have used edge_detection and working fine

Were you still able to solve your issue in document_scanner_flutter plugin ?

AdeeshaP avatar Feb 20 '24 06:02 AdeeshaP

@fabiancabau I have used edge_detection and working fine

Were you still able to solve your issue in document_scanner_flutter plugin ?

I've resolved it. You can add the following lines in your pubspec.yaml dependencies -

  document_scanner_flutter:
    git:
      url: https://github.com/MyCareRecords/document_scanner_flutter
      ref: master

Uncomment #platform :ios, '10.0' and changed the version to 13.0 which will look like - platform :ios, '13.0' And add pod 'WeScan', :path => '.symlinks/plugins/document_scanner_flutter/ios/WeScan-3.0.0' in your Podfile like this - Screenshot 2024-03-06 at 11 56 32 AM

Finally run flutter clean && flutter pub get then navigate to the ios folder rm Podfile.lock && rm -rf .symlinks Pods && pod install --repo-update

Riya-Singhal15 avatar Mar 06 '24 06:03 Riya-Singhal15

@Riya-Singhal15 @fabiancabau @SamadDev

I don't know why this doesn't work for me. Is there any way of updating the WeScan Version from the plugin itself? I would really appreciate if anyone could share a solution to this issue.

prkhrv avatar May 06 '24 17:05 prkhrv

@Riya-Singhal15 @fabiancabau @SamadDev

I don't know why this doesn't work for me. Is there any way of updating the WeScan Version from the plugin itself? I would really appreciate if anyone could share a solution to this issue.

May be @Riya-Singhal15 comment will help you or you can try eadge_scanner

SamadDev avatar May 06 '24 17:05 SamadDev