# iOS Launch URL function won't pass GET parameters

**URL:** <https://forums.unrealengine.com/t/ios-launch-url-function-wont-pass-get-parameters/375047>\
**Category:** Mobile\
**Tags:** launch, url, unreal-engine, iOS, question\
**Created:** [November 1, 2016, 12:45pm UTC](https://forums.unrealengine.com/t/ios-launch-url-function-wont-pass-get-parameters/375047 "2016-11-01T12:45:18Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_089a4978](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_089a4978](https://forums.unrealengine.com/u/anonymous_user_089a4978)\
**Post date:** [November 1, 2016, 12:45pm UTC](https://forums.unrealengine.com/t/ios-launch-url-function-wont-pass-get-parameters/375047/1 "2016-11-01T12:45:18Z")

</div>

**1-** Call “Launch URL” function in a blueprint.

**2-** Fill it’s string with with an intent with parameters. There are **Example URL** s below.

**3-** Package the game for Android or directly test it on WindowsEditor(if you didn’t select Whatsapp).

**4-** Call this function, for example from Begin Play of the level.

**Result:** When the function is executed, intent passes parameters successfully.

**5-** Package the game for iOS

**Expected:** When the function is executed, intent passes parameters successfully.

**Result:** Whatsapp text doesn’t pass at all. Mailto text passes in a wrong form.

* * *

**Example URL 1:** [https://www.abc.com/xyz.php?userid=1047](https://www.abc.com/xyz.php?userid=1047)

**Example URL 1 EXPECTED result is:** [https://www.abc.com/xyz.php?userid=1047](https://www.abc.com/xyz.php?userid=1047)

**Example URL 1 BAD result is:** [https://www.abc.com/xyz.php%3Fuserid=1047](https://www.abc.com/xyz.php%3Fuserid=1047)

* * *

**Example URL 2:** whatsapp://send?text=https%3A%2F%[2Fwww.abc.com](http://2Fwww.abc.com)%2Fdownload.php%3Fid%3D39%26nick%3DSalihPC

* * *

**Example URL 3:** [mailto:contact@abc.com](mailto:contact@abc.com)?subject=User%20Feedback%20%28ID%2039%29

.

**With all of these examples, question marks(?) turn into %3F. This causes the bug. This doesn’t occur in Windows or Android, but iOS.**

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_41845f4a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_41845f4a](https://forums.unrealengine.com/u/anonymous_user_41845f4a)\
**Post date:** [November 7, 2016, 4:52pm UTC](https://forums.unrealengine.com/t/ios-launch-url-function-wont-pass-get-parameters/375047/2 "2016-11-07T16:52:55Z")

</div>

Hello SalihBalkan,

I’ve tested this using an iPad Air in 4.13.2 using the first and third example URLs, since I don’t have Whatsapp, and I’ve not seen the issue you’re describing. As it may be specific to the settings you have or the device you’re using, could you provide your packaging logs and what device/version of iOS you’re using?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_089a4978](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_089a4978](https://forums.unrealengine.com/u/anonymous_user_089a4978)\
**Post date:** [November 7, 2016, 11:11pm UTC](https://forums.unrealengine.com/t/ios-launch-url-function-wont-pass-get-parameters/375047/3 "2016-11-07T23:11:06Z")

</div>

I am able to reproduce this with iOS 8. It is iPhone 4S but I expect the same result on other devices too. There is nothing in packaging logs about this issue, but I can provide if you still request it.

I prepared a test page for this.  
[https://www.skateandstrike.com/test/get.php?mytext=Hello%20World](https://www.skateandstrike.com/test/get.php?mytext=Hello%20World)

Could you please try with this link? In Android and Windows, it is going to the correct page:  
[https://www.skateandstrike.com/test/get.php?mytext=Hello%20World](https://www.skateandstrike.com/test/get.php?mytext=Hello%20World)

But if I use same function in iOS, it goes to this page:  
[https://www.skateandstrike.com/test/get.php%3Fmytext=Hello%20World](https://www.skateandstrike.com/test/get.php%3Fmytext=Hello%20World)

I think problem is in the iOS specific function that is defined here:

Engine\Source\Runtime\Core\Private\IOS\IOSPlatformProcess.cpp\FIOSPlatformProcess::LaunchURL

There is a percent encode computation here. I think problem is at that computation.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_41845f4a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_41845f4a](https://forums.unrealengine.com/u/anonymous_user_41845f4a)\
**Post date:** [November 8, 2016, 8:51pm UTC](https://forums.unrealengine.com/t/ios-launch-url-function-wont-pass-get-parameters/375047/4 "2016-11-08T20:51:13Z")

</div>

Thank you for that information ,

I ended up being able to get it to reproduce with the same device as before and your original links. It seems that even if the link isn’t legitimate, it still requires being connected to the internet for the issue to appear and the iPad I was testing on was not connected at the time. At least that allowed me to specify that on the bug report as well.

I’ve entered a bug report for the issue under the number [UE-38376](https://issues.unrealengine.com/issue/UE-38376).

Unfortunately I can’t think of any workarounds at the moment.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_41845f4a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_41845f4a](https://forums.unrealengine.com/u/anonymous_user_41845f4a)\
**Post date:** [November 9, 2016, 3:20pm UTC](https://forums.unrealengine.com/t/ios-launch-url-function-wont-pass-get-parameters/375047/5 "2016-11-09T15:20:48Z")

</div>

It seems that this was caught previously and was fixed in 4.14. I tested this same issue on 4.14 Preview 2 and it no longer occurs.
