diff --git a/src/Plugin.InAppBilling.Android/InAppBillingImplementation.cs b/src/Plugin.InAppBilling.Android/InAppBillingImplementation.cs index 3e5bb37..b3c956e 100644 --- a/src/Plugin.InAppBilling.Android/InAppBillingImplementation.cs +++ b/src/Plugin.InAppBilling.Android/InAppBillingImplementation.cs @@ -648,7 +648,10 @@ public void OnServiceConnected(ComponentName name, IBinder service) Service = IInAppBillingServiceStub.AsInterface(service); if (Service == null || Context == null) + { tcsConnect?.TrySetResult(false); + return; + } var pkgName = Context.PackageName;