Skip to content

Commit

Permalink
Fix app crashing on camera user verification via Notabene (#319)
Browse files Browse the repository at this point in the history
## Purpose
The app crashes when user tries to use Notabene to add identity. 

## Changes
I added `NSMicrophoneUsageDescription ` property to *.plist files in
order to request user for microphone usage permission.
  • Loading branch information
milsawicki authored May 25, 2023
1 parent 34e2369 commit fc917ef
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ConcordiumWallet/Resources/ConcordiumWallet-mock-Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -90,5 +90,7 @@
</array>
<key>UIUserInterfaceStyle</key>
<string>Light</string>
<key>NSMicrophoneUsageDescription</key>
<string></string>
</dict>
</plist>
2 changes: 2 additions & 0 deletions ConcordiumWallet/Resources/ConcordiumWalletMainNet-Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -78,5 +78,7 @@
</array>
<key>UIUserInterfaceStyle</key>
<string>Light</string>
<key>NSMicrophoneUsageDescription</key>
<string></string>
</dict>
</plist>
Original file line number Diff line number Diff line change
Expand Up @@ -76,5 +76,7 @@
</array>
<key>UIUserInterfaceStyle</key>
<string>Light</string>
<key>NSMicrophoneUsageDescription</key>
<string></string>
</dict>
</plist>
2 changes: 2 additions & 0 deletions ConcordiumWallet/Resources/ConcordiumWalletTestNet-Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
<key>NSMicrophoneUsageDescription</key>
<string></string>
<key>UIUserInterfaceStyle</key>
<string>Light</string>
</dict>
Expand Down

0 comments on commit fc917ef

Please sign in to comment.