Skip to content

Commit f476dd5

Browse files
authored
Merge pull request #576 from mickeypause/fix/expo-swift-main-annotation
2 parents 3be7d95 + e184ac4 commit f476dd5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

expo/plugin/src/iOSPlugin.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ const modifySwiftAppDelegate = (src:string) => {
6666
tag: "react-native-background-fetch-import",
6767
src,
6868
newSrc: "import TSBackgroundFetch",
69-
anchor: /@UIApplicationMain/,
69+
anchor: /@(UIApplication)?main/,
7070
offset: -1,
7171
comment: "//",
7272
}).contents;

0 commit comments

Comments
 (0)