# Android Webview Discourse Invite Link

**URL:** https://meta.discourse.org/t/android-webview-discourse-invite-link/92959
**Category:** Development
**Created:** [July 23, 2018, 8:27pm UTC](https://meta.discourse.org/t/android-webview-discourse-invite-link/92959 "2018-07-23T20:27:08Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Dai\_Dao](https://avatars.discourse-cdn.com/v4/letter/d/eb8c5e/32.png) [@Dai\_Dao](https://meta.discourse.org/u/Dai_Dao)
#### Post date: [July 23, 2018, 8:27pm UTC](https://meta.discourse.org/t/android-webview-discourse-invite-link/92959/1 "2018-07-23T20:27:08Z")

</div>

Hi,

I generate an invite link using the Discourse API given the user’s email. When I get the link I try to load it with the WebView but it just appears blank. This is strange I’m not sure why the invite link wouldn’t load but any other websites would.

Here’s the code:

```plaintext
webview.loadUrl(link)
webview.settings.javaScriptEnabled = true
webview.webViewClient = WebViewClient()
webview.webChromeClient = WebChromeClient()

```

Thanks for any assistance. Cheers!
