summaryrefslogtreecommitdiffstats
path: root/apple/Info.plist
blob: c9aeb5afa23b33fbf7b5fab0b974b4c52143afc5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist SYSTEM "file://localhost/System/Library/DTDs/PropertyList.dtd">
<plist version="0.9">
<dict>

  <key>CFBundleName</key>
  <string>Pica Pica Messenger</string>

  <key>CFBundleDisplayName</key>
  <string>Pica Pica Messenger</string>

  <key>CFBundleIconFile</key>
  <string>picapica.icns</string>

  <key>CFBundlePackageType</key>
  <string>APPL</string>

  <key>CFBundleGetInfoString</key>
  <string>0.7.1, Copyright © 2012 - 2019 Anton Sviridenko</string>

  <key>CFBundleShortVersionString</key>
  <string>0.7.1</string>

  <key>CFBundleVersion</key>
  <string>0.7</string>

  <key>CFBundleSignature</key>
  <string>????</string>

  <key>CFBundleExecutable</key>
  <string>PicaPicaMessenger</string>

  <key>CFBundleIdentifier</key>
  <string>im.picapica.pica-client</string>

  <!--
    Without these two, macOS 10.14 and later kills the process the moment it
    opens the microphone or the camera rather than asking the user - so audio
    and video calls do not merely fail, they take the application with them.
    The strings are what the permission prompt shows as the reason.

    NSMicrophoneUsageDescription covers the capture side of a call, which on
    this platform means the VoiceProcessingIO audio unit (see
    nativeaudio_coreaudio.cpp). Note that the unit captures and renders
    together, so this is also needed for call playback - though not for
    ringtones, which deliberately use a plain output unit.
  -->
  <key>NSMicrophoneUsageDescription</key>
  <string>Pica Pica needs the microphone so the person you are calling can hear you.</string>

  <key>NSCameraUsageDescription</key>
  <string>Pica Pica needs the camera so the person you are calling can see you.</string>

  <!--
    Qt draws through its own windows rather than the system's, so the app has
    to say it is high resolution capable or macOS scales a low resolution
    backing store up and everything looks soft on a Retina display.
  -->
  <key>NSHighResolutionCapable</key>
  <true/>

  <key>LSMinimumSystemVersion</key>
  <string>10.13</string>

  <key>NSPrincipalClass</key>
  <string>NSApplication</string>

</dict>
</plist>