Comments (5)
@Quanhua-Guan 3q,非常感谢,当时是考虑到同步队列可能导致死锁的问题,就移出来了。后续我们会有相关的优化,已经在开发测试中了。如果动态属性没有设置如下类似的代码,可以改回来 1.10.17 的版本。我们也会尽快修改 发布新的版本
[[SensorsAnalyticsSDK sharedInstance] registerDynamicSuperProperties:^NSDictionary * _Nonnull{
__block UIApplicationState appState;
if (NSThread.isMainThread) {
appState = UIApplication.sharedApplication.applicationState;
}else {
dispatch_sync(dispatch_get_main_queue(), ^{
appState = UIApplication.sharedApplication.applicationState;
});
}
return @{@"__APPState__":@(appState)};
}];
from sa-sdk-ios.
尴尬, 原来是对的:-( (正确版本 1.10.17) @zouyuhan @zswang @dawn110110 @huadupi @王灼洲
from sa-sdk-ios.
解决BUG的PR #27
from sa-sdk-ios.
谢谢回复.
比较感兴趣之前代码(即1.10.17版本)什么情况下会产生死锁? @Zuoweixiang
from sa-sdk-ios.
@Quanhua-Guan SDK 中有部分同步队列的代码,这种情况下会有问题。
dispatch_sync(self.serialQueue, ^{
});
from sa-sdk-ios.
Related Issues (20)
- Crash -[UIApplication(mob) _mob_sendAction:to:from:forEvent:] NSInvalidArgumentException - -[<NSTextContentStorage: <address>> locationFromLocation:withOffset:] received invalid location (null) HOT 1
- flushBulkSize判断逻辑错误 HOT 2
- [UIApplication(AutoTrack) sa_sendAction:to:from:forEvent:] NSInvalidArgumentException - *** -[NSTaggedPointerString stringByReplacingCharactersInRange:withString:]: nil argument HOT 2
- bugly崩溃错误 HOT 3
- 关于压缩json字符串gzipData方法执行deflateInit2报错
- CTCarrier 16.4 过期有替代方案嘛 HOT 1
- iOS双卡设备使用流量时,获取网络类型可能不准确 HOT 2
- Bugly上报了一个崩溃,提示与Sensor有关,求助! HOT 1
- iOS16+崩溃 HOT 1
- 使用OC的动态特性做的全埋点,swif是如何支持的 HOT 1
- UITextView 富文本Link 点击事件 HOT 1
- RN0.72.6与iOS混合编程,RN的无痕埋点无法抓取到 HOT 1
- Xcode15+iOS17 设置wkwebView的user-agent失效 HOT 1
- 4.7.0版本打包报错 HOT 1
- 无法使用APP点击分析 HOT 1
- Collecitonview : - (void)collectionView:(UICollectionView *)collectionView willDisplayCell:(UICollectionViewCell *)cell forItemAtIndexPath:(NSIndexPath *)indexPath HOT 1
- Collecitonview : collectionView: willDisplayCell:forItemAtIndexPath: 问题 如果是NSProxy 没有办法转发出去 HOT 1
- 添加隐私清单; HOT 2
- 可能支持 visionOS 平台吗 HOT 1
- 支持SPM
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 sa-sdk-ios.