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*)soupNameSwift:
Example:
1func removeSoup(soupName: String) -> Void1store.removeSoup(soupName: soupName)