Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SP-592 - Device url patch 2.4.7 #46

Merged
merged 1 commit into from
May 22, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Library/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>2.4.6</string>
<string>2.4.7</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>NSPrincipalClass</key>
Expand Down
2 changes: 1 addition & 1 deletion Library/SPIManifest+Internal.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// DO NOT EDIT!
// This file is generated by the 'Update Manifest' build phase.

#define BUNDLE_VERSION_SHORT @"2.4.6"
#define BUNDLE_VERSION_SHORT @"2.4.7"
4 changes: 2 additions & 2 deletions Library/Service/SPIDeviceService.m
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@ - (void)retrieveServiceWithSerialNumber:(NSString *)serialNumber
NSString *deviceAddressUrl;

if (isTestMode) {
deviceAddressUrl = [NSString stringWithFormat: @"https://device-address-api-sb.%@.msp.assemblypayments.com/v1/%@/ip", acquirerCode, serialNumber];
deviceAddressUrl = [NSString stringWithFormat: @"https://device-address-api-sb.%@.mspenv.io/v1/%@/ip", acquirerCode, serialNumber];
} else {
deviceAddressUrl = [NSString stringWithFormat: @"https://device-address-api.%@.msp.assemblypayments.com/v1/%@/ip", acquirerCode, serialNumber];
deviceAddressUrl = [NSString stringWithFormat: @"https://device-address-api.%@.mspenv.io/v1/%@/ip", acquirerCode, serialNumber];
}

NSMutableURLRequest *request = [[NSMutableURLRequest alloc] init];
Expand Down
2 changes: 1 addition & 1 deletion SPIClient-iOS.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'SPIClient-iOS'
s.version = '2.4.6'
s.version = '2.4.7'
s.summary = 'SPI Client iOS'
s.authors = [ 'Yoo-Jin Lee', 'Mike Gouline', 'Amir Kamali', 'Metin Avci' ]
s.license = { :type => 'Apache License, Version 2.0' }
Expand Down