Download Latest Version 0.9 - Features, Features, Features.zip (367.5 kB)
Email in envelope

Get an email when there's a new version of react-native-arkit

Home / 0.8.0
Name Modified Size InfoDownloads / Week
Parent folder
0.8.0 - Bugfix release.tar.gz 2018-02-21 333.7 kB
0.8.0 - Bugfix release.zip 2018-02-21 358.0 kB
README.md 2018-02-21 1.2 kB
Totals: 3 Items   692.8 kB 0

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 https://github.com/HippoAR/react-native-arkit/issues/147
  • ARKit.hitTestPlanes no longer throws error when using type ARKit.ARHitTestResultType.FeaturePoint
Source: README.md, updated 2018-02-21