mirror of
https://github.com/permissionlesstech/bitchat.git
synced 2026-07-24 23:45:18 +00:00
- Implement share extension to receive URLs from other apps - Display shared links with emoji indicator and rich preview cards - Add custom compact link preview with image, title, and domain - Configure app groups for data sharing between extension and main app - Handle URL detection and parsing in share extension - Update message formatting to show only emoji for shared links - Add proper entitlements and activation rules for share extension
119 lines
3.8 KiB
YAML
119 lines
3.8 KiB
YAML
name: bitchat
|
|
options:
|
|
bundleIdPrefix: chat.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
|
|
CFBundleURLTypes:
|
|
- CFBundleURLSchemes:
|
|
- bitchat
|
|
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
|
|
CODE_SIGN_ENTITLEMENTS: bitchat/bitchat.entitlements
|
|
DEVELOPMENT_TEAM: L3N5LHJD5Y
|
|
dependencies:
|
|
- target: bitchatShareExtension
|
|
platformFilter: ios
|
|
embed: true
|
|
|
|
bitchatShareExtension:
|
|
type: app-extension
|
|
platform: iOS
|
|
sources:
|
|
- bitchatShareExtension
|
|
info:
|
|
path: bitchatShareExtension/Info.plist
|
|
properties:
|
|
CFBundleDisplayName: bitchat
|
|
CFBundleShortVersionString: $(MARKETING_VERSION)
|
|
CFBundleVersion: $(CURRENT_PROJECT_VERSION)
|
|
NSExtension:
|
|
NSExtensionPointIdentifier: com.apple.share-services
|
|
NSExtensionPrincipalClass: $(PRODUCT_MODULE_NAME).ShareViewController
|
|
NSExtensionAttributes:
|
|
NSExtensionActivationRule:
|
|
NSExtensionActivationSupportsText: true
|
|
NSExtensionActivationSupportsWebURLWithMaxCount: 1
|
|
NSExtensionActivationSupportsImageWithMaxCount: 1
|
|
settings:
|
|
PRODUCT_BUNDLE_IDENTIFIER: chat.bitchat.ShareExtension
|
|
INFOPLIST_FILE: bitchatShareExtension/Info.plist
|
|
SWIFT_VERSION: 5.0
|
|
IPHONEOS_DEPLOYMENT_TARGET: 16.0
|
|
CODE_SIGN_STYLE: Automatic
|
|
CODE_SIGNING_REQUIRED: YES
|
|
CODE_SIGNING_ALLOWED: YES
|
|
CODE_SIGN_ENTITLEMENTS: bitchatShareExtension/bitchatShareExtension.entitlements
|
|
DEVELOPMENT_TEAM: L3N5LHJD5Y
|
|
|
|
bitchatTests_iOS:
|
|
type: bundle.unit-test
|
|
platform: iOS
|
|
sources:
|
|
- bitchatTests
|
|
dependencies:
|
|
- target: bitchat_iOS
|
|
settings:
|
|
PRODUCT_BUNDLE_IDENTIFIER: chat.bitchat.tests
|
|
INFOPLIST_FILE: bitchatTests/Info.plist
|
|
SWIFT_VERSION: 5.0
|
|
IPHONEOS_DEPLOYMENT_TARGET: 16.0
|
|
TEST_HOST: $(BUILT_PRODUCTS_DIR)/bitchat.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/bitchat
|
|
BUNDLE_LOADER: $(TEST_HOST)
|
|
|
|
bitchatTests_macOS:
|
|
type: bundle.unit-test
|
|
platform: macOS
|
|
sources:
|
|
- bitchatTests
|
|
dependencies:
|
|
- target: bitchat_macOS
|
|
settings:
|
|
PRODUCT_BUNDLE_IDENTIFIER: chat.bitchat.tests
|
|
INFOPLIST_FILE: bitchatTests/Info.plist
|
|
SWIFT_VERSION: 5.0
|
|
MACOSX_DEPLOYMENT_TARGET: 13.0
|
|
TEST_HOST: $(BUILT_PRODUCTS_DIR)/bitchat.app/Contents/MacOS/bitchat
|
|
BUNDLE_LOADER: $(TEST_HOST)
|