Skip to content

Send files directly between devices over the internet - no cloud storage, no size limits.

fix ci check

Denis Lupookov9691ff17ed6f
diff --git a/apps/mobile/app.json b/apps/mobile/app.json
index 3184f8b..dc49da1 100644
--- a/apps/mobile/app.json
+++ b/apps/mobile/app.json
@@ -18,21 +18,14 @@
"bundleIdentifier": "com.altersend.mobile",
"infoPlist": {
"NSLocalNetworkUsageDescription": "AlterSend uses your local network to discover nearby devices for peer-to-peer file transfer.",
- "NSBonjourServices": [
- "_altersend._udp",
- "_altersend._tcp"
- ],
+ "NSBonjourServices": ["_altersend._udp", "_altersend._tcp"],
"UIFileSharingEnabled": true,
"LSSupportsOpeningDocumentsInPlace": true,
"ITSAppUsesNonExemptEncryption": false,
"CFBundleAllowMixedLocalizations": true,
"UIViewControllerBasedStatusBarAppearance": true,
- "UIBackgroundModes": [
- "processing"
- ],
- "BGTaskSchedulerPermittedIdentifiers": [
- "com.altersend.mobile.transfer"
- ]
+ "UIBackgroundModes": ["processing"],
+ "BGTaskSchedulerPermittedIdentifiers": ["com.altersend.mobile.transfer"]
},
"privacyManifests": {
"NSPrivacyTracking": false,
@@ -71,10 +64,7 @@
}
]
},
- "associatedDomains": [
- "applinks:altersend.com",
- "applinks:app.altersend.com"
- ]
+ "associatedDomains": ["applinks:altersend.com", "applinks:app.altersend.com"]
},
"android": {
"adaptiveIcon": {
@@ -114,17 +104,12 @@
"pathPrefix": "/r"
}
],
- "category": [
- "BROWSABLE",
- "DEFAULT"
- ]
+ "category": ["BROWSABLE", "DEFAULT"]
}
]
},
"plugins": [
- [
- "expo-router"
- ],
+ ["expo-router"],
[
"@sentry/react-native/expo",
{
@@ -137,9 +122,7 @@
{
"android": {
"minSdkVersion": 29,
- "buildArchs": [
- "arm64-v8a"
- ],
+ "buildArchs": ["arm64-v8a"],
"enableMinifyInReleaseBuilds": true,
"enableShrinkResourcesInReleaseBuilds": true
}
@@ -172,9 +155,7 @@
"NSExtensionActivationSupportsMovieWithMaxCount": 100,
"NSExtensionActivationSupportsFileWithMaxCount": 100
},
- "androidIntentFilters": [
- "*/*"
- ]
+ "androidIntentFilters": ["*/*"]
}
],
[
diff --git a/packages/core/src/worklet/transfer/orchestrator.ts b/packages/core/src/worklet/transfer/orchestrator.ts
index a252a12..48ee0d4 100644
--- a/packages/core/src/worklet/transfer/orchestrator.ts
+++ b/packages/core/src/worklet/transfer/orchestrator.ts
@@ -383,7 +383,7 @@ export class TransferOrchestrator implements TransferRPC {
return
}
const queue = this.pendingServes.get(session.peerKey) ?? []
-
+
if (queue.length >= MAX_FILES_PER_TRANSFER) return
queue.push(message)
diff --git a/scripts/bump-version.js b/scripts/bump-version.js
index 9e491b5..250f26c 100644
--- a/scripts/bump-version.js
+++ b/scripts/bump-version.js
@@ -56,6 +56,9 @@ appJson.expo.version = version
writeFileSync(appJsonPath, JSON.stringify(appJson, null, 2) + '\n')
console.log('bumped apps/mobile/app.json')
+const rewritten = [...packages.filter((rel) => rel !== 'package.json'), 'apps/mobile/app.json']
+execSync(`npx prettier --write ${rewritten.join(' ')}`, { cwd: root, stdio: 'inherit' })
+
// Sync package-lock.json so `npm ci` (CI) stays in lockstep with the new versions.
console.log('updating package-lock.json…')
execSync('npm install --package-lock-only', { cwd: root, stdio: 'inherit' })