Skip to content

release/v1.2.1#78

Merged
julian-bridgefy merged 3 commits into
mainfrom
pre_release/v1.2.1
Mar 28, 2026
Merged

release/v1.2.1#78
julian-bridgefy merged 3 commits into
mainfrom
pre_release/v1.2.1

Conversation

@julian-bridgefy
Copy link
Copy Markdown
Contributor

No description provided.

- Android SDK: 1.2.4 → 1.2.5
- iOS SDK: 1.3.3 → 1.3.4
…oundServiceType in sample app

- Add FOREGROUND_SERVICE_CONNECTED_DEVICE permission
- Align foregroundServiceType with connectedDevice in sample app
@julian-bridgefy julian-bridgefy merged commit 7078c5c into main Mar 28, 2026
2 of 4 checks passed
@julian-bridgefy julian-bridgefy deleted the pre_release/v1.2.1 branch March 28, 2026 22:08
@antoinerousseau
Copy link
Copy Markdown

This release is broken...

Error: While trying to resolve module `bridgefy-react-native` from file `/home/expo/workingdir/build/apps/backstage/src/providers/mesh/mesh.tsx`, the package `/home/expo/workingdir/build/node_modules/.pnpm/bridgefy-react-native@1.2.1_react-native@0.83.2_@babel+core@7.29.0_@react-native-commun_c5afed86b894db0044c68230457f956d/node_modules/bridgefy-react-native/package.json` was successfully found. However, this package itself specifies a `main` module field that could not be resolved (`/home/expo/workingdir/build/node_modules/.pnpm/bridgefy-react-native@1.2.1_react-native@0.83.2_@babel+core@7.29.0_@react-native-commun_c5afed86b894db0044c68230457f956d/node_modules/bridgefy-react-native/lib/module/index.js`. Indeed, none of these files exist:
  * /home/expo/workingdir/build/node_modules/.pnpm/bridgefy-react-native@1.2.1_react-native@0.83.2_@babel+core@7.29.0_@react-native-commun_c5afed86b894db0044c68230457f956d/node_modules/bridgefy-react-native/lib/module/index.js(.android.ts|.native.ts|.ts|.android.tsx|.native.tsx|.tsx|.android.mjs|.native.mjs|.mjs|.android.js|.native.js|.js|.android.jsx|.native.jsx|.jsx|.android.json|.native.json|.json|.android.cjs|.native.cjs|.cjs|.android.scss|.native.scss|.scss|.android.sass|.native.sass|.sass|.android.css|.native.css|.css|.android.sql|.native.sql|.sql|.android.css|.native.css|.css)
  * /home/expo/workingdir/build/node_modules/.pnpm/bridgefy-react-native@1.2.1_react-native@0.83.2_@babel+core@7.29.0_@react-native-commun_c5afed86b894db0044c68230457f956d/node_modules/bridgefy-react-native/lib/module/index.js/index(.android.ts|.native.ts|.ts|.android.tsx|.native.tsx|.tsx|.android.mjs|.native.mjs|.mjs|.android.js|.native.js|.js|.android.jsx|.native.jsx|.jsx|.android.json|.native.json|.json|.android.cjs|.native.cjs|.cjs|.android.scss|.native.scss|.scss|.android.sass|.native.sass|.sass|.android.css|.native.css|.css|.android.sql|.native.sql|.sql|.android.css|.native.css|.css)
Error: While trying to resolve module `bridgefy-react-native` from file `/home/expo/workingdir/build/apps/backstage/src/providers/mesh/mesh.tsx`, the package `/home/expo/workingdir/build/node_modules/.pnpm/bridgefy-react-native@1.2.1_react-native@0.83.2_@babel+core@7.29.0_@react-native-commun_c5afed86b894db0044c68230457f956d/node_modules/bridgefy-react-native/package.json` was successfully found. However, this package itself specifies a `main` module field that could not be resolved (`/home/expo/workingdir/build/node_modules/.pnpm/bridgefy-react-native@1.2.1_react-native@0.83.2_@babel+core@7.29.0_@react-native-commun_c5afed86b894db0044c68230457f956d/node_modules/bridgefy-react-native/lib/module/index.js`. Indeed, none of these files exist:
  * /home/expo/workingdir/build/node_modules/.pnpm/bridgefy-react-native@1.2.1_react-native@0.83.2_@babel+core@7.29.0_@react-native-commun_c5afed86b894db0044c68230457f956d/node_modules/bridgefy-react-native/lib/module/index.js(.android.ts|.native.ts|.ts|.android.tsx|.native.tsx|.tsx|.android.mjs|.native.mjs|.mjs|.android.js|.native.js|.js|.android.jsx|.native.jsx|.jsx|.android.json|.native.json|.json|.android.cjs|.native.cjs|.cjs|.android.scss|.native.scss|.scss|.android.sass|.native.sass|.sass|.android.css|.native.css|.css|.android.sql|.native.sql|.sql|.android.css|.native.css|.css)
  * /home/expo/workingdir/build/node_modules/.pnpm/bridgefy-react-native@1.2.1_react-native@0.83.2_@babel+core@7.29.0_@react-native-commun_c5afed86b894db0044c68230457f956d/node_modules/bridgefy-react-native/lib/module/index.js/index(.android.ts|.native.ts|.ts|.android.tsx|.native.tsx|.tsx|.android.mjs|.native.mjs|.mjs|.android.js|.native.js|.js|.android.jsx|.native.jsx|.jsx|.android.json|.native.json|.json|.android.cjs|.native.cjs|.cjs|.android.scss|.native.scss|.scss|.android.sass|.native.sass|.sass|.android.css|.native.css|.css|.android.sql|.native.sql|.sql|.android.css|.native.css|.css)
    at DependencyGraph.resolveDependency (/home/expo/workingdir/build/node_modules/.pnpm/metro@0.83.3/node_modules/metro/src/node-haste/DependencyGraph.js:267:17)
    at /home/expo/workingdir/build/node_modules/.pnpm/metro@0.83.3/node_modules/metro/src/lib/transformHelpers.js:163:21
    at resolveDependencies (/home/expo/workingdir/build/node_modules/.pnpm/metro@0.83.3/node_modules/metro/src/DeltaBundler/buildSubgraph.js:43:25)
    at visit (/home/expo/workingdir/build/node_modules/.pnpm/metro@0.83.3/node_modules/metro/src/DeltaBundler/buildSubgraph.js:81:30)
    at async Promise.all (index 5)
    at visit (/home/expo/workingdir/build/node_modules/.pnpm/metro@0.83.3/node_modules/metro/src/DeltaBundler/buildSubgraph.js:90:5)
    at async Promise.all (index 3)
    at visit (/home/expo/workingdir/build/node_modules/.pnpm/metro@0.83.3/node_modules/metro/src/DeltaBundler/buildSubgraph.js:90:5)
    at async Promise.all (index 0)
    at visit (/home/expo/workingdir/build/node_modules/.pnpm/metro@0.83.3/node_modules/metro/src/DeltaBundler/buildSubgraph.js:90:5)
    at async Promise.all (index 1)
    at visit (/home/expo/workingdir/build/node_modules/.pnpm/metro@0.83.3/node_modules/metro/src/DeltaBundler/buildSubgraph.js:90:5)
    at async Promise.all (index 1)
    at visit (/home/expo/workingdir/build/node_modules/.pnpm/metro@0.83.3/node_modules/metro/src/DeltaBundler/buildSubgraph.js:90:5)
    at async Promise.all (index 0)
    at visit (/home/expo/workingdir/build/node_modules/.pnpm/metro@0.83.3/node_modules/metro/src/DeltaBundler/buildSubgraph.js:90:5)
    at async Promise.all (index 2)
    at visit (/home/expo/workingdir/build/node_modules/.pnpm/metro@0.83.3/node_modules/metro/src/DeltaBundler/buildSubgraph.js:90:5)
    at async Promise.all (index 0)
    at buildSubgraph (/home/expo/workingdir/build/node_modules/.pnpm/metro@0.83.3/node_modules/metro/src/DeltaBundler/buildSubgraph.js:105:3)
    at Graph._buildDelta (/home/expo/workingdir/build/node_modules/.pnpm/metro@0.83.3/node_modules/metro/src/DeltaBundler/Graph.js:163:22)
    at Graph.initialTraverseDependencies (/home/expo/workingdir/build/node_modules/.pnpm/metro@0.83.3/node_modules/metro/src/DeltaBundler/Graph.js:146:19)
    at DeltaCalculator._getChangedDependencies (/home/expo/workingdir/build/node_modules/.pnpm/metro@0.83.3/node_modules/metro/src/DeltaBundler/DeltaCalculator.js:155:25)
    at DeltaCalculator.getDelta (/home/expo/workingdir/build/node_modules/.pnpm/metro@0.83.3/node_modules/metro/src/DeltaBundler/DeltaCalculator.js:72:16)
    at DeltaBundler.buildGraph (/home/expo/workingdir/build/node_modules/.pnpm/metro@0.83.3/node_modules/metro/src/DeltaBundler.js:42:5)
    at IncrementalBundler.buildGraphForEntries (/home/expo/workingdir/build/node_modules/.pnpm/metro@0.83.3/node_modules/metro/src/IncrementalBundler.js:90:19)
    at IncrementalBundler.buildGraph (/home/expo/workingdir/build/node_modules/.pnpm/metro@0.83.3/node_modules/metro/src/IncrementalBundler.js:170:19)
    at /home/expo/workingdir/build/node_modules/.pnpm/metro@0.83.3/node_modules/metro/src/IncrementalBundler.js:208:34
    at IncrementalBundler.initializeGraph (/home/expo/workingdir/build/node_modules/.pnpm/metro@0.83.3/node_modules/metro/src/IncrementalBundler.js:225:24)
    at MetroBundlerDevServer._bundleDirectAsync (/home/expo/workingdir/build/node_modules/.pnpm/@expo+cli@55.0.19_@expo+dom-webview@55.0.3_@expo+metro-runtime@55.0.6_expo-constants@55_bf14ade357609da6f600a08f290daa6c/node_modules/@expo/cli/src/start/server/metro/MetroBundlerDevServer.ts:2020:25)
    at MetroBundlerDevServer.metroLoadModuleContents (/home/expo/workingdir/build/node_modules/.pnpm/@expo+cli@55.0.19_@expo+dom-webview@55.0.3_@expo+metro-runtime@55.0.6_expo-constants@55_bf14ade357609da6f600a08f290daa6c/node_modules/@expo/cli/src/start/server/metro/MetroBundlerDevServer.ts:826:21)
    at MetroBundlerDevServer.legacySinglePageExportBundleAsync (/home/expo/workingdir/build/node_modules/.pnpm/@expo+cli@55.0.19_@expo+dom-webview@55.0.3_@expo+metro-runtime@55.0.6_expo-constants@55_bf14ade357609da6f600a08f290daa6c/node_modules/@expo/cli/src/start/server/metro/MetroBundlerDevServer.ts:1138:20)
    at exportEmbedBundleAndAssetsAsync (/home/expo/workingdir/build/node_modules/.pnpm/@expo+cli@55.0.19_@expo+dom-webview@55.0.3_@expo+metro-runtime@55.0.6_expo-constants@55_bf14ade357609da6f600a08f290daa6c/node_modules/@expo/cli/src/export/embed/exportEmbedAsync.ts:195:21)
    at exportEmbedInternalAsync (/home/expo/workingdir/build/node_modules/.pnpm/@expo+cli@55.0.19_@expo+dom-webview@55.0.3_@expo+metro-runtime@55.0.6_expo-constants@55_bf14ade357609da6f600a08f290daa6c/node_modules/@expo/cli/src/export/embed/exportEmbedAsync.ts:127:37)
    at exportEmbedAsync (/home/expo/workingdir/build/node_modules/.pnpm/@expo+cli@55.0.19_@expo+dom-webview@55.0.3_@expo+metro-runtime@55.0.6_expo-constants@55_bf14ade357609da6f600a08f290daa6c/node_modules/@expo/cli/src/export/embed/exportEmbedAsync.ts:107:3)

julian-bridgefy added a commit that referenced this pull request Mar 30, 2026
The package.json `main` field was pointing to a non-existent file:
`lib/module/index.js`, causing Metro (React Native) to fail resolving
the package.

Fix:
- Updated `main` to `lib/commonjs/index.js`
- Ensured `lib/` is generated before publish
- Added/validated build step for compiled output

This resolves module resolution issues in Expo/Metro environments,
especially when using pnpm.

Closes #78
julian-bridgefy added a commit that referenced this pull request Mar 30, 2026
The package.json `main` field was pointing to a non-existent file:
`lib/module/index.js`, causing Metro (React Native) to fail resolving
the package.

Fix:
- Updated `main` to `lib/commonjs/index.js`
- Ensured `lib/` is generated before publish
- Added/validated build step for compiled output

This resolves module resolution issues in Expo/Metro environments,
especially when using pnpm.

Closes #78
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants