Skip to content

Upgrading camera 0.3 to 0.4

Breaking0.3.0+3 → 0.4.3+2Breaking1Platform1New1Fixed2Other2

BreakingUpgrade verdict

1 breaking change and a platform requirement change.

  • On iOS, camera image streams now deliver frames in a different pixel format than before, so code that reads raw frame bytes may need updating.
  • The package now requires Flutter 1.2.0 or newer.
2 items need code or config changes

Flutter requirement changed in 0.4.3+2: >=0.1.4 <2.0.0 → >=1.2.0 <2.0.0.

Breaking1
Changes the iOS image stream format to ImageFormatGroup.bgra8888 from ImageFormatGroup.yuv420.
ImageFormatGroup.bgra8888ImageFormatGroup.yuv420
Platform1
Bumps the minimum Flutter version to 1.2.0.