Skip to content
This repository has been archived by the owner. It is now read-only.

Commit

Permalink
Fix correct error messages
Browse files Browse the repository at this point in the history
  • Loading branch information
a.ignatov committed Apr 11, 2023
1 parent c457eec commit 30ef4f7
Show file tree
Hide file tree
Showing 34 changed files with 968 additions and 656 deletions.
2 changes: 1 addition & 1 deletion Cloudpayments-SDK-iOS.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
Pod::Spec.new do |spec|

spec.name = "Cloudpayments"
spec.version = "1.2.9"
spec.version = "1.2.10"
spec.summary = "Core library that allows you to use internet acquiring from CloudPayments in your app"
spec.description = "Core library that allows you to use internet acquiring from CloudPayments in your app!"

Expand Down
176 changes: 90 additions & 86 deletions README.md

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions demo/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PODS:
- Cloudpayments (1.2.7):
- Cloudpayments (1.2.6):
- CloudpaymentsNetworking
- YandexLoginSDK
- YandexPaySDK/Dynamic
Expand Down Expand Up @@ -35,7 +35,7 @@ EXTERNAL SOURCES:
:path: "../networking"

SPEC CHECKSUMS:
Cloudpayments: f1d5f1ad1952ae6c8a729ef32eb4184e83d27ba8
Cloudpayments: 1ee1e0f8f938fd89e7b001b0240eb7b1721e1463
CloudpaymentsNetworking: b03a482d4200209a46f27da663d235228bab5071
PromiseKit: 49d70c53d5d20e346beaea4b276b5dd2ab446bb4
YandexLoginSDK: cd407482207b4b7da75c5f7d7fd2fdd6a604c325
Expand Down
16 changes: 2 additions & 14 deletions demo/demo.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
/* Begin PBXBuildFile section */
1318032122F8454C00761630 /* CartViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1318032022F8454C00761630 /* CartViewCell.swift */; };
1318234E233CEFDD004BEC5B /* Constants.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1318234D233CEFDD004BEC5B /* Constants.swift */; };
1322B2D2229E716800657399 /* CartManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1322B2D1229E716800657399 /* CartManager.swift */; };
1322B2D4229E9E0800657399 /* Product.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1322B2D3229E9E0800657399 /* Product.swift */; };
133417CD234380A200AC4CBA /* String+Extensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 133417CB234380A200AC4CBA /* String+Extensions.swift */; };
133417CE234380A200AC4CBA /* UIViewController+Extensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 133417CC234380A200AC4CBA /* UIViewController+Extensions.swift */; };
Expand All @@ -30,7 +29,6 @@
118EE6311E625625EB9588B7 /* Pods-demo.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-demo.release.xcconfig"; path = "Target Support Files/Pods-demo/Pods-demo.release.xcconfig"; sourceTree = "<group>"; };
1318032022F8454C00761630 /* CartViewCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CartViewCell.swift; sourceTree = "<group>"; };
1318234D233CEFDD004BEC5B /* Constants.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Constants.swift; sourceTree = "<group>"; };
1322B2D1229E716800657399 /* CartManager.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CartManager.swift; sourceTree = "<group>"; };
1322B2D3229E9E0800657399 /* Product.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Product.swift; sourceTree = "<group>"; };
133417CB234380A200AC4CBA /* String+Extensions.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "String+Extensions.swift"; sourceTree = "<group>"; };
133417CC234380A200AC4CBA /* UIViewController+Extensions.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "UIViewController+Extensions.swift"; sourceTree = "<group>"; };
Expand Down Expand Up @@ -64,14 +62,6 @@
/* End PBXFrameworksBuildPhase section */

/* Begin PBXGroup section */
1318233C233CEA21004BEC5B /* Services */ = {
isa = PBXGroup;
children = (
1322B2D1229E716800657399 /* CartManager.swift */,
);
path = Services;
sourceTree = "<group>";
};
13182348233CEAFB004BEC5B /* Models */ = {
isa = PBXGroup;
children = (
Expand Down Expand Up @@ -135,7 +125,6 @@
1318234C233CEFD3004BEC5B /* Support */,
1318234B233CEB33004BEC5B /* ViewControllers */,
13182348233CEAFB004BEC5B /* Models */,
1318233C233CEA21004BEC5B /* Services */,
13B49EBF224A4793001F85CF /* AppDelegate.swift */,
13B49EC3224A4793001F85CF /* Main.storyboard */,
13B49EC6224A4795001F85CF /* Assets.xcassets */,
Expand Down Expand Up @@ -298,7 +287,6 @@
files = (
13B49EC2224A4793001F85CF /* MainViewController.swift in Sources */,
8341E419268E3A6E007561FF /* ProductsRequest.swift in Sources */,
1322B2D2229E716800657399 /* CartManager.swift in Sources */,
1318032122F8454C00761630 /* CartViewCell.swift in Sources */,
1322B2D4229E9E0800657399 /* Product.swift in Sources */,
13C6E42923325FE500091825 /* CheckoutViewController.swift in Sources */,
Expand Down Expand Up @@ -460,7 +448,7 @@
CODE_SIGN_ENTITLEMENTS = demo/demo.entitlements;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 8;
CURRENT_PROJECT_VERSION = 17;
DEVELOPMENT_TEAM = WCLAYYKMWP;
HEADER_SEARCH_PATHS = (
"$(inherited)",
Expand Down Expand Up @@ -492,7 +480,7 @@
CODE_SIGN_ENTITLEMENTS = demo/demo.entitlements;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 8;
CURRENT_PROJECT_VERSION = 17;
DEVELOPMENT_TEAM = WCLAYYKMWP;
HEADER_SEARCH_PATHS = (
"$(inherited)",
Expand Down
6 changes: 3 additions & 3 deletions demo/demo/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
do {
// Инициализируйте SDK
// Если в проекте используется YandexPay, то необходимо указать соответсвующие параметры:
// yandexPayAppId - ваш appId, который вы получили при настройке YandexLoginSDK
// yandexPayAppId - ваш appId для YandexPay
// sandboxMode - режим песочницы YandexPay
let yaAppId = "..."
try CloudPaymentsSDK.initialize(yandexPayAppId: yaAppId, yandexPaySandboxMode: false)
let yaAppId = "3cf72c47-3027-44f5-b80f-054b0763a298"
try CloudPaymentsSDK.initialize(yandexPayAppId: yaAppId, yandexPaySandboxMode: true)
} catch {
fatalError("Unable to initialize CloudPaymentsSDK.")
}
Expand Down
Binary file removed demo/demo/Assets.xcassets/Cart.imageset/Cart.png
Binary file not shown.
21 changes: 0 additions & 21 deletions demo/demo/Assets.xcassets/Cart.imageset/Contents.json

This file was deleted.

8 changes: 4 additions & 4 deletions demo/demo/Assets.xcassets/Logo.imageset/Contents.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"images" : [
{
"filename" : "logo.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "Logo.png",
"scale" : "2x"
},
{
Expand All @@ -15,7 +15,7 @@
}
],
"info" : {
"version" : 1,
"author" : "xcode"
"author" : "xcode",
"version" : 1
}
}
}
Binary file modified demo/demo/Assets.xcassets/Logo.imageset/Logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 8 additions & 8 deletions demo/demo/Base.lproj/LaunchScreen.storyboard
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="14490.70" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="01J-lp-oVM">
<device id="retina6_1" orientation="portrait">
<adaptation id="fullscreen"/>
</device>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="21507" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="01J-lp-oVM">
<device id="retina6_1" orientation="portrait" appearance="light"/>
<dependencies>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14490.49"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="21505"/>
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
Expand All @@ -19,15 +17,17 @@
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="Logo" translatesAutoresizingMaskIntoConstraints="NO" id="8jg-o3-Ex2">
<rect key="frame" x="82" y="323" width="250" height="250"/>
<rect key="frame" x="24" y="353.5" width="366" height="189.5"/>
</imageView>
</subviews>
<viewLayoutGuide key="safeArea" id="6Tk-OE-BBY"/>
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<constraints>
<constraint firstItem="8jg-o3-Ex2" firstAttribute="leading" secondItem="Ze5-6b-2t3" secondAttribute="leading" constant="24" id="9Wa-rP-sdP"/>
<constraint firstAttribute="trailing" secondItem="8jg-o3-Ex2" secondAttribute="trailing" constant="24" id="Jby-Da-CYx"/>
<constraint firstItem="8jg-o3-Ex2" firstAttribute="centerX" secondItem="Ze5-6b-2t3" secondAttribute="centerX" id="Pyd-ol-MQz"/>
<constraint firstItem="8jg-o3-Ex2" firstAttribute="centerY" secondItem="Ze5-6b-2t3" secondAttribute="centerY" id="SIr-D2-k8l"/>
</constraints>
<viewLayoutGuide key="safeArea" id="6Tk-OE-BBY"/>
</view>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="iYj-Kq-Ea1" userLabel="First Responder" sceneMemberID="firstResponder"/>
Expand All @@ -36,6 +36,6 @@
</scene>
</scenes>
<resources>
<image name="Logo" width="250" height="250"/>
<image name="Logo" width="513" height="189.5"/>
</resources>
</document>
Loading

0 comments on commit 30ef4f7

Please sign in to comment.