Closed allen1996 closed 4 years ago
Implementation of WebviewActivity
at com.stormpath.sdk.android
super.onCreate(savedInstanceState);
//setContentView(R.layout.stormpath_activity_webview);
String url = getIntent().getStringExtra(EXTRA_URL);
Context context = this;
WebView webView = new WebView(context);//(WebView)findViewById(R.id.webview);
webView.setWebViewClient(new WebViewClient());
it seems removing those two comments above could solve the issue for me
super.onCreate(savedInstanceState);
setContentView(R.layout.stormpath_activity_webview);
String url = getIntent().getStringExtra(EXTRA_URL);
WebView webView = (WebView)findViewById(R.id.webview);
webView.setWebViewClient(new WebViewClient());