Search Issue Tracker

Fixed in 2019.2

Fixed in 2019.1

Votes

0

Found in

2017.4.17f1

Issue ID

1115533

Regression

No

[iOS] iOS app settings plist default value is not shown using PlayerPrefs.GetString after installing app

iOS

-

To reproduce:
1. Open users attached project "iOSSettingsTest.zip"
2. Build for iOS
3. Deploy the Xcode project to an iOS device
4. Observe in the Xcode console "iOS Settings String: ", it should be "iOS Settings String: Hello World"
5. Stop the app on the device
6. On device: navigate to settings app
7. Scroll down to locate the built app
8. In the built app's settings change "String Test Hello World" to anything else
9. Run the build through Xcode again
10. Observe in the Xcode console "iOS Settings String: *anything that has been changed*"

Expected result: the string value is shown the first time the app is installed
Actual result: the string value has to be manually edited to be shown

Reproduced on:
2017.4.0f1 2017.4.19f1 2018.3.3f1 2019.1.0a15 2019.2.0a2

Device reproduced on:
iPhone 8 Plus iOS 11.0
iPhone 7 Plus iOS 12.1.3

Notes:
After editing the string value, the string value is always shown. To reproduce the issue, the app has to be reinstalled.

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.