Adds support for setting cookies for android and iOS.