Skip to content

Commit 8a34969

Browse files
Merge pull request Expensify#86081 from software-mansion-labs/war-in/fix-standalone-ios-build
[No QA] [iOS] fix standalone iOS builds
2 parents 7004bcb + 9af4532 commit 8a34969

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

ios/AppDelegate.swift

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,8 @@ import UIKit
99
import React
1010
import React_RCTAppDelegate
1111
import ReactAppDependencyProvider
12-
import ExpoModulesCore
1312
import Firebase
14-
import Expo
13+
internal import Expo
1514
import ActivityKit
1615
import AirshipFrameworkProxy
1716

@@ -25,12 +24,11 @@ class AppDelegate: ExpoAppDelegate, UNUserNotificationCenterDelegate {
2524
let appStartTimePreferencesKey = "AppStartTime"
2625
UserDefaults.standard.set(Date().timeIntervalSince1970 * 1000, forKey: appStartTimePreferencesKey)
2726
let delegate = ReactNativeDelegate()
28-
let factory = RCTReactNativeFactory(delegate: delegate)
27+
let factory = ExpoReactNativeFactory(delegate: delegate)
2928
delegate.dependencyProvider = RCTAppDependencyProvider()
3029

3130
reactNativeDelegate = delegate
3231
reactNativeFactory = factory
33-
bindReactNativeFactory(factory)
3432

3533
window = UIWindow(frame: UIScreen.main.bounds)
3634
factory.startReactNative(

0 commit comments

Comments
 (0)