Skip to content

Commit

Permalink
Release 6.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jenkins committed Mar 17, 2022
1 parent dda4548 commit 944f108
Show file tree
Hide file tree
Showing 20 changed files with 132 additions and 110 deletions.
2 changes: 1 addition & 1 deletion .version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6.6.0
6.7.0
2 changes: 1 addition & 1 deletion .version_code
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6060000
6070000
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
### NEXT_VERSION_DESCRIPTION_BEGIN
### NEXT_VERSION_DESCRIPTION_END

## [6.7.0] (17-03-2022)

* TMX библиотеки теперь подключены через cocoapods. Обновлена документация. Обновлены правила валидации карт. Исправлен интерфейс BankCardRepeatModuleInputData. Исправлена и дополнена документация. Исправлено несколько визуальных багов.

## [6.6.2] (04-03-2022)

* Исправлен потенциальный крэш
Expand Down
4 changes: 2 additions & 2 deletions CardIO/CardIO.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Pod::Spec.new do |spec|
spec.name = 'CardIO'
spec.version = '5.4.1'
spec.license = { type: 'MIT', file: 'CardIO/LICENSE.md' }
spec.license = { type: 'MIT', file: 'LICENSE.md' }
spec.homepage = 'https://www.card.io'
spec.authors = { 'CardIO' => 'support@paypal.com' }
spec.summary = 'Credit card scanning for mobile apps'
Expand All @@ -11,7 +11,7 @@ Pod::Spec.new do |spec|
spec.ios.deployment_target = '6.1'
spec.requires_arc = true
spec.source_files = 'CardIO/*.{h,m}'
spec.frameworks = 'Accelerate', 'AVFoundation', 'AudioToolbox', 'CoreGraphics', 'CoreMedia', 'CoreVideo', 'CoreServices', 'OpenGLES', 'QuartzCore', 'Security', 'UIKit'
spec.frameworks = 'Accelerate', 'AVFoundation', 'AudioToolbox', 'CoreMedia', 'CoreVideo', 'MobileCoreServices', 'OpenGLES', 'QuartzCore', 'Security', 'UIKit'
spec.libraries = 'c++'
spec.vendored_libraries = 'CardIO/libCardIOCore.a', 'CardIO/libopencv_core.a', 'CardIO/libopencv_imgproc.a'
spec.pod_target_xcconfig = { 'OTHER_LDFLAGS' => '-ObjC' }
Expand Down
File renamed without changes.
14 changes: 11 additions & 3 deletions Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,19 @@ PODS:
- Reveal-SDK (33)
- SwiftLint (0.45.1)
- ThreatMetrixAdapter (3.3.3)
- TMXProfiling (1.0.1)
- TMXProfilingConnections (1.0.1)
- YandexMobileMetrica/Dynamic (3.17.0):
- YandexMobileMetrica/Dynamic/Core (= 3.17.0)
- YandexMobileMetrica/Dynamic/Crashes (= 3.17.0)
- YandexMobileMetrica/Dynamic/Core (3.17.0)
- YandexMobileMetrica/Dynamic/Crashes (3.17.0):
- YandexMobileMetrica/Dynamic/Core
- YooKassaPayments (6.6.2):
- YooKassaPayments (6.7.0):
- MoneyAuth (~> 3.3.0)
- ThreatMetrixAdapter (~> 3.3.3)
- TMXProfiling (= 1.0.1)
- TMXProfilingConnections (= 1.0.1)
- YandexMobileMetrica/Dynamic (~> 3.0)
- YooKassaPaymentsApi (~> 2.11.0)
- YooKassaWalletApi (~> 2.3.1)
Expand All @@ -42,6 +46,8 @@ SPEC REPOS:
- FunctionalSwift
- MoneyAuth
- ThreatMetrixAdapter
- TMXProfiling
- TMXProfilingConnections
- YooKassaPaymentsApi
- YooKassaWalletApi
- YooMoneyCoreApi
Expand All @@ -57,14 +63,16 @@ EXTERNAL SOURCES:
:path: "./"

SPEC CHECKSUMS:
CardIO: 3d68b6cf6f821a63c3a08cb08083c1a6702ce67d
CardIO: 69b4821c414157debbf1e3dc30e20c9507757a44
FunctionalSwift: 856da67cf3fb812341445d4e28f05875904d8da0
MoneyAuth: 74ba8e8fadbdabe2be706dcad1d0b9de96152897
Reveal-SDK: effba1c940b8337195563c425a6b5862ec875caa
SwiftLint: 06ac37e4d38c7068e0935bb30cda95f093bec761
ThreatMetrixAdapter: 1b31f0afe02eb68be52945e160cc9c0fd117b06c
TMXProfiling: feb7377f8053983ffca628ad6648a3c319629ae5
TMXProfilingConnections: ab80677b078b86560457b6bc60546bced75d2ddd
YandexMobileMetrica: 9e713c16bb6aca0ba63b84c8d7b8b86d32f4ecc4
YooKassaPayments: 93039e3a4b08a44ac8c901d20fbb9151673ffa47
YooKassaPayments: 606ed4b70d4ebf7682963018f2cb2a0eb3e567b8
YooKassaPaymentsApi: f76c84ec94ace98e8babc6996cf804840d93f8d8
YooKassaWalletApi: 817d511330332aaec84490f8335ab8c94285d9be
YooMoneyCoreApi: d16cbc3e816c89b7cca957090d7c290b9eb6ddf1
Expand Down
16 changes: 1 addition & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ Using the SDK, you can receive tokens for processing payments via bank cards, Ap
- [Adding dependencies](#adding-dependencies)
- [CocoaPods](#cocoapods)
- [Carthage](#carthage)
- [Implementing TMXProfiling and TMXProfilingConnections](#implementing-tmxprofiling-and-tmxprofilingconnections)
- [Quick integration](#quick-integration)
- [Available payment methods](#available-payment-methods)
- [Setting up payment methods](#setting-up-payment-methods)
Expand Down Expand Up @@ -122,17 +121,6 @@ end

At the moment, Carthage is not supported.

## Implementing TMXProfiling and TMXProfilingConnections

To get the `.xcframework` file, [sign up for YooMoney](https://yookassa.ru/joinups)
and tell your manager that you'd like to implement the mobile SDK.

1. Using Finder or a different file manager, add the `TMXProfiling.xcframework` and `TMXProfilingConnections.xcframework` libraries to the project folder.

2. Add `TMXProfiling.xcframework` and `TMXProfilingConnections.xcframework` in `Frameworks, Libraries, and Embedded Content` for the main target of the project under the `General` section.

3. `TMXProfiling.xcframework` and `TMXProfilingConnections.xcframework` must be added with `Embed & Sign`

## Quick integration

1. Create `TokenizationModuleInputData` (you'll need a [key for client apps](https://yookassa.ru/my/tunes) from the YooMoney Merchant Profile). Payment parameters (currency and amount) and payment form parameters which users will see during the payment (payment methods, store name, and order description) are specified in this model.
Expand Down Expand Up @@ -745,8 +733,6 @@ To launch the Example app, you need to:
git clone https://github.com/yoomoney/yookassa-payments-swift.git
```

2. Create a `Frameworks` folder in the project root directory.
3. Add `TMXProfiling.xcframework` and `TMXProfilingConnections.xcframework` to the `Frameworks` folder
4. Go to the project folder and run the following commands in console:

```shell
Expand All @@ -756,7 +742,7 @@ pod install
```

4. Open `YooKassaPayments.xcworkspace`.
5. Select and launch the `ExamplePods` scheme.
5. Select and launch the `YooKassaPaymentsDemoApp` scheme.

## Interface customization

Expand Down
19 changes: 2 additions & 17 deletions README_RU.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
- [Подключение зависимостей](#подключение-зависимостей)
- [CocoaPods](#cocoapods)
- [Carthage](#carthage)
- [Подключение TMXProfiling и TMXProfilingConnections](#подключение-tmxprofiling-и-tmxprofilingconnections)
- [Быстрая интеграция](#быстрая-интеграция)
- [Доступные способы оплаты](#доступные-способы-оплаты)
- [Настройка способов оплаты](#настройка-способов-оплаты)
Expand Down Expand Up @@ -122,17 +121,6 @@ end

На текущий момент Carthage не поддерживается.

## Подключение TMXProfiling и TMXProfilingConnections

Чтобы получить файл `.xcframework`, [зарегистрируйтесь в ЮKassa](https://yookassa.ru/joinups)
и сообщите вашему менеджеру, что хотите подключить мобильный SDK.

1. Используя Finder или другой файловый менеджер добавьте библиотеки `TMXProfiling.xcframework` и `TMXProfilingConnections.xcframework` в папку c вашим проектом.

2. В разделе `General` у основного таргета проекта добавьте `TMXProfiling.xcframework` и `TMXProfilingConnections.xcframework` в `Frameworks, Libraries, and Embedded Content`.

3. `TMXProfiling.xcframework` и `TMXProfilingConnections.xcframework` должны быть добавлены как `Embed & Sign`

## Быстрая интеграция

1. Создайте `TokenizationModuleInputData` (понадобится [ключ для клиентских приложений](https://yookassa.ru/my/tunes) из личного кабинета ЮKassa). В этой модели передаются параметры платежа (валюта и сумма) и параметры платежной формы, которые увидит пользователь при оплате (способы оплаты, название магазина и описание заказа).
Expand Down Expand Up @@ -744,10 +732,7 @@ let moduleData = TokenizationModuleInputData(
```shell
git clone https://github.com/yoomoney/yookassa-payments-swift.git
```

2. Создайте папку `Frameworks` в корне проекта.
3. Добавьте `TMXProfiling.xcframework` и `TMXProfilingConnections.xcframework` в папку `Frameworks`
4. В консоли перейти в папку с проектом и выполнить следующие команды:
2. В консоли перейти в папку с проектом и выполнить следующие команды:

```shell
gem install bundler
Expand All @@ -756,7 +741,7 @@ pod install
```

4. Открыть `YooKassaPayments.xcworkspace`.
5. Выбрать и запустить схему `ExamplePods`.
5. Выбрать и запустить схему `YooKassaPaymentsDemoApp`.

## Кастомизация интерфейса

Expand Down
4 changes: 3 additions & 1 deletion YooKassaPayments.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'YooKassaPayments'
s.version = '6.6.2'
s.version = '6.7.0'
s.homepage = 'https://github.com/yoomoney/yookassa-payments-swift'
s.license = {
:type => "MIT",
Expand Down Expand Up @@ -29,6 +29,8 @@ Pod::Spec.new do |s|
s.ios.framework = 'PassKit'
s.ios.library = 'z'

s.ios.dependency 'TMXProfiling', '= 1.0.1'
s.ios.dependency 'TMXProfilingConnections', '= 1.0.1'
s.ios.dependency 'YooMoneyCoreApi', '~> 2.0.1'
s.ios.dependency 'YooKassaPaymentsApi', '~> 2.11.0'
s.ios.dependency 'YooKassaWalletApi', '~> 2.3.1'
Expand Down
Loading

0 comments on commit 944f108

Please sign in to comment.