Browse Source

iOS: Support older SDKs

tags/2021-05-28
reuk 5 years ago
parent
commit
e357833a12
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      modules/juce_product_unlocking/native/juce_ios_InAppPurchases.cpp

+ 1
- 1
modules/juce_product_unlocking/native/juce_ios_InAppPurchases.cpp View File

@@ -109,7 +109,7 @@ struct InAppPurchases::Pimpl : public SKDelegateAndPaymentObserver
String getContentVersion() const override { return nsStringToJuce (download.contentVersion); }
#if JUCE_IOS
int64 getContentLength() const override { return download.expectedContentLength; }
int64 getContentLength() const override { return download.contentLength; }
Status getStatus() const override { return SKDownloadStateToDownloadStatus (download.downloadState); }
#else
int64 getContentLength() const override { return download.expectedContentLength; }


Loading…
Cancel
Save