Remove a Soup

Removing a soup deletes it. When a user signs out, all soups are deleted automatically. For other occasions in which you want to delete a soup, call the applicable soup removal method.

Hybrid Apps 

In hybrid apps, call:

1navigator.smartstore.removeSoup(soupName,successCallback,errorCallback);

Android Apps 

In Android apps, call:

1public void dropSoup ( String soupName )

iOS Apps 

Objective-C:

1- (void)removeSoup:(NSString*)soupName

Swift:

1func removeSoup(soupName: String) -> Void

Example:

1store.removeSoup(soupName: soupName)

We've Moved

Welcome to the new home of the Mobile SDK Developer Guide! For now, the Japanese guide can be found in PDF form.