Originally created by @Vithanco on GitHub (Feb 4, 2018).
I might overlook something, but the a8c1dfd version doesn't seem to compile on a Mac. UseStoreKitReviewPrompt seems to be missing. It is only declared for iOS.
#if os(iOS)
public func useStoreKitReviewPrompt() -> Bool {
...
but it is needed elsewhere, like in shouldTryStoreKitReviewPrompt, where it says function is available for all macOS versions.
public var shouldTryStoreKitReviewPrompt : Bool {
if #available(iOS 10.3, *), useStoreKitReviewPrompt { return true }
Please review. Thanks for this great library.
Originally created by @Vithanco on GitHub (Feb 4, 2018).
I might overlook something, but the a8c1dfd version doesn't seem to compile on a Mac. UseStoreKitReviewPrompt seems to be missing. It is only declared for iOS.
```
#if os(iOS)
public func useStoreKitReviewPrompt() -> Bool {
...
```
but it is needed elsewhere, like in shouldTryStoreKitReviewPrompt, where it says function is available for all macOS versions.
```
public var shouldTryStoreKitReviewPrompt : Bool {
if #available(iOS 10.3, *), useStoreKitReviewPrompt { return true }
```
Please review. Thanks for this great library.
@coneybeare commented on GitHub (Feb 28, 2018):
It was introduced on https://github.com/UrbanApps/Armchair/pull/112 by @MartinMoizard, but I haven't had time to revert it. Pulls welcome.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @Vithanco on GitHub (Feb 4, 2018).
I might overlook something, but the
a8c1dfdversion doesn't seem to compile on a Mac. UseStoreKitReviewPrompt seems to be missing. It is only declared for iOS.but it is needed elsewhere, like in shouldTryStoreKitReviewPrompt, where it says function is available for all macOS versions.
Please review. Thanks for this great library.
@Vithanco commented on GitHub (Feb 4, 2018):
I don't think this issue was introduced with
a8c1dfd.@coneybeare commented on GitHub (Feb 28, 2018):
It was introduced on https://github.com/UrbanApps/Armchair/pull/112 by @MartinMoizard, but I haven't had time to revert it. Pulls welcome.