diff --git a/ios/ReactNativeView.swift b/ios/ReactNativeView.swift index d86362c2..893e6b6d 100644 --- a/ios/ReactNativeView.swift +++ b/ios/ReactNativeView.swift @@ -8,7 +8,10 @@ struct ReactNativeViewRepresentable: UIViewControllerRepresentable { var initialProperties: [String: Any] = [:] func makeUIViewController(context: Context) -> UIViewController { - return ReactNativeViewController(moduleName: moduleName) + return ReactNativeViewController( + moduleName: moduleName, + initialProperties: initialProperties + ) } func updateUIViewController(_ uiViewController: UIViewController, context: Context) {}