fastlane/lib/fastlane/actions/modify_services.rb in fastlane_hotfix-2.165.1 vs fastlane/lib/fastlane/actions/modify_services.rb in fastlane_hotfix-2.187.0
- old
+ new
@@ -40,33 +40,69 @@
service_object
end
def self.services_mapping
{
- access_wifi: 'access_wifi',
- app_group: 'app_group',
- apple_pay: 'apple_pay',
- associated_domains: 'associated_domains',
- auto_fill_credential: 'auto_fill_credential',
- data_protection: 'data_protection',
- game_center: 'game_center',
- health_kit: 'healthkit',
- home_kit: 'homekit',
- hotspot: 'hotspot',
- icloud: 'icloud',
- in_app_purchase: 'in_app_purchase',
- inter_app_audio: 'inter_app_audio',
- multipath: 'multipath',
- network_extension: 'network_extension',
- nfc_tag_reading: 'nfc_tag_reading',
- personal_vpn: 'personal_vpn',
- passbook: 'passbook',
- push_notification: 'push_notification',
- siri_kit: 'sirikit',
- vpn_configuration: 'vpn_conf',
- wallet: 'wallet',
- wireless_accessory: 'wireless_conf'
+ access_wifi: 'access_wifi',
+ app_attest: 'app_attest',
+ app_group: 'app_group',
+ apple_pay: 'apple_pay',
+ associated_domains: 'associated_domains',
+ auto_fill_credential: 'auto_fill_credential',
+ class_kit: 'class_kit',
+ icloud: 'icloud',
+ custom_network_protocol: 'custom_network_protocol',
+ data_protection: 'data_protection',
+ extended_virtual_address_space: 'extended_virtual_address_space',
+ family_controls: 'family_controls',
+ file_provider_testing_mode: 'file_provider_testing_mode',
+ fonts: 'fonts',
+ game_center: 'game_center',
+ health_kit: 'health_kit',
+ hls_interstitial_preview: 'hls_interstitial_preview',
+ home_kit: 'home_kit',
+ hotspot: 'hotspot',
+ in_app_purchase: 'in_app_purchase',
+ inter_app_audio: 'inter_app_audio',
+ low_latency_hls: 'low_latency_hls',
+ managed_associated_domains: 'managed_associated_domains',
+ maps: 'maps',
+ multipath: 'multipath',
+ network_extension: 'network_extension',
+ nfc_tag_reading: 'nfc_tag_reading',
+ personal_vpn: 'personal_vpn',
+ passbook: 'passbook',
+ push_notification: 'push_notification',
+ sign_in_with_apple: 'sign_in_with_apple',
+ siri_kit: 'siri_kit',
+ system_extension: 'system_extension',
+ user_management: 'user_management',
+ vpn_configuration: 'vpn_configuration',
+ wallet: 'wallet',
+ wireless_accessory: 'wireless_accessory',
+ car_play_audio_app: 'car_play_audio_app',
+ car_play_messaging_app: 'car_play_messaging_app',
+ car_play_navigation_app: 'car_play_navigation_app',
+ car_play_voip_calling_app: 'car_play_voip_calling_app',
+ critical_alerts: 'critical_alerts',
+ hotspot_helper: 'hotspot_helper',
+ driver_kit: 'driver_kit',
+ driver_kit_endpoint_security: 'driver_kit_endpoint_security',
+ driver_kit_family_hid_device: 'driver_kit_family_hid_device',
+ driver_kit_family_networking: 'driver_kit_family_networking',
+ driver_kit_family_serial: 'driver_kit_family_serial',
+ driver_kit_hid_event_service: 'driver_kit_hid_event_service',
+ driver_kit_transport_hid: 'driver_kit_transport_hid',
+ multitasking_camera_access: 'multitasking_camera_access',
+ sf_universal_link_api: 'sf_universal_link_api',
+ vp9_decoder: 'vp9_decoder',
+ music_kit: 'music_kit',
+ shazam_kit: 'shazam_kit',
+ communication_notifications: 'communication_notifications',
+ group_activities: 'group_activities',
+ health_kit_estimate_recalibration: 'health_kit_estimate_recalibration',
+ time_sensitive_notifications: 'time_sensitive_notifications'
}
end
def self.allowed_services_description
return Produce::DeveloperCenter::ALLOWED_SERVICES.map do |k, v|
@@ -104,10 +140,9 @@
default_value_dynamic: true),
FastlaneCore::ConfigItem.new(key: :services,
display_in_shell: false,
env_name: "PRODUCE_ENABLE_SERVICES",
description: "Array with Spaceship App Services (e.g. #{allowed_services_description})",
- is_string: false,
type: Hash,
default_value: {},
verify_block: proc do |value|
allowed_keys = Produce::DeveloperCenter::ALLOWED_SERVICES.keys
UI.user_error!("enable_services has to be of type Hash") unless value.kind_of?(Hash)