Skip to content

Commit

Permalink
Merge pull request #143 from bitcoinppl/128-add-ability-to-create-upd…
Browse files Browse the repository at this point in the history
…ate-and-remove-pin

Add ability to create update and remove pin
  • Loading branch information
praveenperera authored Dec 12, 2024
2 parents 419cd28 + 52abc59 commit 84dd6c7
Show file tree
Hide file tree
Showing 20 changed files with 1,667 additions and 65 deletions.
11 changes: 11 additions & 0 deletions ios/Cove/AppManager.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import SwiftUI

var colorSchemeSelection = Database().globalConfig().colorScheme()
var selectedNode = Database().globalConfig().selectedNode()
var authType = Database().globalConfig().authType()

var nfcReader = NFCReader()

Expand Down Expand Up @@ -73,6 +74,10 @@ import SwiftUI
walletManager = vm
}

var isAuthEnabled: Bool {
authType != AuthType.none
}

var currentRoute: Route {
router.routes.last ?? router.default
}
Expand Down Expand Up @@ -148,6 +153,12 @@ import SwiftUI

case let .feesChanged(fees):
self.fees = fees

case let .authTypeChanged(authType):
self.authType = authType

case .hashedPinCodeChanged:
()
}
}
}
Expand Down
7 changes: 7 additions & 0 deletions ios/Cove/Cove.entitlements
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,16 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>com.apple.security.app-sandbox</key>
<true/>

<key>com.apple.security.files.user-selected.read-only</key>
<true/>

<key>com.apple.developer.nfc.readersession.formats</key>
<array>
<string>TAG</string>
</array>

</dict>
</plist>
Loading

0 comments on commit 84dd6c7

Please sign in to comment.