From 568a51af3dde1672f1ed23d1e1bafb7ab0c1c81b Mon Sep 17 00:00:00 2001 From: lgarbo <387293+lgarbo@users.noreply.github.com> Date: Wed, 4 May 2022 17:16:48 +0200 Subject: [PATCH] Release v1.3.0 --- Glassfy.podspec | 2 +- Glassfy.xcodeproj/project.pbxproj | 4 ++-- README.md | 2 +- Source/GYManager.h | 1 + Source/GYUserProperties.m | 1 - Source/Glassfy.m | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Glassfy.podspec b/Glassfy.podspec index c932e90..bccb966 100644 --- a/Glassfy.podspec +++ b/Glassfy.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "Glassfy" - s.version = "1.3.0-beta.2" + s.version = "1.3.0" s.summary = "Subscription and in-app-purchase service." s.license = { :type => 'MIT', :file => 'LICENSE' } s.source = { :git => "https://github.com/glassfy/ios-sdk.git", :tag => s.version.to_s } diff --git a/Glassfy.xcodeproj/project.pbxproj b/Glassfy.xcodeproj/project.pbxproj index 4ebf686..d14b4f9 100644 --- a/Glassfy.xcodeproj/project.pbxproj +++ b/Glassfy.xcodeproj/project.pbxproj @@ -765,7 +765,7 @@ "@executable_path/Frameworks", "@loader_path/Frameworks", ); - MARKETING_VERSION = 1.3.0-beta.2; + MARKETING_VERSION = 1.3.0; PRODUCT_BUNDLE_IDENTIFIER = net.glassfy.sdk; PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; PROVISIONING_PROFILE_SPECIFIER = ""; @@ -793,7 +793,7 @@ "@executable_path/Frameworks", "@loader_path/Frameworks", ); - MARKETING_VERSION = 1.3.0-beta.2; + MARKETING_VERSION = 1.3.0; PRODUCT_BUNDLE_IDENTIFIER = net.glassfy.sdk; PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; PROVISIONING_PROFILE_SPECIFIER = ""; diff --git a/README.md b/README.md index 3be271d..e480187 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ Our SDK can be easly integrated through Cocoapods or Swift Package Manager #### Integrate using Cocoapods Add the pod to your Podfile: -```pod 'Glassfy', '~> 1.3.0-beta.2'``` +```pod 'Glassfy', '~> 1.3.0'``` Then, run the following command: diff --git a/Source/GYManager.h b/Source/GYManager.h index 29e7392..c80067a 100644 --- a/Source/GYManager.h +++ b/Source/GYManager.h @@ -36,6 +36,7 @@ NS_ASSUME_NONNULL_BEGIN - (void)setEmailUserProperty:(NSString *)email completion:(GYErrorCompletion)block; - (void)setDeviceToken:(NSString *)deviceToken completion:(GYErrorCompletion)block; - (void)setExtraUserProperty:(NSDictionary *)extra completion:(GYErrorCompletion)block; + - (void)getUserProperties:(GYUserPropertiesCompletion)block; - (void)connectPaddleLicenseKey:(NSString *)licenseKey force:(BOOL)force completion:(GYErrorCompletion)block; diff --git a/Source/GYUserProperties.m b/Source/GYUserProperties.m index ead9f30..6b54d67 100644 --- a/Source/GYUserProperties.m +++ b/Source/GYUserProperties.m @@ -16,7 +16,6 @@ @interface GYUserProperties() @implementation GYUserProperties (Private) - (instancetype)initWithObject:(nonnull NSDictionary *)obj error:(NSError **)error { - self = [super init]; if (self) { NSString *email = obj[GYUserPropertyTypeEmail]; diff --git a/Source/Glassfy.m b/Source/Glassfy.m index 2ab0f59..9838856 100644 --- a/Source/Glassfy.m +++ b/Source/Glassfy.m @@ -40,7 +40,7 @@ + (Glassfy *)shared + (NSString *)sdkVersion { - return @"1.3.0-beta.2"; + return @"1.3.0"; } + (void)initializeWithAPIKey:(NSString *)apiKey