Code Monkey home page Code Monkey logo

directline's People

Contributors

gonzalezreal avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

directline's Issues

The pod file not working in latest swift version application.

Hi @gonzalezreal,

The pod file for the direct line is not working in the latest swift version. May I know whether the changes are in progress or Can I start contributing to this community to make it work with the latest swift and create the PR for the same?

I am glad and happy to contribute to this repo!
Looking for your response.

Thanks,
Ibrahim Sulaiman

Example Project

I have been trying for a day now don't get this to work. I get absolutely no response, console log or error. Could you please include an example project in the repo.

I installed using pods direct to your master. Running xcode 9 GM.

Error 403

I set up on a Xcode 9.0 project I am getting error as

Error posting activity badStatus(403, 93 bytes)

override func viewDidAppear(_ animated: Bool) {

 let directLine = DirectLine(token: "xxxxxx.cwA.gwY.xxxxxxx'")
    let myAccount = ChannelAccount(id: "test", name: "test")
    
    directLine
        .post(activity: Activity(from: myAccount, text: "Book an appointment?"))
        .subscribe(
            onNext: {
                print("Posted activity, assigned ID (\($0.id)")
                
        },
            onError: {
                print("Error posting activity \($0)")
                
        }
    )
   
}

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.