capacitor-native-purchases 0.3.0 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -23,7 +23,6 @@ import com.getcapacitor.PluginCall;
23
23
 
24
24
  import android.content.Context;
25
25
 
26
- import androidx.annotation.NonNull;
27
26
  import androidx.appcompat.app.AlertDialog;
28
27
 
29
28
  import java.io.BufferedReader;
@@ -243,7 +242,7 @@ public class Purchases {
243
242
 
244
243
  billingClient.startConnection(new BillingClientStateListener() {
245
244
  @Override
246
- public void onBillingSetupFinished(@NonNull BillingResult billingResult) {
245
+ public void onBillingSetupFinished(BillingResult billingResult) {
247
246
  if (billingResult.getResponseCode() == BillingClient.BillingResponseCode.OK) {
248
247
  billingClientIsConnected = 1;
249
248
  reconnectAttempts = 0; // Reset on successful connection
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "capacitor-native-purchases",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "description": "IAP Purchases integration for iOS and Android",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",