Skip to content

Added AppCenterSDK file for mac (removed distribution features)#98

Merged
Tomusm merged 2 commits intomasterfrom
legacy/appcenter_migration_mac
Nov 8, 2019
Merged

Added AppCenterSDK file for mac (removed distribution features)#98
Tomusm merged 2 commits intomasterfrom
legacy/appcenter_migration_mac

Conversation

@UrsKahmann
Copy link
Copy Markdown

No description provided.

Comment thread AppCenter/AppCenterSDK+Mac.swift Outdated
@@ -0,0 +1,164 @@
//
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Do we need that file ? What are the differences with AppCenterSDK+HiDrive ?
I would assume that we use the same implementation, better reduce the number of files to maintain.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

The problem is, that the AppCenterDistribute module is not available for mac .. and as you don't need any distribution logic i just removed the import statement and any associated code

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

What about extracting the Distribution code in an extension in the same file, and surrounding it by #if !os(macOS) ?

(Not sure if it actually works, just a random idea)

Copy link
Copy Markdown
Author

@UrsKahmann UrsKahmann Nov 8, 2019

Choose a reason for hiding this comment

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

doesn't sound that bad i can try that

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

done!

@UrsKahmann UrsKahmann changed the base branch from legacy/swift3.1 to master November 8, 2019 10:36
@Tomusm Tomusm merged commit 3a73628 into master Nov 8, 2019
@Tomusm Tomusm deleted the legacy/appcenter_migration_mac branch October 28, 2021 11:49
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.

3 participants