Comments (8)
We are not seeing this. Can you please provide more details? Which version of SDK are you using? Did the same version of SDK work with iOS 13?
We have seen this error happen when IterableAPI .initialize
is called multiple times.
from swift-sdk.
I've noticed it wasn't happening on 6.1.0 but it is on 6.2.10.
After more attempts I've seen that it still happens on iOS 13 as well as 14
from swift-sdk.
Please have your customer service rep create a ticket with us. Please include all relevant details in the ticket including:
- When the crash is happening
- Is there an easy way to repro this issue on our end? Since we do not have access to your codebase.
- Are you using Obj-C or Swift? Or are you using React Native SDK.
- How are you initializing our SDK? That is,
IterableAPI.initialize
code..
from swift-sdk.
Please see note above
from swift-sdk.
I had this same issue, and found that use SDK version 6.2.12-beta1 fixed it. Hope it gets fully released soon! Strike that- it worked fine after the first time I installed 6.2.12-beta1, but crashed every time I tried it afterwards. Please fix!
from swift-sdk.
Hi @CameronPorter95 @jpeckner we are taking this issue seriously. We would like to understand the problem. But we can't resolve this issue without more details from you. Please see my comment earlier regarding opening a support ticket. I am copying this here again for quick reference.
- We have seen this issue when
IterableAPI.initialize
is called multiple times. It is supposed to be initialized only once - Is there an easy way to repro this issue on our end? Since we do not have access to your codebase.
- Are you using Obj-C or Swift? Or are you using React Native SDK.
- How are you initializing our SDK? That is, IterableAPI.initialize code..
Please have your customer service rep open a support ticket and provide us more details.
Thanks!
from swift-sdk.
Aha, it looks like accidentally calling IterableAPI.initialize() more than once was the issue! Thanks for clearing that up.
Going forward, I’d highly suggest refactoring the SDK so it never intentionally crashes, including this particular fatalError(). I get that reaching that line means that the SDK is in an unusable state, but that doesn’t mean it should decide to take my whole app down with it. I’d much rather that the SDK reported an error back to my app, and then gracefully shut itself down. An assertionFailure() would also be fine, since that wouldn’t crash App Store builds.
Good blog post regarding this situation in another SDK: https://www.bugsnag.com/blog/sdks-should-not-crash-apps
from swift-sdk.
@jpeckner We have already made the fatalError fix you suggested. It will take some time before we release our next version with it.
from swift-sdk.
Related Issues (20)
- Mobile App Inbox: Unable to assign viewDelegate from Objective C HOT 4
- Unable to use Mobile App Customisation functions in Objective C
- Crash on NetworkConnectivityChecker.checkConnectivity HOT 1
- Issues with EXC_BAD_ACCESS KERN_INVALID_ADDRESS
- Xcode 14 HOT 1
- Mobile App inbox: Basic onClick message delegate is missing. HOT 1
- 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
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.