Skip to content

Commit

Permalink
finally building for ios with flipper
Browse files Browse the repository at this point in the history
  • Loading branch information
phryneas committed Dec 11, 2023
1 parent be3d8dd commit 5e78c96
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 9 deletions.
20 changes: 11 additions & 9 deletions app.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import {
withAppBuildGradle,
} from "expo/config-plugins";
import { ExpoConfig, ConfigContext } from "expo/config";
import { withBuildProperties } from "expo-build-properties";

export default ({ config }: ConfigContext): ExpoConfig => {
return withPlugins(
Expand Down Expand Up @@ -47,8 +46,18 @@ export default ({ config }: ConfigContext): ExpoConfig => {
},
owner: "prometheus-web",
jsEngine: "hermes",
plugins: [
[
"expo-build-properties",
{
ios: {
flipper: true,
},
},
],
],
},
[withSourceMapsInDev, withFlipper]
[withSourceMapsInDev]
);
};

Expand All @@ -65,10 +74,3 @@ project.ext.react = [
);
return config;
});

const withFlipper: ConfigPlugin = (config) =>
withBuildProperties(config, {
ios: {
flipper: true,
},
});
16 changes: 16 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"react": "18.2.0",
"react-dom": "18.2.0",
"react-native": "0.72.6",
"react-native-flipper": "^0.212.0",
"react-native-gesture-handler": "~2.12.0",
"react-native-reanimated": "~3.3.0",
"react-native-safe-area-context": "4.6.3",
Expand Down

0 comments on commit 5e78c96

Please sign in to comment.