Giter Club home page Giter Club logo

sdk-ios's People

Contributors

akonish avatar viplifes avatar voinovsergii avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

sdk-ios's Issues

Last version SDK Swift error

In the latest version of SDK, the required method "navigationController" is added to LiqPayCallBack. On Swift, overriding this method leads to an error: "Method 'navigationController()' with Objective-C selector 'navigationController' conflicts with getter for 'navigationController' from superclass 'UIViewController' with the same Objective-C selector". On Objective-C works fine

Актуальна бібліотека та документація

Вік цієї бібліотеки вже 4 роки.
Невже немає оновленої бібліотеки?

Документації доступної взагалі немає - посилання з https://www.liqpay.ua/documentation/sdk веде на github, а з github знову на той самий сайт.

Чи є правильне посилання на документацію роботи з iOS SDK?

Use of deprecated Apple "UIWebView" APIs

After submitting an application that uses the Liqpay SDK to the App Store Connect, I received an e-mail from Apple that contains this warning:

ITMS-90809: Deprecated API Usage - Apple will stop accepting submissions of apps that use UIWebView APIs . See https://developer.apple.com/documentation/uikit/uiwebview for more information.

Since the application codebase does not use any UIWebView APIs, I have analyzed the Liqpay SDK with nm command and I have found out that it uses these deprecated APIs.
It must be fixed in order to avoid rejection by Apple in the future.

Datasource method (NSString *)oneClickPayMerchantID crash when return merchantID string

- (NSString *)oneClickPayMerchantID {
    NSLog(@"%s", __PRETTY_FUNCTION__);

    NSString *merchantID = @"297100146db1ee6c88afd892cdcf2d10";

    return merchantID;
}

Error:

*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** +[NSString stringWithUTF8String:]: NULL cString'
*** First throw call stack:
(0x183b8022c 0x1958540e4 0x183b8016c 0x18498e5c8 0x1005a7900 0x1005a70fc 0x18353fb14 0x184a671c4 0x1849b8604 0x1849a81cc 0x184a69f28 0x100facf94 0x100fb1c28 0x183b37544 0x183b355ec 0x183a60f74 0x18d4bb6fc 0x188662d94 0x1000ae198 0x195efea08)
libc++abi.dylib: terminating with uncaught exception of type NSException

I try convert string to NSUTF8StringEncoding, and have same error.

You don't have permission for this action

When I am trying to make request with "auth" path in callBack onResponseSuccess returns response:
"{"result":"ok","status":"error","err_code":"err_access","err_description":"You don't have permission for this action"}"

Request:
liqPay.api("auth", params: ["action": "auth",
"version": 3,
"public_key": publicKey,
"description": "text",
"order_id": 323,
"language": "uk"], privateKey: privateKey, delegate: self)
What is wrong?

"err_code": "err_action"

when use - liqPay.api("checkout", params: data, privateKey: privateKey, delegate: self)

response is
{
"result": "ok",
"status": "error",
"err_code": "err_action"
}

How can i get checkout url using liqpay.api(
or in objc

  • (void)api:(NSString *)path
    params:(NSDictionary *)params
    privateKey:(NSString *)privateKey
    delegate:(id)delegate;
    )

Library throws warnings during build process

warning: (x86_64) /Users/sergey/Library/Developer/Xcode/DerivedData/LiqpayMob-doihcvdxgkyhzjefboczetrtbmvd/Build/Intermediates.noindex/LiqpayMob.build/Debug-iphonesimulator/LiqpayMob.build/Objects-normal/x86_64/LiqpayMob.o unable to open object file: No such file or directory warning: (x86_64) /Users/sergey/Library/Developer/Xcode/DerivedData/LiqpayMob-doihcvdxgkyhzjefboczetrtbmvd/Build/Intermediates.noindex/LiqpayMob.build/Debug-iphonesimulator/LiqpayMob.build/Objects-normal/x86_64/WebVC.o unable to open object file: No such file or directory warning: (x86_64) /Users/sergey/Library/Developer/Xcode/DerivedData/LiqpayMob-doihcvdxgkyhzjefboczetrtbmvd/Build/Intermediates.noindex/LiqpayMob.build/Debug-iphonesimulator/LiqpayMob.build/Objects-normal/x86_64/NSURLSession+syncAsyncRequest.o unable to open object file: No such file or directory warning: (x86_64) /Users/sergey/Library/Developer/Xcode/DerivedData/LiqpayMob-doihcvdxgkyhzjefboczetrtbmvd/Build/Intermediates.noindex/LiqpayMob.build/Debug-iphonesimulator/LiqpayMob.build/Objects-normal/x86_64/LiqPayUtil.o unable to open object file: No such file or directory warning: (x86_64) /Users/sergey/Library/Developer/Xcode/DerivedData/LiqpayMob-doihcvdxgkyhzjefboczetrtbmvd/Build/Intermediates.noindex/LiqpayMob.build/Debug-iphonesimulator/LiqpayMob.build/Objects-normal/x86_64/PBReachability.o unable to open object file: No such file or directory warning: (x86_64) /Users/sergey/Library/Developer/Xcode/DerivedData/LiqpayMob-doihcvdxgkyhzjefboczetrtbmvd/Build/Intermediates.noindex/LiqpayMob.build/Debug-iphonesimulator/LiqpayMob.build/Objects-normal/x86_64/SDWebView.o unable to open object file: No such file or directory warning: (x86_64) /Users/sergey/Library/Developer/Xcode/DerivedData/LiqpayMob-doihcvdxgkyhzjefboczetrtbmvd/Build/Intermediates.noindex/LiqpayMob.build/Debug-iphonesimulator/LiqpayMob.build/Objects-normal/x86_64/LiqPayRequest.o unable to open object file: No such file or directory warning: (x86_64) /Users/sergey/Library/Developer/Xcode/DerivedData/LiqpayMob-doihcvdxgkyhzjefboczetrtbmvd/Build/Intermediates.noindex/LiqpayMob.build/Debug-iphonesimulator/LiqpayMob.build/Objects-normal/x86_64/SDProgressHUD.o unable to open object file: No such file or directory

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.