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

RNMT-5719 Add preference to disable MacOS target #5

Merged
merged 1 commit into from
Dec 5, 2022

Conversation

tiagoappereira
Copy link

Description

This PR adds a preference called SupportMac to enable/disable the MacOS target.
By default, it is enabled.

Credits to @usernuno.

Platforms affected

iOS

Motivation and Context

Closes https://outsystemsrd.atlassian.net/browse/RNMT-5719

Testing

Created a local iOS Cordova project based on this cordova-ios branch and the .pbxproj was:

  • NOT updated when the preference SupportMac is not set
  • NOT updated when the preference SupportMac is set with the value true
  • updated when the preference SupportMac is set with the value false

Checklist

  • I've run the tests to see all new and existing tests pass
  • I added automated test coverage as appropriate for this change
  • Commit is prefixed with (platform) if this change only applies to one platform (e.g. (android))
  • If this Pull Request resolves an issue, I linked to the issue in the text above (and used the correct keyword to close issues using keywords)
  • I've updated the documentation if necessary

@tiagoappereira tiagoappereira requested a review from a team December 2, 2022 16:35
@tiagoappereira tiagoappereira self-assigned this Dec 2, 2022
@tiagoappereira tiagoappereira requested review from andredestro, EiyuuZack, Chuckytuh, cmfsotelo, sandrarodrigues76 and usernuno and removed request for a team December 2, 2022 16:35
@@ -14,6 +14,7 @@
<preference name="target-device" value="handset" />
<preference name="deployment-target" value="11.0" />
<preference name="SwiftVersion" value="4.1" />
<preference name="SupportMac" value="true" />
Copy link
Collaborator

Choose a reason for hiding this comment

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

I'm assuming an accompanying PR on the template will introduce the preference SupportMac with value false, right?

Copy link
Author

Choose a reason for hiding this comment

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

Exactly, it will be added in our template!

Copy link

@usernuno usernuno left a comment

Choose a reason for hiding this comment

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

I'm approving, but my approval should not count 🙃

@tiagoappereira tiagoappereira merged commit b381baa into outsystems/6.2.x Dec 5, 2022
@tiagoappereira tiagoappereira deleted the feat/RNMT-5719/disable-mac-target branch December 5, 2022 13:45
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.

4 participants