olexale / arkit_flutter_plugin

ARKit Flutter Plugin
MIT License
796 stars 225 forks source link

snapshot method throws type cast error #158

Closed NicolasDurant closed 3 years ago

NicolasDurant commented 3 years ago

Hey :wave:, the method snapshot() on ARKitController in the example for creating a snapshot of the ARKitSceneView throws the following type error: 'Future<Uint8List?>' is not a subtype of type 'FutureOr<Uint8List>' in type cast

olexale commented 3 years ago

Hi! This should be fixed in 1.0.3, could you please check that you're using the latest version?

NicolasDurant commented 3 years ago

You are absolutely correct, I was on 1.0.1 still! Sorry Oleksandr, should have checked that first 😅

olexale commented 3 years ago

No problem, glad that it works now! 🙂