ishaquehassan / document_scanner_flutter

A document scanner plugin for flutter
MIT License
62 stars 132 forks source link

WeScan #42

Open SamadDev opened 9 months ago

SamadDev commented 9 months ago

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

fabiancabau commented 9 months ago

Same error

SamadDev commented 9 months ago

@fabiancabau I have used edge_detection and working fine

AdeeshaP commented 9 months ago

@fabiancabau I have used edge_detection and working fine

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

Riya-Singhal15 commented 8 months ago

@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

prkhrv commented 6 months ago

@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.

SamadDev commented 6 months ago

@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