Comments (7)
@xjh093 改一下,提个pr呗😄
from dsbridge-ios.
@wendux
貌似没人提交案例啊,我们正准备用,有点怕怕的啊。
请问现在啥情况啦?
from dsbridge-ios.
昨天(2018-6-7)提交的,今天(2018-6-8)早上被拒。
通过Bugly看到了崩溃日志。
被拒:
Guideline 2.1 - Performance - App Completeness
Your app crashed on iPad running iOS 11.4 connected to an IPv6 network when we tried to log in.
日志:
NSInvalidArgumentException
Invalid type in JSON write (HNHomeVC)
出错堆栈
0 CoreFoundation ___exceptionPreprocess + 228
1 libobjc.A.dylib objc_exception_throw + 56
2 CoreFoundation -[NSException initWithCoder:]
3 Foundation __writeJSONValue + 776
4 Foundation ____writeJSONObject_block_invoke + 192
5 CoreFoundation -[__NSDictionaryM enumerateKeysAndObjectsWithOptions:usingBlock:] + 232
6 Foundation __writeJSONObject + 388
7 Foundation -[_NSJSONWriter dataWithRootObject:options:error:] + 140
8 Foundation +[NSJSONSerialization dataWithJSONObject:options:error:] + 356
9 QuBar +[JSBUtil objToJsonString:] (JSBUtil.m:0)
10 QuBar -[DWKWebView call::] (DWKWebView.m:322)
11 QuBar -[DWKWebView webView:runJavaScriptTextInputPanelWithPrompt:defaultText:initiatedByFrame:completionHandler:] (DWKWebView.m:0)
12 WebKit 0x0000000194d36000 + 1423092
13 WebKit 0x0000000194d36000 + 2418236
14 WebKit 0x0000000194d36000 + 2566916
15 WebKit 0x0000000194d36000 + 575060
16 WebKit 0x0000000194d36000 + 2927336
17 WebKit 0x0000000194d36000 + 336060
18 WebKit 0x0000000194d36000 + 325844
19 WebKit 0x0000000194d36000 + 336628
在此处挂了
[JSBUtil objToJsonString:]
from dsbridge-ios.
转换前没有做判断:isValidJSONObject:
from dsbridge-ios.
趣Bar [过审] [2018-06-14]
PC可访问:
https://itunes.apple.com/cn/app/id1395026819
from dsbridge-ios.
JSBUtil objToJsonString 这个方法确实需要判断一下再执行,debug模式下就直接挂了,release的话还会catch下保证不会挂。
from dsbridge-ios.
@Tanyd31 已更新
from dsbridge-ios.
Related Issues (20)
- 发现使用的时候,有些地址打不开。不知道为什么?
- 支持 MacCatalyst 吗
- 原生异步函数如何支持重载?
- 获取网络数据后给前端传值不显示
- 崩溃ret=action(JavascriptInterfaceObject,sel,arg); HOT 2
- 使用dsBridge.call("name", "msg") msg 内容超过一定长度会被截断问题
- 使用 UIWindowSceneDelegate 的情况下,会导致奔溃(crash)
- addJavascriptObject方法添加的函数异步执行问题。 HOT 1
- 我已经重新设计了新的交互库,10分钟就能完成接入,也许可以帮助你. HOT 1
- I have redesigned new libraries, It only takes ten minutes to complete . Maybe can help you.
- 通过dsbridge.call调用,iOS端接收到的信息不正确
- 请问 dsuiDelegate 与 requestMediaCapturePermissionFor 代理实现 HOT 2
- oc 调用 js 只能传数组么?
- [ios]When webview video on full screen, js call native dsbridge will exit the fullscreen
- 新版xcode namespace命名与系统关键字冲突了
- 求助 swift js 调原生,异步有传参和回调,点击报错[__NSCFString count] HOT 1
- completionHandler
- 高频调用时会丢包 HOT 1
- 加载网页资源loadrequest,添加javascript无法响应 HOT 5
- 你好,希望添加对 Swift packages 的支持
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 dsbridge-ios.