File tree Expand file tree Collapse file tree 1 file changed +0
-17
lines changed Expand file tree Collapse file tree 1 file changed +0
-17
lines changed Original file line number Diff line number Diff line change 1- import { mergeContents } from "@expo/config-plugins/build/utils/generateCode" ;
21import { ConfigPlugin , withDangerousMod } from "@expo/config-plugins" ;
32import * as fs from "fs" ;
43import * 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 : / : c c a c h e _ e n a b l e d = > p o d f i l e _ p r o p e r t i e s \[ ' a p p l e \. c c a c h e E n a b l e d ' \] = = ' t r u e ' , / ,
45- offset : 2 ,
46- comment : "#" ,
47- } ) . contents ;
48-
4932 /* podFileContent = mergeContents({
5033 tag: "react-native-widget-extension-2",
5134 src: podFileContent,
You can’t perform that action at this time.
0 commit comments