Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cookie pop up not scrollable #90

Open
gigimatto88 opened this issue Dec 17, 2020 · 0 comments
Open

Cookie pop up not scrollable #90

gigimatto88 opened this issue Dec 17, 2020 · 0 comments

Comments

@gigimatto88
Copy link

gigimatto88 commented Dec 17, 2020

Bug Information

On Android, after FB login button clicked, it opens FB pop up for cookies permission which is not scrollable: no way to scroll down and grant permission and no way to go ahead.

Version Number of Plugin: 2.2.1
Device Tested On: XIOMI REDMI 3S
Version of VS: 16.5.4
Version of Xamarin: 4.8.0

Steps to reproduce the Behavior

EU citizens.
All Android configurations setted.
First login attempt to FB on the phone: no previous FB cookies permission accepted.
Clicking on FB login button will appear a FB pop up for cookies permission.

Expected Behavior

Cookies permission pop up shall be scrollable in way to grant permission.

Actual Behavior

Cookies permission pop up is not scrollable.

Code snippet

Code behind:

    IFacebookClient _facebookService = CrossFacebookClient.Current;

    private async void OnLoginWithFacebook(object sender, EventArgs e)
    {
        await LoginFacebookAsync();
    }

    async Task LoginFacebookAsync()
    {
        try
        {

            if (_facebookService.IsLoggedIn)
            {
                _facebookService.Logout();
            }

            string[] fbRequestFields = { "email", "first_name", "last_name" };
            string[] fbPermisions = { "email" };
            await _facebookService.RequestUserDataAsync(fbRequestFields, fbPermisions);
        }
        catch (Exception ex)
        {
            Debug.WriteLine(ex.ToString());
        }

XAML:

<ContentPage.Content>
    <ScrollView>
        <StackLayout Padding="20"
                         VerticalOptions="CenterAndExpand">

            <ImageButton Source="Facebook_login"
                        Clicked="OnLoginWithFacebook"
                        HeightRequest="50"
                        HorizontalOptions="CenterAndExpand"
                        VerticalOptions="FillAndExpand"/>

            </StackLayout>
    </ScrollView>
</ContentPage.Content>

Screenshotst

IMG_6102

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant