Skip to content

0.8.0 - Bugfix release

Compare
Choose a tag to compare
@macrozone macrozone released this 07 Feb 15:35
· 107 commits to master since this 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 and ARKit.hitTestPlanes no longer return tapPoint which was just a copy of the param
  • ARKit.hitTestSceneObjects and ARKit.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 type ARKit.ARHitTestResultType.FeaturePoint