Set Local storage html5 cookies for Appium

Currently, Our android SDK opens in a web browser. Where I have to set local storage in order to test a few features. Can you please advice how can we set local storage values before launching a web app which I am using appium driver to launch the application and run the script.