@expensify/react-native-wallet 0.1.29 → 0.1.30

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.
@@ -24,7 +24,13 @@ def isNewArchitectureEnabled() {
24
24
  }
25
25
 
26
26
  apply plugin: "com.android.library"
27
- apply plugin: "kotlin-android"
27
+ // AGP 9 ships built-in Kotlin support and registers the `kotlin` extension
28
+ // itself. Applying the Kotlin plugin on top of it fails configuration with
29
+ // "Cannot add extension with name 'kotlin'". Only apply it when nothing has
30
+ // registered that extension yet.
31
+ if (project.extensions.findByName('kotlin') == null) {
32
+ apply plugin: "kotlin-android"
33
+ }
28
34
 
29
35
  if (isNewArchitectureEnabled()) {
30
36
  apply plugin: "com.facebook.react"
@@ -274,6 +274,7 @@ extension WalletManager: PKAddPaymentPassViewControllerDelegate {
274
274
  }
275
275
  }
276
276
 
277
+ addPassHandler = nil
277
278
  hideModal()
278
279
  addPaymentPassCompletionHandler = nil
279
280
  presentAddPaymentPassCompletionHandler = nil
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@expensify/react-native-wallet",
3
- "version": "0.1.29",
3
+ "version": "0.1.30",
4
4
  "description": "A React Native module designed for seamless integration of Card Push Provisioning into Apple Wallet and Google Wallet, enabling easy and secure addition of payment cards directly from your application.",
5
5
  "source": "./src/index.tsx",
6
6
  "main": "lib/commonjs/index",