targets:
  Berty:
    info:
      path: Berty/Info.plist
      properties:
        ITSAppUsesNonExemptEncryption: false
        BGTaskSchedulerPermittedIdentifiers:
          - tech.berty.ios.task.gobridge-process
          - tech.berty.ios.task.gobridge-refresh
        CFBundleIconName: '${ASSETCATALOG_COMPILER_APPICON_NAME}'
        CFBundleVersion: '${IOS_BUNDLE_VERSION}'
        CFBundleShortVersionString: '${IOS_SHORT_BUNDLE_VERSION}'
        Commit: '${IOS_COMMIT}'
        CFBundleSignature:
        CFBundleURLTypes:
          - CFBundleTypeRole: Viewer
            CFBundleURLName: Berty
            CFBundleURLSchemes:
              - berty
        LSRequiresIPhoneOS: true
        NSAppTransportSecurity:
          NSAllowsArbitraryLoads: true
          NSExceptionDomains:
            localhost:
              NSExceptionAllowsInsecureHTTPLoads: true
        NSBluetoothAlwaysUsageDescription: Used for Bluetooth communications
        NSBluetoothPeripheralUsageDescription: Used for Bluetooth communications
        NSBonjourServices:
          - _berty-mc._tcp
        NSCameraUsageDescription: Do you want to authorize camera to take picture or scan QR code?
        NSLocalNetworkUsageDescription: Used for proximity communications
        NSLocationWhenInUseUsageDescription: ''
        NSPhotoLibraryUsageDescription: Used to personalize the app and send photos
        NSMicrophoneUsageDescription: Used for voice recording
        NSContactsUsageDescription: Find your contacts already using Berty
        Shake:
          APIClientID: '$(SHAKE_API_ID)'
          APIClientSecret: '$(SHAKE_API_SECRET)'
        UIAppFonts:
          - OpenSans-Bold.ttf
          - OpenSans-BoldItalic.ttf
          - OpenSans-ExtraBold.ttf
          - OpenSans-ExtraBoldItalic.ttf
          - OpenSans-Italic.ttf
          - OpenSans-Light.ttf
          - OpenSans-LightItalic.ttf
          - OpenSans-Regular.ttf
          - OpenSans-SemiBold.ttf
          - OpenSans-SemiBoldItalic.ttf
          - AntDesign.ttf
          - Entypo.ttf
          - EvilIcons.ttf
          - Feather.ttf
          - FontAwesome.ttf
          - FontAwesome5_Brands.ttf
          - FontAwesome5_Regular.ttf
          - FontAwesome5_Solid.ttf
          - Fontisto.ttf
          - Foundation.ttf
          - Ionicons.ttf
          - MaterialCommunityIcons.ttf
          - MaterialIcons.ttf
          - Octicons.ttf
          - SimpleLineIcons.ttf
          - Zocial.ttf
        UIBackgroundModes:
          - fetch
          - processing
          - remote-notification
        UILaunchStoryboardName: BootSplash
        UIRequiredDeviceCapabilities: [armv7]
        UISupportedInterfaceOrientations: [UIInterfaceOrientationPortrait]
        UISupportedInterfaceOrientations~ipad:
          - UIInterfaceOrientationPortrait
          - UIInterfaceOrientationLandscapeRight
          - UIInterfaceOrientationLandscapeLeft
          - UIInterfaceOrientationPortraitUpsideDown
        UIViewControllerBasedStatusBarAppearance: false
        appGroupID: '$(APP_GROUP_ID)'

  NotificationService:
    info:
      path: NotificationService/Info.plist
      properties:
        CFBundleDevelopmentRegion: '$(DEVELOPMENT_LANGUAGE)'
        CFBundleDisplayName: 'NotificationService'
        CFBundleExecutable: '$(EXECUTABLE_NAME)'
        CFBundleIdentifier: '$(PRODUCT_BUNDLE_IDENTIFIER)'
        CFBundleInfoDictionaryVersion: '6.0'
        CFBundleName: '$(PRODUCT_NAME)'
        CFBundlePackageType: '$(PRODUCT_BUNDLE_PACKAGE_TYPE)'
        CFBundleVersion: '${IOS_BUNDLE_VERSION}'
        CFBundleShortVersionString: '${IOS_SHORT_BUNDLE_VERSION}'
        NSExtension:
          NSExtensionPointIdentifier: 'com.apple.usernotifications.service'
          NSExtensionPrincipalClass: '$(PRODUCT_MODULE_NAME).NotificationService'
        appGroupID: '$(APP_GROUP_ID)'
