Skip to content

Commit

Permalink
v4.0.11
Browse files Browse the repository at this point in the history
  • Loading branch information
Paddle Travis CI committed Mar 28, 2019
1 parent 6ea76ae commit 950cc9c
Show file tree
Hide file tree
Showing 19 changed files with 344 additions and 49 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
# 4.0.11

New:
- Preliminary support for Paddle subscription licensing.
- Removed Seller App Analytics (analytics.paddle.com) as no-longer supported.
- Added Dutch localizations.

Fixed:
- Crash on JSON Serializer receiving `nil`.
- Custom display type now allows the Seller to do their own UI.
- Crash on `PADInternalAnalyticsEvent` receiving `nil`.

# 4.0.10

New:
Expand Down
2 changes: 1 addition & 1 deletion Paddle.framework/Versions/A/Headers/PADCheckoutOptions.h
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,6 @@
/**
* @brief Create an empty checkout options object.
*/
+ (instancetype)options;
+ (nullable instancetype)options;

@end
6 changes: 6 additions & 0 deletions Paddle.framework/Versions/A/Headers/PADDisplayConfiguration.h
Original file line number Diff line number Diff line change
Expand Up @@ -77,4 +77,10 @@ typedef NS_ENUM(NSInteger, PADDisplayType) {
hideNavigationButtons:(BOOL)hideNavigationButtons
parentWindow:(NSWindow *_Nullable)parentWindow;

/**
* @discussion Initialize a new display configuration with the custom display type. The other
* options are not used as this display type requires you to show the dialog with custom UI elements.
*/
+ (nullable instancetype)displayCustom;

@end
12 changes: 7 additions & 5 deletions Paddle.framework/Versions/A/Headers/PADProduct.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
// Copyright © 2018 Paddle. All rights reserved.
//

@import Foundation;
#import "PADProductConfiguration.h"
#import <Foundation/Foundation.h>

// Forward declaration of the checkout data class.
// Paddle.h defines this class, but also includes this header. Fortunately we don't
Expand Down Expand Up @@ -131,15 +131,17 @@ typedef NS_ENUM(NSInteger, PADProductType) {
*
* @return BOOL to indicate if the license should be migrated to v4
*/
- (BOOL)shouldMigrateExistingV3License:(NSString *)productId type:(PADExistingLicenseType)existingLicenseType;
- (BOOL)shouldMigrateExistingV3License:(nonnull NSString *)productId
type:(PADExistingLicenseType)existingLicenseType;

/**
* @brief The product for ID has been migrated from v3 to v4
*
* @param productId An NSString containing the productId of the product license that was migrated.
* @param existingLicenseType a PADExistingLicenseType ENUM indicating the type of license migrated
*/
- (void)v3LicenseMigrated:(NSString *)productId type:(PADExistingLicenseType)existingLicenseType;
- (void)v3LicenseMigrated:(nonnull NSString *)productId
type:(PADExistingLicenseType)existingLicenseType;

/**
* @brief The product has been activated successfully.
Expand Down Expand Up @@ -469,8 +471,8 @@ typedef NS_ENUM(NSInteger, PADProductType) {
* The completion handler is given a BOOL to indicate if the activation was successful and
* an error if it was not successful.
*/
- (void)activateEmail:(NSString *)email
license:(NSString *)license
- (void)activateEmail:(nonnull NSString *)email
license:(nonnull NSString *)license
completion:(nullable void (^)(BOOL activated, NSError *_Nullable error))completion;

/**
Expand Down
6 changes: 3 additions & 3 deletions Paddle.framework/Versions/A/Headers/PADProductConfiguration.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
// Copyright © 2018 Paddle. All rights reserved.
//

@import Foundation;
#import <Foundation/Foundation.h>

/**
* @brief The following constants describe the possible types of trial of a product.
Expand Down Expand Up @@ -68,8 +68,8 @@ typedef NS_ENUM(NSInteger, PADSubscriptionPlanType) {
/**
* @brief Initialise a new product configuration object with the product and vendor name.
*/
+ (instancetype)configuration:(nonnull NSString *)productName
vendorName:(nonnull NSString *)vendorName;
+ (nullable instancetype)configuration:(nonnull NSString *)productName
vendorName:(nonnull NSString *)vendorName;

/**
* @discussion The name of the product. This property is typically shown to users of the application.
Expand Down
9 changes: 9 additions & 0 deletions Paddle.framework/Versions/A/Headers/Paddle.h
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,15 @@ typedef NS_ENUM(NSInteger, PADCheckoutState) {
*/
@property (nullable) NSString *redirectURL;

/**
* @brief An array of license codes for the subscription, if any.
*/
#if MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_10
@property (nullable) NSArray<NSString *> *subscriptionLicenseCodes;
#else
@property (nullable) NSArray *subscriptionLicenseCodes;
#endif

@end

/**
Expand Down
35 changes: 0 additions & 35 deletions Paddle.framework/Versions/A/Headers/PaddleAnalyticsKit.h

This file was deleted.

1 change: 0 additions & 1 deletion Paddle.framework/Versions/A/Modules/module.modulemap
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,5 @@ framework module Paddle {
header "PADProductConfiguration.h"
header "PADDisplayConfiguration.h"
header "PADPriceOverride.h"
header "PaddleAnalyticsKit.h"
export *
}
Binary file modified Paddle.framework/Versions/A/Paddle
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
4 changes: 2 additions & 2 deletions Paddle.framework/Versions/A/Resources/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>4.0.10</string>
<string>4.0.11</string>
<key>CFBundleSupportedPlatforms</key>
<array>
<string>MacOSX</string>
</array>
<key>CFBundleVersion</key>
<string>4.0.10</string>
<string>4.0.11</string>
<key>DTCompiler</key>
<string>com.apple.compilers.llvm.clang.1_0</string>
<key>DTPlatformBuild</key>
Expand Down
179 changes: 179 additions & 0 deletions Paddle.framework/Versions/A/Resources/nl.lproj/Localizable.strings
Original file line number Diff line number Diff line change
@@ -0,0 +1,179 @@
/* No comment provided by engineer. */
"%@ - Checkout" = "%@ - Kassa";

/* No comment provided by engineer. */
"%@ can send me product updates and offers via email. You can opt-out at any time." = "%@ mag me per e-mail updates en aanbiedingen van producten sturen. Je kunt je uitschrijven wanneer je wilt.";

/* No comment provided by engineer. */
"%@%% off!" = "%@%% korting!";

/* No comment provided by engineer. */
"A valid license code is required. Please try again." = "Er is een geldige licentiecode vereist. Probeer het alsjeblieft opnieuw.";

/* No comment provided by engineer. */
"Activate" = "Activeren";

/* No comment provided by engineer. */
"Activate License" = "Licentie activeren";

/* No comment provided by engineer. */
"Already purchased a license? Fill in the form below and activate %@ instantly." = "Heb je al eerder een licentie aangeschaft? Vul het onderstaande formulier dan in en activeer %@ direct.";

/* No comment provided by engineer. */
"An Error Occurred" = "Er is een fout opgetreden";

/* No comment provided by engineer. */
"An unexpected error occurred performing this action." = "Er is een onverwachte fout opgetreden tijdens het uitvoeren van deze actie.";

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

/* No comment provided by engineer. */
"By %@" = "Door %@";

/* No comment provided by engineer. */
"Cancel" = "Annuleren";

/* No comment provided by engineer. */
"Close" = "Sluiten";

/* No comment provided by engineer. */
"Continue Trial" = "Doorgaan met proefperiode";

/* No comment provided by engineer. */
"Deactivating License" = "Licentie aan het deactiveren";

/* No comment provided by engineer. */
"Email Address" = "E-mailadres";

/* No comment provided by engineer. */
"Enter License" = "Voer licentie in";

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

/* No comment provided by engineer. */
"Forgotten your license key?" = "Je licentiesleutel vergeten?";

/* No comment provided by engineer. */
"Join" = "Lid worden";

/* No comment provided by engineer. */
"License Code" = "Licentiecode";

/* No comment provided by engineer. */
"No Thanks!" = "Nee bedankt!";

/* No comment provided by engineer. */
"OK" = "Oké";

/* No comment provided by engineer. */
"Order Complete" = "Bestelling afgerond";

/* No comment provided by engineer. */
"Order Success" = "Bestelling succesvol";

/* No comment provided by engineer. */
"Please enter the email address used to purchase your license." = "Voer alsjeblieft het e-mailadres in dat je hebt gebruikt bij het aanschaffen van je licentie.";

/* No comment provided by engineer. */
"Quit" = "Afsluiten";

/* No comment provided by engineer. */
"Recover" = "Herstellen";

/* No comment provided by engineer. */
"Recover your %@ license" = "Herstel je %@-licentie";

/* No comment provided by engineer. */
"Recovering your %@ license" = "Je %@-licentie wordt hersteld";

/* No comment provided by engineer. */
"Retry" = "Opnieuw proberen";

/* No comment provided by engineer. */
"Send anonymous usage information?" = "Anonieme gebruiksstatistieken verzenden?";

/* No comment provided by engineer. */
"Success" = "Succes";

/* No comment provided by engineer. */
"Thank you for trying %@" = "Bedankt voor het uitproberen van %@";

/* No comment provided by engineer. */
"Thank you for your order, you'll receive an email shortly." = "Bedankt voor je bestelling, je ontvangt binnenkort een e-mail.";

/* No comment provided by engineer. */
"This copy of %@ is registered with the information below." = "Dit exemplaar van %@ is geregistreerd met de onderstaande informatie.";

/* No comment provided by engineer. */
"Unable to deactivate license. Please try again later." = "Licentie deactiveren niet gelukt. Probeer het later opnieuw.";

/* No comment provided by engineer. */
"Unspecified error, please contact support." = "Onbekende fout, neem contact op met de ondersteuning.";

/* No comment provided by engineer. */
"Use a different email address" = "Gebruik een ander e-mailadres";

/* No comment provided by engineer. */
"We're already checking a license, please wait a moment." = "We zijn al een licentie aan het controleren, een moment geduld alsjeblieft.";

/* No comment provided by engineer. */
"We're already deactivating a license, please wait a moment." = "We zijn al bezig met het deactiveren van je licentie, een moment geduld alsjeblieft.";

/* No comment provided by engineer. */
"We've sent details of any licenses for %@ to %@" = "We hebben de details van licenties voor %1$@ naar %2$@ gestuurd.";

/* No comment provided by engineer. */
"Welcome to %@!" = "Welkom bij %@!";

/* No comment provided by engineer. */
"Whoops! Something went wrong." = "Oeps! Er is iets fout gegaan.";

/* No comment provided by engineer. */
"Would you like to send anonymous usage information to the developer of %@ to help improve the application?" = "Wil je anonieme gebruiksstatistieken verzenden naar de ontwikkelaar van %@ om te helpen bij het verbeteren van de applicatie?";

/* No comment provided by engineer. */
"You have %d day remaining of your trial period." = "Je proefperiode duurt nog %d dag.";

/* No comment provided by engineer. */
"You have %d days remaining of your trial period." = "Je proefperiode duurt nog %d dagen.";

/* No comment provided by engineer. */
"Your %@ License" = "Jouw %@-licentie";

/* No comment provided by engineer. */
"Your order is being processed" = "Je bestelling wordt verwerkt";

/* No comment provided by engineer. */
"Your order is being processed. You'll receive an email soon." = "Je bestelling wordt verwerkt. Je ontvangt binnenkort een e-mail.";

/* No comment provided by engineer. */
"Then %@/%ld days" = "Daarna %@/%ld dagen";

/* No comment provided by engineer. */
"Then %@/%ld months" = "Daarna %@/%ld maanden";

/* No comment provided by engineer. */
"Then %@/%ld weeks" = "Daarna %@/%ld weken";

/* No comment provided by engineer. */
"Then %@/%ld years" = "Daarna %@/%ld jaar";

/* No comment provided by engineer. */
"Then %@/day" = "Daarna %@/dag";

/* No comment provided by engineer. */
"Then %@/month" = "Daarna %@/maand";

/* No comment provided by engineer. */
"Then %@/week" = "Daarna %@/week";

/* No comment provided by engineer. */
"Then %@/year" = "Daarna %@/jaar";

/* No comment provided by engineer. */
"after %ld days" = "Na %ld dagen";

/* No comment provided by engineer. */
"after 1 day" = "Na 1 dag";
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@

/* Class = "NSButtonCell"; title = "Cancel"; ObjectID = "17"; */
"17.title" = "Annuleren";

/* Class = "NSButtonCell"; title = "Buy Now"; ObjectID = "18"; */
"18.title" = "Nu kopen";

/* Class = "NSButtonCell"; title = "Activate License"; ObjectID = "19"; */
"19.title" = "Licentie activeren";

/* Class = "NSTextFieldCell"; title = "Email Address"; ObjectID = "21"; */
"21.title" = "E-mailadres";

/* Class = "NSTextFieldCell"; title = "License Code"; ObjectID = "22"; */
"22.title" = "Licentiecode";

/* Class = "NSTextFieldCell"; title = "Activate"; ObjectID = "25"; */
"25.title" = "Activeren";

/* Class = "NSTextFieldCell"; title = "Test Product"; ObjectID = "26"; */
"26.title" = "Test Product";

/* Class = "NSTextFieldCell"; title = "Already purchased a license? Fill in the form below and activate Test Product instantly."; ObjectID = "27"; */
"27.title" = "Already purchased a license? Fill in the form below and activate Test Product instantly.";

/* Class = "NSTextFieldCell"; title = "Activating License"; ObjectID = "lwY-yD-CE9"; */
"lwY-yD-CE9.title" = "Licentie activeren";

/* Class = "NSButtonCell"; title = "Deactivate License"; ObjectID = "pEH-Ih-5sP"; */
"pEH-Ih-5sP.title" = "Licentie deactiveren";
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@

/* Class = "NSWindow"; title = "Window"; ObjectID = "1"; */
"1.title" = "Window";

/* Class = "NSButtonCell"; title = "Cancel"; ObjectID = "14"; */
"14.title" = "Annuleren";

/* Class = "NSButtonCell"; title = "Enter License"; ObjectID = "15"; */
"15.title" = "Voer licentie in";

/* Class = "NSTextFieldCell"; title = "Completing Purchase"; ObjectID = "cSe-YQ-ICA"; */
"cSe-YQ-ICA.title" = "Aankoop aan het afronden";
Loading

0 comments on commit 950cc9c

Please sign in to comment.