Skip to content

App Store rejection due to .ir domain in MLKit OCR framework #82

Open
@Aethey

Description

@Aethey

Our app uses card_scanner: ^1.0.2, and was rejected by App Store review due to a metadata/legal issue with the following message:

"...app includes the following link/s in the binary: https://nic.ir.md/..."

  • The card_scanner plugin depends on MLKit TextRecognition which seems to introduce this framework.
  • This .ir domain reference may cause unexpected App Store rejections with minimal traceability.

$ grep -rni 'nic.ir.md' .

Binary file ./ios/Pods/MLKitTextRecognitionCommon/Frameworks/MLKitTextRecognitionCommon.framework/MLKitTextRecognitionCommon matches
Binary file ./build/ios/iphoneos/Runner.app/Runner matches
Binary file ./build/ios/Debug-iphonesimulator/Runner.app/Runner.debug.dylib matches
Binary file ./build/ios/Release-iphoneos/Runner.app/Runner matches
Binary file ./build/ios/Debug-iphoneos/Runner.app/Runner.debug.dylib matches
Binary file ./build/ios/iphonesimulator/Runner.app/Runner.debug.dylib matches

I confirmed this by running grep -rni 'nic.ir.md' . on the built app directory.
The domain reference is present in MLKitTextRecognitionCommon.framework, which appears to be included via card_scanner.

Just sharing this to help others avoid the same unexpected rejection. Appreciate your great work maintaining this package 🙏

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions