RBSAssertionAttribute

Welcome! Forums Unity Plugins In-App Web Browser RBSAssertionAttribute

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #2204
    3dprasad
    Participant

    Hello,

    I am using In-App Web Browser 2.0.2. for iOS.
    I am loading a URL which contains file input element which lets me select a file (pdf) from user’s device and upload it.
    This functionality is not working with current version, but it does with older one.
    As I try to upload the file, I get following errors

    2020-08-28 17:22:51.482464+0530 PitchVantage[2006:792045] [DocumentManager] Failed to associate thumbnails for picked URL file:///<lenghty file name>.pdf with the Inbox copy file:///<another lengthy filename>.pdf: Error Domain=QLThumbnailErrorDomain Code=102 “(null)” UserInfo={NSUnderlyingError=0x2820b4780 {Error Domain=GSLibraryErrorDomain Code=3 “Generation not found” UserInfo={NSDescription=Generation not found}}}

    2020-08-28 17:22:56.654236+0530 PitchVantage[2006:792045] [assertion] Error acquiring assertion: <NSError: 0x28239d800; domain: RBSAssertionErrorDomain; code: 2; reason: “Client is missing required entitlement”> {userInfo = {RBSAssertionAttribute = <RBSLegacyAttribute: 0x1010fbb90; requestedReason: FinishTaskUnbounded; reason: FinishTaskUnbounded; flags: PreventTaskSuspend>;}}

    2020-08-28 17:22:56.654390+0530 PitchVantage[2006:792045] [ProcessSuspension] 0x11fedc2d0 – ProcessAssertion() PID 2006 Unable to acquire assertion for process with PID 2051

    2020-08-28 17:22:56.655946+0530 PitchVantage[2006:753071] [ProcessSuspension] 0x11fedc2d0 – ProcessAssertion::processAssertionWasInvalidated()

    2020-08-28 17:22:56.658402+0530 PitchVantage[2006:792045] [assertion] Error acquiring assertion: <NSError: 0x28239d620; domain: RBSAssertionErrorDomain; code: 2; reason: “Client is missing required entitlement”> {userInfo = {RBSAssertionAttribute = <RBSLegacyAttribute: 0x1010fbb90; requestedReason: FinishTaskUnbounded; reason: FinishTaskUnbounded; flags: PreventTaskSuspend>;}}

    2020-08-28 17:22:56.658879+0530 PitchVantage[2006:792045] [ProcessSuspension] 0x11fedc2f8 – ProcessAssertion() PID 2006 Unable to acquire assertion for process with PID 2006

    2020-08-28 17:22:56.659514+0530 PitchVantage[2006:753071] [ProcessSuspension] 0x11fedc2f8 – ProcessAssertion::processAssertionWasInvalidated()

    It seems to be related to WKWebView but couldnt exactly figure out best way to make it work. Please guide me on this issue.

    #2206
    PiotrPiotr
    Keymaster

    Hi, could you give me some sample URL so I can test it out?
    Your guess about WKWebView is probably right.

    #2215
    PiotrPiotr
    Keymaster

    Hi, I tried it and getting the same error, although later on I just opened regular iOS safari and the effect is the same. Are you seeing it as well?

    #2224
    3dprasad
    Participant

    On my iPad, the URL is working fine on Safari, and I can see the log for sending message back to Unity using the bridge.

    #2228
    3dprasad
    Participant

    Just to conclude the issue, since it was an upgrade from 1.x to 2.x, I had to update the JS code (as per the document) for communication between plugin and unity.

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.