I have a web application that includes a Google calendar embedded in it. Now I want to download this web application in WebView in WebView in my Android application. To show the calendar, the user must click the button that opens the Google Auth pop-up window to authorize access for me to pull people into Google Calendar. This works fine on desktop computers, iOS (browser and WebView) and Android (browser, but not WebView), but the Google / Auth login screen will not display in Android WebView.
My activity (on Android):
public class WebView extends AppCompatActivity { android.webkit.WebView myWebView; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_web_view); myWebView = (android.webkit.WebView) findViewById(R.id.webview); WebSettings webSettings = myWebView.getSettings();
Attempts to solve:
Does anyone understand why the Google Auth screen does not appear in my Android WebView?
Really stuck and stuck on this, so thanks in advance :)
source share