Skip to navigation

toden_flutter 4.0.1 and @toden/react-native 4.0.1

Both mobile SDKs had an iOS build failure in 4.0.0, fixed in 4.0.1.

Fixed

  • iOS builds on some Xcode versions. 4.0.0 could stop with “The compiler is unable to type-check this expression in reasonable time” in DocumentDetector.swift (Flutter) or HybridMyazaRectDetector.swift (React Native). The code that checks a document is wholly inside the frame is rewritten so every Xcode compiles it. Document detection is unchanged.

What you need to do

  1. Flutter: update to toden_flutter: ^4.0.1, run flutter pub get, then pod install in ios/ and rebuild. See the Flutter SDK guide.
  2. React Native: update to @toden/react-native 4.0.1, run pod install (or npx expo prebuild) and rebuild. See the React Native SDK guide.