Commit Graph

4 Commits

Author SHA1 Message Date
axel riffard
bb7b1a2f09 Save Game User Settings in the cloud for iOS / tvOS
#jira UE-138714
#rb jack.porter
#preflight 62830d83f9510a3ac6edfc86

[CL 20237910 by axel riffard in ue5-main branch]
2022-05-16 22:57:37 -04:00
David Harvey
e741cd5dae New save game functions to enumerate save games & deterime if the save interface supports multiple users.
- async enumeration function will be added in a subsequent change.

#rb Nick.Darnell, Brian.White, Jeff.Newquist, Jack.Porter, Nuno.Leiria
#jira UE-143574
#preflight 627929e2822bdc69f00e4a5d

[CL 20119856 by David Harvey in ue5-main branch]
2022-05-10 04:14:32 -04:00
ryan durand
0f0464a30e Updating copyright for Engine Runtime.
#rnx
#rb none


#ROBOMERGE-OWNER: ryan.durand
#ROBOMERGE-AUTHOR: ryan.durand
#ROBOMERGE-SOURCE: CL 10869210 via CL 10869511 via CL 10869900
#ROBOMERGE-BOT: (v613-10869866)

[CL 10870549 by ryan durand in Main branch]
2019-12-26 14:45:42 -05:00
Sorin Gradinaru
e8a409bd95 SaveGame using iCloud for iOS and tvOS
UE-52763 tvOS/iOS: Allow save games to save to iCloud
UE-52346 TM-Gameplay: Load Level Volume Fails to Read TestSlot.sav file
UE-64066 TM-Gameplay Load Game does not work on TVOS

#jira UE-52763
#jira UE-52346
#jira UE-64066
#iOS
#4.22
#rb Jack.Porter

Adapted the Online iCloud plugin to work without enabling the Game Center plugin (using empty UniqueNetId as a parameter for FOnlineUserCloudInterfaceIOS methods and callbacks)

At plugin init, the data from the iCloud will overwrite the local storage.

Replaced saveRecord with CKModifyRecordsOperation to avoid errors on existing iCloud records - using savePolicy = CKRecordSaveAllKeys to overwrite the previously uploaded save file

Entitlements:
Fixed the problem with writing the iCloud lines in UE4Game.entitlements : The flag from DefaultEngine.ini was overwritten by IOSEngine.ini (same section & key). Same issue with the Game Center flag

Signing:
It looks like there is a problem (since Xcode 6/iOS8, when Apple has changed the format for the iCloud entitlements, in order to support CloudKit) with the Entitlements section from the provisioning file (downloaded from Apple Developper) <key>com.apple.developer.icloud-services</key> contains "*" instead of the  CloudKit and CloudDocuments entries. Fixed it, otherwise the app won't appear in the iPhone's Settings->iCloud apps menu

[CL 4760235 by Sorin Gradinaru in Dev-Mobile branch]
2019-01-21 03:57:26 -05:00