Giter Site home page Giter Site logo

Comments (7)

wendux avatar wendux commented on August 26, 2024 1

@xjh093 改一下,提个pr呗😄

--From gitme Android

from dsbridge-ios.

hz0324 avatar hz0324 commented on August 26, 2024

@wendux
貌似没人提交案例啊,我们正准备用,有点怕怕的啊。
请问现在啥情况啦?

from dsbridge-ios.

xjh093 avatar xjh093 commented on August 26, 2024

昨天(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.

xjh093 avatar xjh093 commented on August 26, 2024

转换前没有做判断:isValidJSONObject:

from dsbridge-ios.

xjh093 avatar xjh093 commented on August 26, 2024

趣Bar [过审] [2018-06-14]

手机可扫码下载:
趣Bar

PC可访问:
https://itunes.apple.com/cn/app/id1395026819

from dsbridge-ios.

Tanyd31 avatar Tanyd31 commented on August 26, 2024

JSBUtil objToJsonString 这个方法确实需要判断一下再执行,debug模式下就直接挂了,release的话还会catch下保证不会挂。

from dsbridge-ios.

wendux avatar wendux commented on August 26, 2024

@Tanyd31 已更新

from dsbridge-ios.

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.