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


@objc public class ARSceneView: ARSCNView, ARSCNViewDelegate, ARSessionDelegate {

    var config: ARWorldTrackingSessionConfiguration = ARWorldTrackingSessionConfiguration()
    var onPlaneDetectedFn: RCTBubblingEventBlock?
    var onPlaneUpdatedFn: RCTBubblingEventBlock?


            super.addSubview(view)
        }

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