Skip to content

Commit

Permalink
Merge pull request #28 from qonversion/release/1.0.4
Browse files Browse the repository at this point in the history
Release/1.0.4
  • Loading branch information
smejl authored May 13, 2020
2 parents 4cd95de + 9c26adf commit a56587d
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Qonversion.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'Qonversion'
s.version = '1.0.3'
s.version = '1.0.4'
s.summary = 'qonversion.io'
s.description = <<-DESC
Deep Analytics for iOS Subscriptions
Expand Down
4 changes: 2 additions & 2 deletions Qonversion.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -677,7 +677,7 @@
"@executable_path/Frameworks",
"@loader_path/Frameworks",
);
MARKETING_VERSION = 1.0.0;
MARKETING_VERSION = 1.0.4;
MODULEMAP_FILE = Framework/Qonversion.modulemap;
PRODUCT_BUNDLE_IDENTIFIER = com.qonversion.Qonversion;
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
Expand Down Expand Up @@ -708,7 +708,7 @@
"@executable_path/Frameworks",
"@loader_path/Frameworks",
);
MARKETING_VERSION = 1.0.0;
MARKETING_VERSION = 1.0.4;
MODULEMAP_FILE = Framework/Qonversion.modulemap;
PRODUCT_BUNDLE_IDENTIFIER = com.qonversion.Qonversion;
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
Expand Down
2 changes: 1 addition & 1 deletion Sources/QConstants.m
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
NSString *const keyQPlatform = @"iOS";
NSString *const keyQOSName = @"ios";

NSString *const keyQVersion = @"1.0.0";
NSString *const keyQVersion = @"1.0.4";
NSString *const keyQUnknownLibrary = @"unknown";
NSString *const keyQUnknownVersion = @"unknown";
NSString *const keyQInternalUserID = @"keyQInternalUserID";
7 changes: 5 additions & 2 deletions Sources/Qonversion.m
Original file line number Diff line number Diff line change
Expand Up @@ -219,8 +219,11 @@ + (NSURLRequest *)makePostRequestWithEndpoint:(NSString *)endpoint andBody:(NSDi

[mutableBody setObject:apiKey forKey:@"access_token"];
[mutableBody setObject:keyQVersion forKey:@"v"];
if (Keeper.userID && Keeper.userID.length > 2) {
[mutableBody setObject:Keeper.userID forKey:@"client_uid"];

NSString *clientUID = Keeper.userID;

if (clientUID) {
[mutableBody setObject:clientUID forKey:@"client_uid"];
}

NSURL *docsURL = [NSFileManager.defaultManager URLsForDirectory:NSDocumentDirectory inDomains:NSUserDomainMask].firstObject;
Expand Down

0 comments on commit a56587d

Please sign in to comment.