Comments (9)
Hi @MarkBorazio, sorry for the trouble here!
Just to get the easy ones answered first:
- 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.
- The
Invalid invocation, missing JSONP callback
issue is that opening the endpoint in the browser makes aGET
request to that endpoint, whereas the iOS SDK makes aPOST
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.
@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.
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.
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.
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.
@manavo
I can confirm that lowering the minimum iOS version fixes the crash.
Here is the PR: #16.
from ios-sdk.
Thanks @MarkBorazio! I'll get it tested and merged next week!
from ios-sdk.
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.
Version 0.4.0 has been tagged and released in Cocoapods!
from ios-sdk.
Related Issues (12)
- How to alert when message has been sent? HOT 7
- Message when there is no Internet Connection is too long HOT 5
- No support for dark mode in default dialog HOT 2
- Custom form email validation doesn't return an error HOT 2
- Sending tags from sdk HOT 1
- SwiftUI integration HOT 5
- XCode warnings regarding Umbrealla headers HOT 9
- Deprecated API HOT 5
- Swift support HOT 13
- Crash if completion block is nil HOT 3
- Turn on TravisCi HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ios-sdk.