spaceship/lib/spaceship/du/du_client.rb in fastlane-2.129.0.beta.20190811200106 vs spaceship/lib/spaceship/du/du_client.rb in fastlane-2.129.0.beta.20190813200016
- old
+ new
@@ -20,9 +20,13 @@
def upload_screenshot(app_version, upload_file, content_provider_id, sso_token_for_image, device, is_messages)
upload_file(app_version: app_version, upload_file: upload_file, path: '/upload/image', content_provider_id: content_provider_id, sso_token: sso_token_for_image, du_validation_rule_set: screenshot_picture_type(device, is_messages))
end
+ def upload_purchase_merch_screenshot(app_id, upload_file, content_provider_id, sso_token_for_image)
+ upload_file(app_id: app_id, upload_file: upload_file, path: '/upload/image', content_provider_id: content_provider_id, sso_token: sso_token_for_image, du_validation_rule_set: 'MZPFT.MerchandisingIAPIcon')
+ end
+
def upload_purchase_review_screenshot(app_id, upload_file, content_provider_id, sso_token_for_image)
upload_file(app_id: app_id, upload_file: upload_file, path: '/upload/image', content_provider_id: content_provider_id, sso_token: sso_token_for_image, du_validation_rule_set: get_picture_type(upload_file))
end
def upload_large_icon(app_version, upload_file, content_provider_id, sso_token_for_image)