GithubHelp home page GithubHelp logo

Xcode 8 and iOS 10 about libpusher HOT 10 CLOSED

ManuelOrtega avatar ManuelOrtega commented on June 29, 2024
Xcode 8 and iOS 10

from libpusher.

Comments (10)

edenman avatar edenman commented on June 29, 2024 8

@ManuelOrtega thanks! Turns out my issue was that I had also upgraded Pusher and the signature of one of the delegate methods changed (willAuthorizeChannel) which meant it was just silently not calling that method anymore :/

from libpusher.

ManuelOrtega avatar ManuelOrtega commented on June 29, 2024 1

Found the solution. It was a problem with another library.

You can close this issue.

Thank you very much, anyway!

from libpusher.

lukeredpath avatar lukeredpath commented on June 29, 2024 1

@SimpleDS look at the header for PTPusherChannelAuthorizationOperation - there's a few things you can set there but it also exposes the mutable request (mutableURLRequest).

https://github.com/pusher/libPusher/blob/master/Library/PTPusherChannelServerBasedAuthorization.h

from libpusher.

hamchapman avatar hamchapman commented on June 29, 2024

I'll make sure to take a look at this today - thanks for raising the issue!

from libpusher.

edenman avatar edenman commented on June 29, 2024

@ManuelOrtega what was the issue? I'm seeing this too (pusher 1.6.2, xcode 8A218a, iOS 10.0.2)

from libpusher.

ManuelOrtega avatar ManuelOrtega commented on June 29, 2024

My problem was not with LibPusher but with what was being pushed. In my case what was being pushed was stored in a keychain. With iOS 10 they really took care about privacy, so I had to enable the use of a keychain from the entitlements of the project.

If this is your case, this may help you:

http://stackoverflow.com/questions/38456471/secitemadd-always-returns-error-34018-in-xcode-8-in-ios-10-simulator/38543243#38543243

from libpusher.

acicartagena avatar acicartagena commented on June 29, 2024

@edenman thanks! for this. had the same problem and using the NEW delegate method for willAuthorizeChannel solved it

from libpusher.

pj4533 avatar pj4533 commented on June 29, 2024

@edenman omg....looked so long for this....

from libpusher.

gtg529s avatar gtg529s commented on June 29, 2024

@edenman Thanks!
- (void)pusher:(PTPusher *)pusher willAuthorizeChannel:(PTPusherChannel *)channel withRequest:(NSMutableURLRequest *)request

is now

- (void)pusher:(PTPusher *)pusher willAuthorizeChannel:(PTPusherChannel *)channel withAuthOperation:(PTPusherChannelAuthorizationOperation *)operation

from libpusher.

SimpleDS avatar SimpleDS commented on June 29, 2024

How do you set header fields of the request with this new delegate method for willAuthorizeChannel? I can't find this documented anywhere.

from libpusher.

Related Issues (20)

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.