diff --git a/packages/react-native-device-activity/app.plugin.js b/packages/react-native-device-activity/app.plugin.js index be71b0e..2abfa4c 100644 --- a/packages/react-native-device-activity/app.plugin.js +++ b/packages/react-native-device-activity/app.plugin.js @@ -6,7 +6,7 @@ const withCopyTargetFolder = require("./config-plugin/withCopyTargetFolder"); const withEntitlementsPlugin = require("./config-plugin/withEntitlements"); const withInfoPlistAppGroup = require("./config-plugin/withInfoPlistAppGroup"); const withXcodeSettings = require("./config-plugin/withXCodeSettings"); -const pkg = require("../../package.json"); +const pkg = require(process.cwd() + "/package.json"); /** @type {import('@expo/config-plugins').ConfigPlugin<{ appleTeamId?: string; match?: string; appGroup: string; copyToTargetFolder?: boolean }>} */ const withActivityMonitorExtensionPlugin = (config, props) => {