mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
[ios][prebuild] Added React_RCTAppDelegate to swift testfile
To make sure we expose all the swift features that we should, we expose and declare a variable from React_RCTAppDelegate
This commit is contained in:
@@ -6,7 +6,11 @@
|
||||
*/
|
||||
|
||||
// The SwiftTest here in rn-tester acts as a guard to make sure that we can build React-Core clang module and import from Swift.
|
||||
|
||||
import React
|
||||
import React_RCTAppDelegate
|
||||
|
||||
let p: RCTReactNativeFactory? = nil
|
||||
|
||||
func getReactNativeVersion() -> String {
|
||||
let version = RCTGetReactNativeVersion()
|
||||
|
||||
Reference in New Issue
Block a user