Skip to content

Could not load Paypal Form on Android #6

Open
@Gourishmesta

Description

@Gourishmesta

public void OnResponse(Java.Lang.Object parameter) { if (parameter is Java.Lang.Boolean) { var res = parameter.JavaCast<Java.Lang.Boolean>(); isReady = res.BooleanValue(); initializeTcs?.TrySetResult(res.BooleanValue()); } }

In the above code the isReady always comes as false on Android and on ios it works well and shows up PayPal form.

Is there anything m missing.

I followed this integration steps http://www.xamboy.com/2020/02/28/braintree-integration-in-xamarin-forms-part-3/
tried cloning this project but on android project is not deploying on device instead throws error. After updating the Android X lifecycle NuGet annd app started working but the above code still returns false

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions