Skip to content

Commit

Permalink
v4.0.9
Browse files Browse the repository at this point in the history
  • Loading branch information
Paddle Travis CI committed Feb 8, 2019
1 parent 41d822c commit 7b45a3f
Show file tree
Hide file tree
Showing 23 changed files with 91 additions and 13 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
# 4.0.9

New:
- We no-longer do an automatic refresh of the `PADProduct` provided for `Paddle` initialization if that product has ever been refreshed before.
- Additional property `localizedTrialText` on `PADProduct` and `PADProductConfiguration`, this allows the trial text shown in UI to be localized and not overrided by the remote value in the dashboard.
- "Forgotten License" button added to activation UI to make it easier for end users to find the functionality without Seller intervention.

Fixed:
- Checkout T&Cs and privacy policy now open in the browser for easier reading.

# 4.0.8

New:
Expand Down
2 changes: 1 addition & 1 deletion Paddle.framework/Versions/A/Headers/PADError.h
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ typedef NS_ENUM(NSInteger, PADErrorCode) {
/**
* @brief Specifies that the product appears to be unreleased or incomplete in the Paddle dashboard.
* @discussion This error is generated when the product data is refreshed and the remote product data
* indicates that the product has been configured completely.
* indicates that the product has not been configured completely.
*/
PADErrorUnreleasedProductFromAPI = -112,

Expand Down
9 changes: 9 additions & 0 deletions Paddle.framework/Versions/A/Headers/PADProduct.h
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,15 @@ typedef NS_ENUM(NSInteger, PADProductType) {
*/
@property (copy, nullable, nonatomic) NSString *trialText;

/**
* @discussion Specifies the localized text displayed to the user of the application, explaining the trial policy of
* the product. This property is typically set by either the product configuration or set in the Paddle dashboard.
* @discussion The localized trial text only takes effect for products with a trial, either limited or unlimited.
* @discussion The localized trial text takes priority over the local and remote trial text. If you do not want this
* behaviour, please set this property to nil.
*/
@property (copy, nullable, nonatomic) NSString *localizedTrialText;

/**
* @discussion The date on which the user's trial began. This may be reset by calling resetTrial.
* @discussion The trial start date is only recorded for products with a trial, either limited or unlimited.
Expand Down
9 changes: 9 additions & 0 deletions Paddle.framework/Versions/A/Headers/PADProductConfiguration.h
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,18 @@ typedef NS_ENUM(NSInteger, PADProductTrialType) {
/**
* @brief Specifies the text displayed to the user of the application, explaining the trial policy of the product.
* @discussion The trial text only takes effect for products with a trial, either limited or unlimited.
* @discussion This trial text is only used until either the localized trial text is set or until the trial text is
* updated to the remote configuration via `PADProduct refresh:`.
*/
@property (copy, nullable) NSString *trialText;

/**
* @brief Specifies the localised text displayed to the user of the application, explaining the trial policy of the product.
* @discussion The localized trial text only takes effect for products with a trial, either limited or unlimited.
* @discussion The localized trial text takes priority over the non-localized trial text and the remote trial text.
*/
@property (copy, nullable) NSString *localizedTrialText;

/**
* @brief The local file path of the product image. The image size must be at least 154x154 pixels.
* @discussion When trying to display an image for the product, the local file path will be
Expand Down
2 changes: 1 addition & 1 deletion Paddle.framework/Versions/A/Headers/Paddle.h
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ typedef NS_ENUM(NSInteger, PADTriggeredUIType) {
* further action is possible. We may have been unable to retrieve the license code of the order or the checkout
* may have been flagged. In either case the user has paid for the product.
*/
PADTriggeredUITypeFinished
PADTriggeredUITypeFinished,
};

#pragma mark - Delegate Methods
Expand Down
Binary file modified Paddle.framework/Versions/A/Paddle
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
12 changes: 6 additions & 6 deletions Paddle.framework/Versions/A/Resources/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -17,27 +17,27 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>4.0.8</string>
<string>4.0.9</string>
<key>CFBundleSupportedPlatforms</key>
<array>
<string>MacOSX</string>
</array>
<key>CFBundleVersion</key>
<string>4.0.8</string>
<string>4.0.9</string>
<key>DTCompiler</key>
<string>com.apple.compilers.llvm.clang.1_0</string>
<key>DTPlatformBuild</key>
<string>10A255</string>
<string>10B61</string>
<key>DTPlatformVersion</key>
<string>GM</string>
<key>DTSDKBuild</key>
<string>18A384</string>
<string>18B71</string>
<key>DTSDKName</key>
<string>macosx10.14</string>
<key>DTXcode</key>
<string>1000</string>
<string>1010</string>
<key>DTXcodeBuild</key>
<string>10A255</string>
<string>10B61</string>
<key>NSHumanReadableCopyright</key>
<string>Copyright © 2017 Paddle. All rights reserved.</string>
<key>PADMajorMinorVersion</key>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -162,3 +162,7 @@
"Send anonymous usage information?" = "Anonyme Nutzungsdaten senden?";
"Would you like to send anonymous usage information to the developer of %@ to help improve the application?" = "Möchten Sie anonyme Nutzungsinformationen an die Entwickler von %@ senden um bei der Verbesserung der Anwendung zu helfen?";
"%@ - Checkout" = "%@ - Bezahlung";
"Forgotten your license key?" = "Haben Sie Ihren Lizenzschlüssel vergessen?";
"An Error Occurred" = "Ein Fehler ist aufgetreten";
"An unexpected error occurred performing this action." = "Bei der Ausführung dieser Aktion ist ein unerwarteter Fehler aufgetreten.";
"Whoops! Something went wrong." = "Hoppla! Etwas ist schiefgelaufen.";
10 changes: 10 additions & 0 deletions Paddle.framework/Versions/A/Resources/en.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@
/* No comment provided by engineer. */
"Already purchased a license? Fill in the form below and activate %@ instantly." = "Already purchased a license? Fill in the form below and activate %@ instantly.";

/* No comment provided by engineer. */
"An Error Occurred" = "An Error Occurred";

/* No comment provided by engineer. */
"An unexpected error occurred performing this action." = "An unexpected error occurred performing this action.";

/* No comment provided by engineer. */
"Buy Now" = "Buy Now";

Expand Down Expand Up @@ -118,6 +124,9 @@
/* No comment provided by engineer. */
"Welcome to %@!" = "Welcome to %@!";

/* No comment provided by engineer. */
"Whoops! Something went wrong." = "Whoops! Something went wrong.";

/* No comment provided by engineer. */
"Would you like to send anonymous usage information to the developer of %@ to help improve the application?" = "Would you like to send anonymous usage information to the developer of %@ to help improve the application?";

Expand All @@ -136,3 +145,4 @@
/* No comment provided by engineer. */
"Your order is being processed. You'll receive an email soon." = "Your order is being processed. You'll receive an email soon.";

"Forgotten your license key?" = "Forgotten your license key?";
6 changes: 3 additions & 3 deletions Paddle.framework/Versions/A/Resources/error.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" name="viewport">
<title>An Error Occurred | Paddle</title>
<title>{{{ An Error Occurred }}} | Paddle</title>

<style type="text/css">
html, body {
Expand Down Expand Up @@ -153,8 +153,8 @@
<div class="spacer"></div>
<div class="message">
<img class="logo" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKoAAACqCAYAAAA9dtSCAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAAUdEVYdENyZWF0aW9uIFRpbWUANC8yLzE3YLmPLAAACltJREFUeJzt3XuMXVUVx/FvL1BABCHYoGCAQJTWlocgvQfEWhKZZSMKkUJBkIKI/C0R/vAVjeEPSfR/ISigVAwoUPGxKASQgudWAwilLTEBkUegEB1AoDzHP84emZaZdubO2Wefdfb6JJOWmXvXXTA/9jl7n9cctkN1sAA4E1gKLAT2DT8a2977nJumUWA9cCdwvUh/47YvGBurojZnsnerDuYDlwNLgPuBG4Hfi/SfiNSwy5Dq4EDgDOB04Gjgj8ClIv1N46+ZMqiqg4uAHwO3At8V6f+jgZ5d5kJofwQsowrrFTBFUFUHPwTOBb4OrBHpv9Noty57qoOTgSuBq0T631EdMDKy+N2ghpH0MuBUkf7aVI06pzpYBtwAXAxcAWFEDfuk64BzRPqrk3XoXKA6OA34GdAHNvXC9y8HVntIXVuI9H8D3E6VTXYOS1CfBj6VsjHnJvFt4GFgQQ9YAawV6W9I25NzWwvLVH8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E3ZYHdTgPhK+9gEXUcx3+y1T7n5uAtzygW/OgDmni4rpqedU2P94D2Cf8OZfqv/MY1WUpW6hC+SIT7vrswdw+D+pwtpqgecji83VUZ4IH1ZngQXUmeFCdCTkEtStHprKWQ1BdB3hQnQkeVGeCB9WZ4EF1JnhQnQke1OH4klfDPKjOBA+qM8GD6kzwoDoTcgiqT3w6IIegug7woDoTPKgz96RI8bXUTeTGgzpz61I3kCMP6syNpm4gRx7UmVnlm/00PKjT95BIcXbqJnLlQZ2e/4oUR6ZuImce1Om5PnUDufNb+mzfa8B1IsWFqRvJXQ5BHfYQ6sMixRG1duKG5pv+93qbahT1kLZIDiPqdD0GlD6zb6fcg7oFuBHY4vuh7ZZrUDcA60SK81M34qan80EVKS5ULYXqbs/3Aq/76GlP54MKIFIcmLoHNzs+63cmeFCdCR5UZ4IH1ZngQXUmeFCdCR5UZ4IH1ZngQXUmeFCdCR5UZ4IH1ZnQA1Ad7J66Eecmc9tt6/aEKqijgJ9d5NpqPjDaAx4BTkjcjHNTGQHW94A7gdMTN+PcVJYDd/WAXwPHqQ78qkvXKqqDJcDhwPU9kf5G4G7ge2nbcu5dqoPdgB8AfwA2ji9PXQosUx1ckKwz57Z2BrAYuATC8pRIfxNwMXCZ6uCz6XpzDlQHy4DLgG8Aj46MLH53wV+k/1PgSuA61cEK1cFOifp0GVMdXAjcAlwt0r9i/PtzJnnhRcBPgHuAb4n072+sS5ct1cFxwPeB44FvhoGTsbHq1mHvCWp403zgcuAkYD1wE6DARpH+q9G7dp2mOpgL7AscBiwFlgFHAGuAS0T6j46/drtBnVBwAbACOBFYCOwdoW+Xr1GqA053Ab8Kc6WtjAf1fyZibVV+VLOtAAAAAElFTkSuQmCC" alt="Paddle" border="0">
<div class="message__title">Whoops! Something went wrong.</div>
<p>An unexpected error occurred performing this action.</p>
<div class="message__title">{{{ Whoops! Something went wrong. }}}</div>
<p>{{{ An unexpected error occurred performing this action. }}}</p>
</div>
</body>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -162,3 +162,7 @@
"Send anonymous usage information?" = "¿Enviar información anónima de uso?";
"Would you like to send anonymous usage information to the developer of %@ to help improve the application?" = "¿Le gustaría enviar información anónima de uso al desarrollador de %@ para ayudarle a mejorar la aplicación?";
"%@ - Checkout" = "%@ - Finalizar compra";
"Forgotten your license key?" = "¿Olvidaste tu clave de licencia?";
"An Error Occurred" = "Se ha producido un error";
"An unexpected error occurred performing this action." = "Ha ocurrido un error";
"Whoops! Something went wrong." = "¡Vaya! Algo no ha ido bien.";
Original file line number Diff line number Diff line change
Expand Up @@ -162,3 +162,7 @@
"Send anonymous usage information?" = "Envoyer des informations anonymes sur votre utilisation ?";
"Would you like to send anonymous usage information to the developer of %@ to help improve the application?" = "Souhaitez-vous envoyer des informations anonymes sur votre utilisation de %@ à ses développeurs pour les aider à améliorer l'application ?";
"%@ - Checkout" = "%@ – paiement";
"Forgotten your license key?" = "vous avez oublié votre clé de licence ?";
"An Error Occurred" = "Une erreur s'est produite";
"An unexpected error occurred performing this action." = "Une erreur inattendue s'est produite durant l'exécution de cette action.";
"Whoops! Something went wrong." = "Oups ! Quelque chose s'est mal passé.";
Original file line number Diff line number Diff line change
Expand Up @@ -162,3 +162,7 @@
"Send anonymous usage information?" = "Inviare informazioni anonime sull'utilizzo?";
"Would you like to send anonymous usage information to the developer of %@ to help improve the application?" = "Desideri inviare informazioni anonime sull'utilizzo allo sviluppatore di %@ per aiutare a migliorare l'applicazione?";
"%@ - Checkout" = "%@ - Cassa";
"Forgotten your license key?" = "hai dimenticato la tua chiave di licenza?";
"An Error Occurred" = "Si è verificato un errore";
"An unexpected error occurred performing this action." = "Si è verificato un errore inatteso durante l'esecuzione di questa azione.";
"Whoops! Something went wrong." = "Ops! Qualcosa è andato storto.";
Original file line number Diff line number Diff line change
Expand Up @@ -162,3 +162,7 @@
"Send anonymous usage information?" = "匿名で使用情報を送信しますか?";
"Would you like to send anonymous usage information to the developer of %@ to help improve the application?" = "本アプリケーションの改善のため、%@の開発者に匿名で使用情報を送信することをご希望ですか?";
"%@ - Checkout" = "%@ - 精算";
"Forgotten your license key?" = "ライセンスキーをお忘れの場合";
"An Error Occurred" = "エラー発生";
"An unexpected error occurred performing this action." = "この操作の実行中に予期しないエラーが発生しました。";
"Whoops! Something went wrong." = "エラーが発生しました。";
Original file line number Diff line number Diff line change
Expand Up @@ -162,3 +162,7 @@
"Send anonymous usage information?" = "Wyślij anonimową informację o użytkowaniu?";
"Would you like to send anonymous usage information to the developer of %@ to help improve the application?" = "Czy chciałbyś wysłać anonimową informację o użytkowaniu do dewelopera %@ w celu poprawienia aplikacji?";
"%@ - Checkout" = "%@ – kasa";
"Forgotten your license key?" = "zapomniałeś klucza licencyjnego?";
"Whoops! Something went wrong." = "Ups! Coś poszło nie tak.";
"An unexpected error occurred performing this action." = "Podczas wykonywania tej operacji wystąpił nieoczekiwany błąd.";
"An Error Occurred" = "Wystąpił błąd";
Original file line number Diff line number Diff line change
Expand Up @@ -162,3 +162,7 @@
"Send anonymous usage information?" = "Enviar informações de utilização anónima?";
"Would you like to send anonymous usage information to the developer of %@ to help improve the application?" = "Gostaria de enviar informações de utilização anónimas para o desenvolvedor de %@ para ajudar a melhorar a aplicação?";
"%@ - Checkout" = "%@ - Pagamento";
"Forgotten your license key?" = "esqueceu-se da chave da sua licença?";
"Whoops! Something went wrong." = "Ups! Algo correu mal.";
"An unexpected error occurred performing this action." = "Ocorreu um erro inesperado ao realizar esta ação.";
"An Error Occurred" = "Ocorreu um erro";
Original file line number Diff line number Diff line change
Expand Up @@ -162,3 +162,7 @@
"Send anonymous usage information?" = "Отправлять анонимную информацию об использовании?";
"Would you like to send anonymous usage information to the developer of %@ to help improve the application?" = "Хотели бы вы отправлять анонимные сведения об использовании разработчику %@, чтобы помочь улучшить приложение?";
"%@ - Checkout" = "%@ - Расчет";
"Forgotten your license key?" = "забыли свой лицензионный ключ?";
"Whoops! Something went wrong." = "Ой! Что-то пошло не так.";
"An unexpected error occurred performing this action." = "При выполнении этого действия произошла непредвиденная ошибка.";
"An Error Occurred" = "Произошла ошибка";
Original file line number Diff line number Diff line change
Expand Up @@ -162,3 +162,7 @@
"Send anonymous usage information?" = "发送匿名使用信息?";
"Would you like to send anonymous usage information to the developer of %@ to help improve the application?" = "您想给%@的开发人员发送匿名使用信息来帮助改进这个应用程序吗?";
"%@ - Checkout" = "%@ - 结账";
"Forgotten your license key?" = "忘记了授权码?";
"Whoops! Something went wrong." = "哎呀!发生了一些错误。";
"An unexpected error occurred performing this action." = "执行该操作时发生意外错误。";
"An Error Occurred" = "发生了一个错误";
Original file line number Diff line number Diff line change
Expand Up @@ -161,3 +161,7 @@
"Unable to deactivate license. Please try again later." = "無法停用授權。請稍後再試一次。";
"Would you like to send anonymous usage information to the developer of %@ to help improve the application?" = "您是否要傳送匿名使用資訊給 %@ 的開發者,以協助改善這個應用程式?";
"%@ - Checkout" = "%@ - 結帳";
"Forgotten your license key?" = "忘記了你的授權金鑰?";
"Whoops! Something went wrong." = "糟糕!發生錯誤。";
"An unexpected error occurred performing this action." = "執行此動作時發生意外的錯誤。";
"An Error Occurred" = "發生錯誤";
4 changes: 2 additions & 2 deletions PaddleV4.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "PaddleV4"
s.version = "4.0.8"
s.version = "4.0.9"
s.summary = "A licensing framework for OS X"
s.description = "Paddle is an easy to use licensing framework for OS X including App Licensing and In App Purchases."
s.homepage = "https://www.paddle.com"
Expand Down Expand Up @@ -36,7 +36,7 @@ SOFTWARE.
}

s.platform = :osx, '10.10'
s.source = { :http => "https://s3.amazonaws.com/paddle-production-sdk-releases/macOS/v4/4.0.8/macOS-sdk-v4.0.8.zip" }
s.source = { :http => "https://s3.amazonaws.com/paddle-production-sdk-releases/macOS/v4/4.0.9/macOS-sdk-v4.0.9.zip" }

s.vendored_framework = 'Paddle.framework'
s.requires_arc = false
Expand Down

0 comments on commit 7b45a3f

Please sign in to comment.