Build pipeline for both platforms #42
| @@ -40,5 +40,20 @@ end | ||||
| post_install do |installer| | ||||
|   installer.pods_project.targets.each do |target| | ||||
|     flutter_additional_ios_build_settings(target) | ||||
|  | ||||
|     target.build_configurations.each do |config| | ||||
|       # You can remove unused permissions here | ||||
|       # for more information: https://github.com/BaseflowIT/flutter-permission-handler/blob/master/permission_handler/ios/Classes/PermissionHandlerEnums.h | ||||
|       config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] ||= [ | ||||
|         '$(inherited)', | ||||
|         ## The 'PERMISSION_LOCATION' macro enables the `locationWhenInUse` and `locationAlways` permission. If | ||||
|         ## the application only requires `locationWhenInUse`, only specify the `PERMISSION_LOCATION_WHENINUSE` | ||||
|         ## macro. | ||||
|         ## | ||||
|         ## dart: [PermissionGroup.location, PermissionGroup.locationAlways, PermissionGroup.locationWhenInUse] | ||||
|         'PERMISSION_LOCATION=1', | ||||
|         'PERMISSION_LOCATION_WHENINUSE=0', | ||||
|       ] | ||||
|     end | ||||
|   end | ||||
| end | ||||
|   | ||||
| @@ -49,5 +49,34 @@ | ||||
| 	<string>$(PRODUCT_NAME) optionally uses your location to plan trips directly from your current location.</string> | ||||
| 	<key>NSLocationWhenInUseUsageDescription</key> | ||||
| 	<string>$(PRODUCT_NAME) optionally uses your location to plan trips directly from your current location.</string> | ||||
| 	<key>LSApplicationQueriesSchemes</key> | ||||
| 	<array> | ||||
| 		<!-- set by maps launcher --> | ||||
| 		<string>comgooglemaps</string> | ||||
| 		<string>baidumap</string> | ||||
| 		<string>iosamap</string> | ||||
| 		<string>waze</string> | ||||
| 		<string>yandexmaps</string> | ||||
| 		<string>yandexnavi</string> | ||||
| 		<string>citymapper</string> | ||||
| 		<string>mapswithme</string> | ||||
| 		<string>osmandmaps</string> | ||||
| 		<string>dgis</string> | ||||
| 		<string>qqmap</string> | ||||
| 		<string>here-location</string> | ||||
| 		<string>tomtomgo</string> | ||||
| 		<string>copilot</string> | ||||
| 		<string>com.sygic.aura</string> | ||||
| 		<string>nmap</string> | ||||
| 		<string>kakaomap</string> | ||||
| 		<string>tmap</string> | ||||
| 		<string>szn-mapy</string> | ||||
| 		<string>mappls</string> | ||||
| 		<!-- used by url launcher to open web browser --> | ||||
| 		<string>http</string> | ||||
| 		<string>https</string> | ||||
| 	</array> | ||||
| 	<key>ITSAppUsesNonExemptEncryption</key> | ||||
| 	<false/> | ||||
| </dict> | ||||
| </plist> | ||||
|   | ||||
| @@ -80,10 +80,9 @@ platform :ios do | ||||
|     upload_to_app_store( | ||||
|       skip_screenshots: true, | ||||
|       skip_metadata: true, | ||||
|       skip_app_rating_config: true, | ||||
|       skip_app_review_information: true, | ||||
|       skip_submission: false, | ||||
|       # automatically submit the app for review | ||||
|       precheck_include_in_app_purchases: false, | ||||
|        | ||||
|       submit_for_review: true, | ||||
|       automatic_release: true, | ||||
|       # automatically release the app after review | ||||
|     ) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user