Git Product home page Git Product logo

payu-ios's Introduction

Warning: This PayU iOS SDK is deprecated!

New SDK for iOS is available at https://github.com/PayU-EMEA/PayU-iOS-Swift

PayU SDK Lite

PayU mobile SDK for iOS. Supports: iOS 10.x and above

Adding the CocoaPods dependency

Add dependency to Podfile:

pod "PayULite"

Adding the SPM (Swift Package Manager) dependency

Add dependency to Package.swift into dependencies section:

.package(url: "https://github.com/PayU-EMEA/PayU-iOS.git", .upToNextMajor(from: "1.0.10")),

Importing the SDK

import PayU_SDK_Lite

Documentation:

payu-ios's People

Contributors

aivashyna avatar pgorzelany-objectivity avatar regdos avatar krzysztofgawronekpayu avatar

Stargazers

michalnowak061 avatar  avatar

Watchers

Alexandru Pătrănescu avatar James Cloos avatar alaurowski avatar Arkadiusz Pachucy avatar Aliaksandr avatar Idan Tovi avatar  avatar Filip Rytwiński avatar  avatar michalnowak061 avatar  avatar

payu-ios's Issues

1.0.13 Bitcode issue

I've updated SDK using Cocapods 1.0.10 -> 1.0.13

After update I can't build my solution. I get error '//XCFrameworkIntermediates/PayULite/PayU_SDK_Lite.framework/PayU_SDK_Lite' does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target. file '/PayULite/PayU_SDK_Lite.framework/PayU_SDK_Lite' for architecture arm64

Bitcode for this framework is set enabled

Everything worked well with version 1.0.10, and nothing else was changed

SPM Support?

Any plans to add Swift Package Manager support?

Invalid brand image URLs in PUCardToken.brandImageProvider

PUCardToken provides invalid URLs for MasterCard logo:

.brandImageProvider.brandImageURL(for: UITraitCollection(userInterfaceStyle: .light)):
https://raw.githubusercontent.com/aivashyna/ptest/main/mastercard/mastercard-light.png

.brandImageProvider.brandImageURL(for: UITraitCollection(userInterfaceStyle: .dark)):
https://raw.githubusercontent.com/aivashyna/ptest/main/mastercard/mastercard-dark.png

The same goes for Visa:
https://raw.githubusercontent.com/aivashyna/ptest/main/visa/visa-light.png
https://raw.githubusercontent.com/aivashyna/ptest/main/visa/visa-dark.png

checked on SDK version: 0.9.5, cocoapods distribution, production environment

Dependencies could not be resolved

Expected Behavior

Dependencies resolved without any hassle

Actual Behavior

Failed to resolve dependencies in Xcode

Dependencies could not be resolved because root depends on 'PayU-iOS' 1.0.11..<2.0.0.
'PayU-iOS' >= 1.0.11 cannot be used because 'PayU-iOS' 1.0.11 contains incompatible tools version (5.6.0) and no versions of 'PayU-iOS' match the requirement 1.0.12..<2.0.0.

Steps to Reproduce the Problem

  1. Create a project with Xcode 13.1
  2. Add PayU SDK as a dependency via spm

Specifications

  • Version: Xcode 13. 1
  • Platform: MacOS Big Sur 11.3.1

Possible resolution

Update Xcode is an option, but what changed between 1.0.10 - 1.0.11 that we are forcing swift 5.6?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.