Giter Site home page Giter Site logo

hippo-ios-sdk's People

Contributors

anshumadaan1990 avatar arohi-magotra avatar gianios avatar golden1998 avatar mananj-ios avatar nehavaishjw avatar rahulvermajw avatar sakshanagpal avatar vikasvaish21 avatar vishaljhanjhri avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

hippo-ios-sdk's Issues

Issues integrating Hippo SDK

Hi,

While attempting to implement this sdk as an update to the old Fugu SDK I've run into 2 issues:

  1. https://api.hippochat.io/ seems to have an invalid SSL certificate: all requests fail with errors that look like this:
    2020-02-25 17:58:28.253399+0200 App[21633:4365073] Task <A2A24D24-164A-4F20-A2A3-8F03D5209510>.<1> finished with error [-1202] Error Domain=NSURLErrorDomain Code=-1202 "The certificate for this server is invalid. You might be connecting to a server that is pretending to be “api.hippochat.io” which could put your confidential information at risk." UserInfo={NSURLErrorFailingURLPeerTrustErrorKey=<SecTrustRef: 0x2827d83f0>, NSLocalizedRecoverySuggestion=Would you like to connect to the server anyway?, _kCFStreamErrorDomainKey=3, _kCFStreamErrorCodeKey=-9843, NSErrorPeerCertificateChainKey=( "<cert(0x109012000) s: *.fuguchat.com i: COMODO RSA Domain Validation Secure Server CA>", "<cert(0x109012c00) s: COMODO RSA Domain Validation Secure Server CA i: COMODO RSA Certification Authority>", "<cert(0x109013600) s: COMODO RSA Certification Authority i: AddTrust External CA Root>" ), NSUnderlyingError=0x281bb7960 {Error Domain=kCFErrorDomainCFNetwork Code=-1202 "(null)" UserInfo={_kCFStreamPropertySSLClientCertificateState=0, kCFStreamPropertySSLPeerTrust=<SecTrustRef: 0x2827d83f0>, _kCFNetworkCFStreamSSLErrorOriginalValue=-9843, _kCFStreamErrorDomainKey=3, _kCFStreamErrorCodeKey=-9843, kCFStreamPropertySSLPeerCertificates=( "<cert(0x109012000) s: *.fuguchat.com i: COMODO RSA Domain Validation Secure Server CA>", "<cert(0x109012c00) s: COMODO RSA Domain Validation Secure Server CA i: COMODO RSA Certification Authority>", "<cert(0x109013600) s: COMODO RSA Certification Authority i: AddTrust External CA Root>" )}}, NSLocalizedDescription=The certificate for this server is invalid. You might be connecting to a server that is pretending to be “api.hippochat.io” which could put your confidential information at risk., NSErrorFailingURLKey=https://api.hippochat.io/api/users/putUserDetails, NSErrorFailingURLStringKey=https://api.hippochat.io/api/users/putUserDetails, NSErrorClientCertificateStateKey=0}

I managed to fix this by changing the Hippo HTTPClient to accept any SSL connection, however now I am running into a second issue: the library crashes internally because 'https://api.hippochat.io/api/users/putUserDetails' returns a 404.

I've attached an image of a postman request failing so you can see what i'm talking about.

Screenshot 2020-02-25 at 18 00 58

Any help on fixing these issues would be appreciated!

Compile fail with chip M1

We're using Apple chip M1 and got this compile error
<unknown>:0: error: unable to load standard library for target 'arm64-apple-ios10.0' /......../ios/Pods/Hippo/Hippo/Controllers/Payment/RazorPayViewController.swift:9:8: error: module compiled with Swift 5.5.1 cannot be imported by the Swift 5.6 compiler: /...../ios/Pods/razorpay-pod/Pod/Razorpay.framework/Modules/Razorpay.swiftmodule/arm64.swiftmodule import Razorpay

When there is no conversation ui stuck and app is not responding

When there is not conversation made by the user with support we are getting this error and after this Ui stuck

[TableView] Warning once only: UITableView was told to layout its visible cells and other contents without being in the view hierarchy (the table view or one of its superviews has not been added to a window). This may cause bugs by forcing views inside the table view to load and perform layout without accurate information (e.g. table view bounds, trait collection, layout margins, safe area insets, etc), and will also cause unnecessary performance overhead due to extra layout passes. Make a symbolic breakpoint at UITableViewAlertForLayoutOutsideViewHierarchy to catch this in the debugger and see what caused this to occur, so you can avoid this action altogether if possible, or defer it until the table view has been added to a window. Table view: <UITableView: 0x7fa5e280d000; frame = (0 85; 375 582); clipsToBounds = YES; autoresize = RM+BM; gestureRecognizers = <NSArray: 0x60000251bcc0>; backgroundColor = <UIDynamicSystemColor: 0x6000033e11c0; name = tableBackgroundColor>; layer = <CALayer: 0x600002efec00>; contentOffset: {0, -10}; contentSize: {375, 582}; adjustedContentInset: {10, 0, 70, 0}; dataSource: <Hippo.AllConversationsViewController: 0x7fa5e10bd000>>

i have made a symbolic breakpoint at UITableViewAlertForLayoutOutsideViewHierarchy to catch the reason and i got
AllConversationsViewController - showConversationsTableView.layoutSubviews() is creating issue in noConversationFound function can you help us out in this matter?
Screenshot 2023-06-16 at 00 03 54

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.