Skip to content

Commit

Permalink
Merge pull request #1013 from tonwhales/release/v2.3.12
Browse files Browse the repository at this point in the history
Release/v2.3.12
  • Loading branch information
vzhovnitsky authored Aug 20, 2024
2 parents 6b858d8 + c4b7814 commit c26cdb6
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 5 deletions.
2 changes: 1 addition & 1 deletion VERSION_CODE
Original file line number Diff line number Diff line change
@@ -1 +1 @@
205
206
11 changes: 10 additions & 1 deletion ios/RNAppleProvisioning.swift
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,16 @@ class RNAppleProvisioning: NSObject, RCTBridgeModule, PKAddPaymentPassViewContro

@objc
func canAddCards(_ resolve: @escaping RCTPromiseResolveBlock, reject: @escaping RCTPromiseRejectBlock) {
if !PKAddPassesViewController.canAddPasses() || !PKAddPaymentPassViewController.canAddPaymentPass() {
// check if we are on iPad
let isIPAD = UIDevice.current.model.hasPrefix("iPad")
let canAddPaymentPass = PKAddPaymentPassViewController.canAddPaymentPass()

if isIPAD {
resolve(canAddPaymentPass)
return
}

if !PKAddPassesViewController.canAddPasses() || !canAddPaymentPass {
resolve(false)
} else {
resolve(true)
Expand Down
4 changes: 2 additions & 2 deletions ios/wallet/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<key>CFBundlePackageType</key>
<string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string>
<key>CFBundleShortVersionString</key>
<string>2.3.11</string>
<string>2.3.12</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleURLTypes</key>
Expand All @@ -41,7 +41,7 @@
</dict>
</array>
<key>CFBundleVersion</key>
<string>205</string>
<string>206</string>
<key>ITSAppUsesNonExemptEncryption</key>
<false/>
<key>LSApplicationQueriesSchemes</key>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "wallet",
"version": "2.3.11",
"version": "2.3.12",
"scripts": {
"start": "expo start --dev-client",
"android": "expo run:android",
Expand Down

0 comments on commit c26cdb6

Please sign in to comment.