olexale / arkit_flutter_plugin

ARKit Flutter Plugin
MIT License
796 stars 225 forks source link

make reason parameter of onCameraDidChangeTrackingState optional #151

Closed dokkaebi closed 3 years ago

dokkaebi commented 3 years ago

The reason is only included if trackingState is "limited", and currently this causes the callback to be ignored for the "notAvailable" and "normal" states. This is already handled correctly in the iOS code.

olexale commented 3 years ago

Hi @dokkaebi,

Thank you for your contribution!

Kind regards, Oleksandr