Updated android plugin to match same functionality as ios