[ 
https://issues.apache.org/jira/browse/CB-9382?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14631368#comment-14631368
 ] 

Sergey Grebnov commented on CB-9382:
------------------------------------

When I set KeepRunning setting to False and try to use Facebook plugin I see 
that Login button is broken (nothing happens on click, form submission is not 
happened). Same issue when I use cordova-plugin-ms-adal.

This is due to the following logic. When plugins above show Web Authentication 
dialog via activity OnPause event is raised and we block authentication webview.
{code}

    /**
     * Called when the system is about to start resuming a previous activity.
     */
    @Override
    protected void onPause() {
        super.onPause();
        LOG.d(TAG, "Paused the activity.");

        if (this.appView != null) {
            this.appView.handlePause(this.keepRunning);
        }
    }
{code}

> [Android] Fix KeepRunning setting when Plugin activity is showed
> ----------------------------------------------------------------
>
>                 Key: CB-9382
>                 URL: https://issues.apache.org/jira/browse/CB-9382
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>            Reporter: Sergey Grebnov
>            Assignee: Sergey Grebnov
>              Labels: android
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to