cancel
Showing results for 
Search instead for 
Did you mean: 

Handling error for Online Store in SMP SDK 3.1 for iOS

0 Kudos

Hi Team,

May i know how to handle errors for updateEntity for Online Store in SMP SDK 3.1 iOS.

As i see, UpDateEntity does not have a completion handler maintanied.

Thanks in Advance.

Accepted Solutions (0)

Answers (5)

Answers (5)

0 Kudos

Hi Akos,

I have used SODataV4_DataService, but i need to handle Error in iOS, which the updateEntity function has no completion handler to fetch error, Instead it is crashing for every error response.

Even i tried with exception handler like try catch but the updateEntity function does not support it as well.

Request to guide on this.

Thanks,

grabz
Employee
Employee
0 Kudos

OnlineStore is deprecated in SMP SDK 3.1 Native SDK, now we use proxy classes or dynamic API which can be used through the SODataV4_DataService class for iOS. (See for: Android)

See as well the Help.

0 Kudos

Hi Stan,

It is the SMP SDK

0 Kudos

Hi Stan,

it is the SMP SDK

former_member190800
Contributor
0 Kudos

Is this the on premise SMP SDK? or the SAP Cloud Platform (Swift) SDK?