Welcome! › Forums › Unity Plugins › In-App Web Browser › RBSAssertionAttribute
Tagged: IOS, RBSAssertionAttribute, WKWebView
- This topic has 4 replies, 2 voices, and was last updated 4 years, 5 months ago by
3dprasad.
-
AuthorPosts
-
August 28, 2020 at 12:28 pm #2204
3dprasad
ParticipantHello,
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 errors2020-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.
August 28, 2020 at 12:33 pm #2206Piotr
KeymasterHi, could you give me some sample URL so I can test it out?
Your guess about WKWebView is probably right.August 29, 2020 at 12:38 pm #2215Piotr
KeymasterHi, 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?
August 31, 2020 at 4:58 am #22243dprasad
ParticipantOn my iPad, the URL is working fine on Safari, and I can see the log for sending message back to Unity using the bridge.
September 2, 2020 at 7:02 am #22283dprasad
ParticipantJust 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.
-
AuthorPosts
- You must be logged in to reply to this topic.