 
 @objc public class ARSceneView: ARSCNView, ARSCNViewDelegate, ARSessionDelegate {
 
-    var config: ARWorldTrackingSessionConfiguration = ARWorldTrackingSessionConfiguration()
+    var config: ARWorldTrackingConfiguration = ARWorldTrackingConfiguration()
     var onPlaneDetectedFn: RCTBubblingEventBlock?
     var onPlaneUpdatedFn: RCTBubblingEventBlock?
 

            super.addSubview(view)
        }

        self.config = ARWorldTrackingSessionConfiguration()
        self.config.planeDetection = [.horizontal]
        self.delegate = self
        self.session.run(self.config)

    }

    func initializeSessionAndProps() {
        self.config = ARWorldTrackingConfiguration()
        self.config.planeDetection = [.horizontal]
        self.delegate = self
        self.session.run(self.config)
