0.8.0 - Bugfix release
Breaking
- PocketSVG dependency no longer uses npm. You have to update a path in your project settings!. You can do this in xcode but its easier to use a text-editor:
edit ios/yourproject.xcodeproj/project.pbxproj
and change ../node_modules/_PocketSVG/PocketSVG.xcodeproj
to --> ../node_modules/react-native-arkit/ios/PocketSVG/PocketSVG.xcodeproj
Other smaller potentially breaking changes
ARKit.hitTestSceneObjects
andARKit.hitTestPlanes
no longer return tapPoint which was just a copy of the paramARKit.hitTestSceneObjects
andARKit.hitTestPlanes
no longer return point in results[], use position or positionAbsolute instead
Fixes:
ARKit.snapshot()
no longer needs an argument (thx @Nualiian )ARKit.hitTestSceneObjects
returns now all objects hit, not only the nearest one- Workaround for a problem where a node would not update because it has been removed in a race-condition (still investigating)
- deprecated scale property on ARKit.model model now defaults to 1. See #147
ARKit.hitTestPlanes
no longer throws error when using typeARKit.ARHitTestResultType.FeaturePoint