GithubHelp home page GithubHelp logo

Comments (9)

manavo avatar manavo commented on July 26, 2024

Hi @MarkBorazio, sorry for the trouble here!

Just to get the easy ones answered first:

  1. The response doesn't return the app key, but when you print/debug the response it shows the URL which was called, and that has the key shown there. The HTTP response from the server doesn't return the key again.
  2. The Invalid invocation, missing JSONP callback issue is that opening the endpoint in the browser makes a GET request to that endpoint, whereas the iOS SDK makes a POST request.

I'm not sure about the crash itself, I'll see if I can test and see why that's happening. That line certainly looks innocent enough!

Is the debug response you've included here from the iOS 12 device that always crashes?

Thanks,
Phil

from ios-sdk.

MarkBorazio avatar MarkBorazio commented on July 26, 2024

@manavo
Good to know about those two points.

Yes, the debug response is from the iOS 12 device (when it had crashed).

from ios-sdk.

manavo avatar manavo commented on July 26, 2024

I've just tried to run it, but with adding support for dark mode it has set the minimum platform version to 13 now.

So on a 12.4 simulator I can't even run a demo app which includes Doorbell's SDK.

from ios-sdk.

MarkBorazio avatar MarkBorazio commented on July 26, 2024

From what I can see, the only reason iOS 13 is a minimum requirement is because we are using colours only available on iOS 13 and above.
It should be pretty easy to fix that up so it uses the old colours when below iOS 13.

If you want, I can create a PR for that and check if it fixes this crashing issue (I should then not have to specify iOS 13 in my podfile).

from ios-sdk.

manavo avatar manavo commented on July 26, 2024

If you're able to replace the colors with other ones, and still keep working with dark mode, I'd definitely be happy to merge that!

from ios-sdk.

MarkBorazio avatar MarkBorazio commented on July 26, 2024

@manavo
I can confirm that lowering the minimum iOS version fixes the crash.
Here is the PR: #16.

from ios-sdk.

manavo avatar manavo commented on July 26, 2024

Thanks @MarkBorazio! I'll get it tested and merged next week!

from ios-sdk.

manavo avatar manavo commented on July 26, 2024

Thanks again for the PR @MarkBorazio! Needed 1 or 2 little adjustments (another change which is only supported from iOS 10 and above), but that's all done now!

from ios-sdk.

manavo avatar manavo commented on July 26, 2024

Version 0.4.0 has been tagged and released in Cocoapods!

from ios-sdk.

Related Issues (12)

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.