Code Monkey home page Code Monkey logo

Comments (8)

tapashmajumder avatar tapashmajumder commented on July 20, 2024

Will it be possible for you to get symbolicated crash reports? It is hard to understand the stack trace here. Also, more importantly can you please report which iOS version is causing this crash.

We have the following code using systemBackgroundColor. This should not cause any crash since we are doing an OS version check.

            if #available(iOS 13, *) {
                view.backgroundColor = UIColor.systemBackground
            } else {
                view.backgroundColor = UIColor.white
            }

from swift-sdk.

lionserdar avatar lionserdar commented on July 20, 2024

We see the crashes in 13.x.x and above, here's the full list.

50% iOS 13.6.8
25% iOS 13.6.7
24% iOS 13.5.1
1% iOS 13.3.1
1% iOS 13.2.1
1% iOS 13.0.1
1% iOS 13.3.0
1% iOS 13.1.1

I don't have anything more than what I have posted above. The code that you shared makes sense, if that's the case we should not see any crashes regarding [UIColor systemBackgroundColor].

from swift-sdk.

tapashmajumder avatar tapashmajumder commented on July 20, 2024

Are you seeing this crash in iOS 14.x devices? I think this problem is occurring due to some iOS bug. This can probably be fixed by changing the code to the following. If we make this change will you be able to test it and confirm if the fix worked?

            if #available(iOS 14, *) {
                view.backgroundColor = UIColor.systemBackground
            } else {
                view.backgroundColor = UIColor.white
            }

from swift-sdk.

lionserdar avatar lionserdar commented on July 20, 2024

So far we are only seeing the crash in iOS 13.x devices ( based on data from Firebase - Crashliytics). If you can make the change we can update the Iterable SDK and include in the next version.

Since we can not reproduce the issue locally we won't be able to verify the fix immediately however once we release the next version of our application I can check the crash and leave a message here

Appreciate the fast response.

from swift-sdk.

lionserdar avatar lionserdar commented on July 20, 2024

Do we have any update regarding this issue ?

from swift-sdk.

tapash-majumder avatar tapash-majumder commented on July 20, 2024

We will try to get this resolved soon. Thanks!

from swift-sdk.

tapash-majumder avatar tapash-majumder commented on July 20, 2024

We would release a new version within a couple of weeks at most.

from swift-sdk.

roninopf avatar roninopf commented on July 20, 2024

Hi @lionserdar, the release version 6.2.13 has the fix for this crash; please feel free to open a new request/issue if you have any further concerns, thanks!

from swift-sdk.

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.