Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/add idfa parameter to release #162

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

DaVaMa1
Copy link

@DaVaMa1 DaVaMa1 commented Aug 17, 2020

This is still untested as I din't have access to a working pipeline to which I'm allowed to upload tasks. I'm not sure if this is going to work, but I'm pretty sure that it should....

@ghost
Copy link

ghost commented Aug 17, 2020

CLA assistant check
All CLA requirements met.

@DaVaMa1
Copy link
Author

DaVaMa1 commented Aug 17, 2020

I'm currently testing this, managed to upload it. It still needs some work as you don't only want to add the part of the command if the value is true, also when it's not...

@DaVaMa1
Copy link
Author

DaVaMa1 commented Aug 18, 2020

I can't get this to work with any variation on quotes and escaped quotes etc. Maybe someone witha bit more fastlane knowledge can get this to work....

@anatolybolshakov anatolybolshakov linked an issue Sep 2, 2020 that may be closed by this pull request
@anatolybolshakov
Copy link
Contributor

Hi @DaVaMa1, thanks for contribution! We will review these changes once we will start working on related issue

@anatolybolshakov anatolybolshakov requested a review from a team September 2, 2020 14:17
@@ -258,6 +259,7 @@ async function run() {
deliverCommand.argIf(teamName, ['-e', teamName]);
deliverCommand.argIf(shouldSubmitForReview, ['--submit_for_review', 'true']);
deliverCommand.argIf(shouldAutoRelease, ['--automatic_release', 'true']);
deliverCommand.argIf(usesIdfa, ['--submission_information', `'{'add_id_info_uses_idfa': ${usesIdfa}}'`]);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change could be unobvious - fastlane command tools doesn't support repeated flags, so if fastlaneArguments is defined - '--submission_information' there could override this value

@anatolybolshakov
Copy link
Contributor

Looks like these changes break backward compatibility and could make task inputs less orthogonal - since fastlane doesn't support repeated flags at the moment. To resolve compatibility issue - we could increase major task version, but not sure if decreasing of inputs orthogonality is the right direction here.
@DaVaMa1 could you please describe your use case here? Do you need to specify idfa without any other submission information params?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

IDFA is required to submit
2 participants