mirror of
https://github.com/permissionlesstech/bitchat.git
synced 2026-07-24 23:45:18 +00:00
- Added duplicate connection detection in key exchange handler - When same peer connects through multiple peripherals, keep only one - Track intentional disconnects to suppress disconnect messages - Don't show disconnect message when dropping duplicate connections - This prevents the confusing connect/disconnect/connect pattern The issue was that both devices try to connect to each other simultaneously, creating duplicate connections. One gets dropped, but now it's handled gracefully.
50 lines
1.6 KiB
YAML
50 lines
1.6 KiB
YAML
name: bitchat
|
|
options:
|
|
bundleIdPrefix: com.bitchat
|
|
deploymentTarget:
|
|
iOS: 16.0
|
|
macOS: 13.0
|
|
createIntermediateGroups: true
|
|
|
|
settings:
|
|
MARKETING_VERSION: 1.0.0
|
|
CURRENT_PROJECT_VERSION: 1
|
|
|
|
targets:
|
|
bitchat:
|
|
type: application
|
|
platform: [iOS, macOS]
|
|
sources:
|
|
- bitchat
|
|
resources:
|
|
- bitchat/Assets.xcassets
|
|
info:
|
|
path: bitchat/Info.plist
|
|
properties:
|
|
CFBundleDisplayName: bitchat
|
|
CFBundleShortVersionString: $(MARKETING_VERSION)
|
|
CFBundleVersion: $(CURRENT_PROJECT_VERSION)
|
|
LSMinimumSystemVersion: $(MACOSX_DEPLOYMENT_TARGET)
|
|
NSBluetoothAlwaysUsageDescription: bitchat uses Bluetooth to create a secure mesh network for chatting with nearby users.
|
|
NSBluetoothPeripheralUsageDescription: bitchat uses Bluetooth to discover and connect with other bitchat users nearby.
|
|
UIBackgroundModes:
|
|
- bluetooth-central
|
|
- bluetooth-peripheral
|
|
UILaunchScreen:
|
|
UIColorName: Black
|
|
UISupportedInterfaceOrientations:
|
|
- UIInterfaceOrientationPortrait
|
|
settings:
|
|
PRODUCT_BUNDLE_IDENTIFIER: chat.bitchat
|
|
INFOPLIST_FILE: bitchat/Info.plist
|
|
ENABLE_PREVIEWS: YES
|
|
SWIFT_VERSION: 5.0
|
|
IPHONEOS_DEPLOYMENT_TARGET: 16.0
|
|
MACOSX_DEPLOYMENT_TARGET: 13.0
|
|
SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD: YES
|
|
CODE_SIGN_STYLE: Automatic
|
|
CODE_SIGNING_REQUIRED: YES
|
|
CODE_SIGNING_ALLOWED: YES
|
|
ASSETCATALOG_COMPILER_APPICON_NAME: AppIcon
|
|
ASSETCATALOG_COMPILER_INCLUDE_ALL_APPICON_ASSETS: YES
|