Comments (8)
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.
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.
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.
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.
Do we have any update regarding this issue ?
from swift-sdk.
We will try to get this resolved soon. Thanks!
from swift-sdk.
We would release a new version within a couple of weeks at most.
from swift-sdk.
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)
- EXC_BAD_ACCESS KERN_INVALID_ADDRESS Crash when syncing message dictionary in InAppManager
- handle(universalLink) does not behave as described. HOT 2
- If initial JWT token request fails, SDK doesn't ever request a new one HOT 2
- In-app messages black background does not expand to full height of phone screen HOT 1
- 6.4.12 contains semver-breaking API change HOT 2
- Type 'ReactIterableAPI' does not conform to protocol 'IterableAuthDelegate' HOT 1
- If the in-app message's position not being set to "full", the in-app will auto disappear with animation and app freezes on some devices HOT 2
- SPM Integration HOT 1
- Crash in RequestHandler.swift with InternalIterableAPI Initialization HOT 11
- InAppDisplayer: We need a way to set the `topViewController`
- [Bug]: crash on NWPathMonitor HOT 1
- After updating Iterable to 6.4.17 Circle CI pipeline is failing - ❌ error: Build input file cannot be found: '/Users/distiller/project/Pods/Iterable-iOS-SDK/swift-sdk/Internal/DependencyContainerProtocol.swift'. Did you forget to declare this file as an output of a script phase or custom build rule which produces it? (in target 'Iterable-iOS-SDK' from project 'Pods')
- Add Privacy Manifest HOT 6
- Image as Attachment in Push Notification payload doesn't get displayed
- Rename the package sdk something different than `swift-sdk` HOT 4
- Add OnSuccessHandler and OnFailureHandler to logoutUser() function HOT 1
- Swift access race in IterableSDK.Pending.onSuccess
- Making a `getMessages` once per day
- Thread Performance Checker failure
- Xcode 16 beta 2 throws error stating Type 'WKWebView' does not conform to protocol 'WebViewProtocol' HOT 9
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 swift-sdk.