Skip to content

Commit 2c0ef9b

Browse files
Merge pull request #33 from PaystackHQ/feat/avs
Feature/address verification
2 parents b994f07 + 6be4563 commit 2c0ef9b

27 files changed

Lines changed: 1260 additions & 151 deletions

Example/Paystack iOS Example.xcodeproj/project.pbxproj

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
archiveVersion = 1;
44
classes = {
55
};
6-
objectVersion = 46;
6+
objectVersion = 48;
77
objects = {
88

99
/* Begin PBXBuildFile section */
@@ -201,7 +201,7 @@
201201
};
202202
};
203203
buildConfigurationList = 04823F731A6849200098400B /* Build configuration list for PBXProject "Paystack iOS Example" */;
204-
compatibilityVersion = "Xcode 3.2";
204+
compatibilityVersion = "Xcode 8.0";
205205
developmentRegion = en;
206206
hasScannedForEncodings = 0;
207207
knownRegions = (
@@ -326,7 +326,7 @@
326326
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
327327
GCC_WARN_UNUSED_FUNCTION = YES;
328328
GCC_WARN_UNUSED_VARIABLE = YES;
329-
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
329+
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
330330
MTL_ENABLE_DEBUG_INFO = YES;
331331
ONLY_ACTIVE_ARCH = YES;
332332
SDKROOT = iphoneos;
@@ -376,7 +376,7 @@
376376
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
377377
GCC_WARN_UNUSED_FUNCTION = YES;
378378
GCC_WARN_UNUSED_VARIABLE = YES;
379-
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
379+
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
380380
MTL_ENABLE_DEBUG_INFO = NO;
381381
SDKROOT = iphoneos;
382382
SWIFT_OBJC_BRIDGING_HEADER = "Paystack iOS Example (Simple)/Paystack iOS Example (Simple)-Bridging-Header.h";
@@ -402,7 +402,7 @@
402402
);
403403
GCC_TREAT_WARNINGS_AS_ERRORS = YES;
404404
INFOPLIST_FILE = "$(SRCROOT)/Paystack iOS Example/Info.plist";
405-
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
405+
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
406406
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
407407
MARKETING_VERSION = 3.0.13;
408408
PRODUCT_BUNDLE_IDENTIFIER = "com.paystack.$(PRODUCT_NAME:rfc1034identifier)";
@@ -431,7 +431,7 @@
431431
);
432432
GCC_TREAT_WARNINGS_AS_ERRORS = YES;
433433
INFOPLIST_FILE = "$(SRCROOT)/Paystack iOS Example/Info.plist";
434-
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
434+
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
435435
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
436436
MARKETING_VERSION = 3.0.13;
437437
PRODUCT_BUNDLE_IDENTIFIER = "com.paystack.$(PRODUCT_NAME:rfc1034identifier)";
@@ -451,7 +451,7 @@
451451
DEBUG_INFORMATION_FORMAT = dwarf;
452452
GCC_NO_COMMON_BLOCKS = YES;
453453
INFOPLIST_FILE = "Paystack iOS Application Tests/Info.plist";
454-
IPHONEOS_DEPLOYMENT_TARGET = 9.2;
454+
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
455455
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
456456
PRODUCT_BUNDLE_IDENTIFIER = "com.paystack.Paystack-iOS-Application-Tests";
457457
PRODUCT_NAME = "$(TARGET_NAME)";
@@ -471,7 +471,7 @@
471471
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
472472
GCC_NO_COMMON_BLOCKS = YES;
473473
INFOPLIST_FILE = "Paystack iOS Application Tests/Info.plist";
474-
IPHONEOS_DEPLOYMENT_TARGET = 9.2;
474+
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
475475
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
476476
PRODUCT_BUNDLE_IDENTIFIER = "com.paystack.Paystack-iOS-Application-Tests";
477477
PRODUCT_NAME = "$(TARGET_NAME)";

Example/Paystack iOS Example/Base.lproj/Main.storyboard

Lines changed: 9 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="12118" systemVersion="16D32" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" colorMatched="YES" initialViewController="vXZ-lx-hvc">
3-
<device id="retina4_7" orientation="portrait">
4-
<adaptation id="fullscreen"/>
5-
</device>
2+
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="16097" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" colorMatched="YES" initialViewController="vXZ-lx-hvc">
3+
<device id="retina4_7" orientation="portrait" appearance="light"/>
64
<dependencies>
7-
<deployment version="2048" identifier="iOS"/>
8-
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="12086"/>
9-
<capability name="Constraints to layout margins" minToolsVersion="6.0"/>
5+
<deployment version="4368" identifier="iOS"/>
6+
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="16087"/>
107
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
118
</dependencies>
129
<scenes>
@@ -26,15 +23,15 @@
2623
<rect key="frame" x="0.0" y="0.0" width="320" height="568"/>
2724
</imageView>
2825
<label opaque="NO" userInteractionEnabled="NO" contentMode="center" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Charge ahead!" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="W8k-gN-iqf">
29-
<rect key="frame" x="26" y="37" width="268" height="21.5"/>
26+
<rect key="frame" x="26" y="17" width="268" height="21.5"/>
3027
<fontDescription key="fontDescription" type="system" pointSize="17"/>
3128
<color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
3229
<nil key="highlightedColor"/>
3330
<color key="shadowColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
3431
<size key="shadowOffset" width="-1" height="1"/>
3532
</label>
3633
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Sy1-zj-m3t" customClass="PSTCKPaymentCardTextField">
37-
<rect key="frame" x="26" y="65.5" width="268" height="40"/>
34+
<rect key="frame" x="26" y="45.5" width="268" height="40"/>
3835
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
3936
<constraints>
4037
<constraint firstAttribute="height" constant="40" id="Cae-12-0DA"/>
@@ -44,15 +41,15 @@
4441
</connections>
4542
</view>
4643
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="3OP-Hn-6gA">
47-
<rect key="frame" x="207" y="113.5" width="87" height="30"/>
44+
<rect key="frame" x="207" y="93.5" width="87" height="30"/>
4845
<color key="backgroundColor" red="1" green="1" blue="1" alpha="0.59999999999999998" colorSpace="custom" customColorSpace="sRGB"/>
4946
<state key="normal" title="Charge Card"/>
5047
<connections>
5148
<action selector="chargeCard:" destination="vXZ-lx-hvc" eventType="touchUpInside" id="MyM-MF-CeH"/>
5249
</connections>
5350
</button>
5451
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="natural" lineBreakMode="wordWrap" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Hfe-wW-WzS">
55-
<rect key="frame" x="26" y="154" width="268" height="0.0"/>
52+
<rect key="frame" x="26" y="133.5" width="268" height="0.0"/>
5653
<fontDescription key="fontDescription" type="system" pointSize="10"/>
5754
<nil key="textColor"/>
5855
<nil key="highlightedColor"/>
@@ -88,15 +85,10 @@
8885
</viewController>
8986
<placeholder placeholderIdentifier="IBFirstResponder" id="x5A-6p-PRh" sceneMemberID="firstResponder"/>
9087
</objects>
91-
<point key="canvasLocation" x="-338" y="196"/>
88+
<point key="canvasLocation" x="-489.85507246376818" y="131.25"/>
9289
</scene>
9390
</scenes>
9491
<resources>
9592
<image name="caps" width="479" height="307"/>
9693
</resources>
97-
<simulatedMetricsContainer key="defaultSimulatedMetrics">
98-
<simulatedStatusBarMetrics key="statusBar"/>
99-
<simulatedOrientationMetrics key="orientation"/>
100-
<simulatedScreenMetrics key="destination" type="retina4_7.fullscreen"/>
101-
</simulatedMetricsContainer>
10294
</document>

Example/Paystack iOS Example/Images.xcassets/AppIcon.appiconset/Contents.json

Lines changed: 24 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -2,47 +2,52 @@
22
"images" : [
33
{
44
"idiom" : "iphone",
5-
"size" : "20x20",
6-
"scale" : "2x"
5+
"scale" : "2x",
6+
"size" : "20x20"
77
},
88
{
99
"idiom" : "iphone",
10-
"size" : "20x20",
11-
"scale" : "3x"
10+
"scale" : "3x",
11+
"size" : "20x20"
1212
},
1313
{
1414
"idiom" : "iphone",
15-
"size" : "29x29",
16-
"scale" : "2x"
15+
"scale" : "2x",
16+
"size" : "29x29"
1717
},
1818
{
1919
"idiom" : "iphone",
20-
"size" : "29x29",
21-
"scale" : "3x"
20+
"scale" : "3x",
21+
"size" : "29x29"
2222
},
2323
{
2424
"idiom" : "iphone",
25-
"size" : "40x40",
26-
"scale" : "2x"
25+
"scale" : "2x",
26+
"size" : "40x40"
2727
},
2828
{
2929
"idiom" : "iphone",
30-
"size" : "40x40",
31-
"scale" : "3x"
30+
"scale" : "3x",
31+
"size" : "40x40"
3232
},
3333
{
3434
"idiom" : "iphone",
35-
"size" : "60x60",
36-
"scale" : "2x"
35+
"scale" : "2x",
36+
"size" : "60x60"
3737
},
3838
{
3939
"idiom" : "iphone",
40-
"size" : "60x60",
41-
"scale" : "3x"
40+
"scale" : "3x",
41+
"size" : "60x60"
42+
},
43+
{
44+
"idiom" : "ios-marketing",
45+
"scale" : "1x",
46+
"size" : "1024x1024"
4247
}
4348
],
4449
"info" : {
45-
"version" : 1,
46-
"author" : "xcode"
50+
"author" : "xcode",
51+
"version" : 1
4752
}
48-
}
53+
}

0 commit comments

Comments
 (0)