Skip to content

Commit 4c3b586

Browse files
authored
Removing previous Sentry flag (#40)
1 parent ced9385 commit 4c3b586

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

plugin/src/withPodfile.ts

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import { mergeContents } from "@expo/config-plugins/build/utils/generateCode";
21
import { ConfigPlugin, withDangerousMod } from "@expo/config-plugins";
32
import * as fs from "fs";
43
import * as path from "path";
@@ -30,22 +29,6 @@ export const withPodfile: ConfigPlugin<{ targetName: string }> = (
3029
`use_expo_modules!(searchPaths: ["./node_modules", "../../node_modules", "../../../WidgetExtension"])`
3130
); */
3231

33-
podFileContent = mergeContents({
34-
tag: "react-native-widget-extension-1",
35-
src: podFileContent,
36-
newSrc: `
37-
installer.pods_project.targets.each do |target|
38-
target.build_configurations.each do |config|
39-
# Sentry has build errors unless configured as 'YES' for the Sentry target: https://github.com/bndkt/react-native-widget-extension/issues/24
40-
config.build_settings['APPLICATION_EXTENSION_API_ONLY'] = target.name == 'Sentry' ? 'YES' : 'No'
41-
end
42-
end
43-
`,
44-
anchor: /:ccache_enabled => podfile_properties\['apple\.ccacheEnabled'\] == 'true',/,
45-
offset: 2,
46-
comment: "#",
47-
}).contents;
48-
4932
/* podFileContent = mergeContents({
5033
tag: "react-native-widget-extension-2",
5134
src: podFileContent,

0 commit comments

Comments
 (0)