Could not signal service com.apple.WebKit.WebContent

后端 未结 4 1618
星月不相逢
星月不相逢 2021-01-03 19:40

I use the Shopify Mobile Buy SDK for iOS and I can\'t get a callback from their payment web view. For some reason the warnings:

2016-11-25 21:17:25.945267 Dr         


        
相关标签:
4条回答
  • 2021-01-03 19:58

    if this issue occurs on a sim for anybody, I think it's an issue with JSON parsing in the cache of the xcode simulators. Solved by "In the simulator, choose iOS Simulator > Reset Content and Settings". A more complete solution can be found here https://gist.github.com/riosc/4539602

    0 讨论(0)
  • 2021-01-03 20:05

    I had the similar issues, which only appear on iOS 10.2, that is so bad. The html cannot receive the value I passed use cookie

    0 讨论(0)
  • 2021-01-03 20:07

    Set value @"false" for cookie property @"HttpOnly", just like this :

     NSHTTPCookie *cookieWID = [NSHTTPCookie cookieWithProperties:[NSDictionary dictionaryWithObjectsAndKeys:
                                 @"wid" ,NSHTTPCookieName, 
                                 WID,NSHTTPCookieValue,
                                 @"www.google.com",NSHTTPCookieDomain,
                                 @"",NSHTTPCookiePath,
                                 @"false",@"HttpOnly",
                                 nil]];
    
    0 讨论(0)
  • 2021-01-03 20:09

    You may need to allow for App Transport Security to access the resource. Try modifying your app's Info.plist as described here.

    0 讨论(0)
提交回复
热议问题