0

I have came across the following issue and I am not sure how to get around it: I am passing html content to an iOS app via the xcrun simctl openurl command. Command looks like the following: xcrun simctl openurl <Simulator Id> 'MyAppName://content=<Large base64 encoded html string>'

When I parse the string in the app it has already being truncated, it seems to be happening when xcrun passes the 'MyAppName://content=<Large base64 encoded html string> to the App.

Is there a configuration that I can update to allow larger strings to be passed as part of the openurl command in simctl?

morrrowgi
  • 171
  • 3
  • 10

1 Answers1

0

In general no.

This is probably related with max URL length. I suggest you instead of sending data via URL try to create separate file in local file system and send in the URL path to this file. In Simulator you will have access to this file (but not tested by myself).

Skie
  • 1,942
  • 16
  • 27