Skip to content

Commit c7e04dd

Browse files
committed
expo: fix module import
1 parent 4fa7f55 commit c7e04dd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

plugin/src/fixtures/swift_appDelegate.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public class AppDelegate: ExpoAppDelegate {
4444

4545
export const swift_appDelegateExpectedFixture = `import React
4646
47-
import RNBatch
47+
import RNBatchPush
4848
import Expo
4949
5050
@UIApplicationMain

plugin/src/ios/withReactNativeBatchAppDelegate.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public class AppDelegate: ExpoAppDelegate {
1919
_ application: UIApplication,
2020
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? = nil
2121
) -> Bool {`;
22-
const IMPORT_SWIFT_BATCH = '\n\nimport RNBatch\n';
22+
const IMPORT_SWIFT_BATCH = '\n\nimport RNBatchPush\n';
2323
const REGISTER_SWIFT_BATCH = '\n RNBatch.start()\n';
2424

2525
export const modifySwiftDelegate = (contents: string): string => {

0 commit comments

Comments
 (0)