diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-06-11 12:39:28 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-06-11 12:39:28 +0300 |
commit | 31f7eafd9c6897cdf0ee7d6eeaade9dcc65cb006 (patch) | |
tree | 415707ca26c04ff1bee461c685e79c4302546cd4 /res/iOSBundleInfo.plist.in | |
parent | 703d2b41fa299a9f8e24a5f6064c3624c3dedbbb (diff) |
iOS: Opening a file via document picker
Use a native file picker to open files. Declare support for .gmi/.gemini files so they can be opened via Files and share sheets.
Diffstat (limited to 'res/iOSBundleInfo.plist.in')
-rw-r--r-- | res/iOSBundleInfo.plist.in | 246 |
1 files changed, 139 insertions, 107 deletions
diff --git a/res/iOSBundleInfo.plist.in b/res/iOSBundleInfo.plist.in index 1cf0a303..f47df7cd 100644 --- a/res/iOSBundleInfo.plist.in +++ b/res/iOSBundleInfo.plist.in | |||
@@ -1,116 +1,148 @@ | |||
1 | <?xml version="1.0" encoding="UTF-8"?> | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | 2 | <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> |
3 | <plist version="1.0"> | 3 | <plist version="1.0"> |
4 | <dict> | 4 | <dict> |
5 | <key>CFBundleDevelopmentRegion</key> | 5 | <key>CFBundleDevelopmentRegion</key> |
6 | <string>English</string> | 6 | <string>English</string> |
7 | <key>CFBundleExecutable</key> | 7 | <key>CFBundleExecutable</key> |
8 | <string>${MACOSX_BUNDLE_EXECUTABLE_NAME}</string> | 8 | <string>${MACOSX_BUNDLE_EXECUTABLE_NAME}</string> |
9 | <key>CFBundleGetInfoString</key> | 9 | <key>CFBundleGetInfoString</key> |
10 | <string>${MACOSX_BUNDLE_INFO_STRING}</string> | 10 | <string>${MACOSX_BUNDLE_INFO_STRING}</string> |
11 | <key>CFBundleIconName</key> | 11 | <key>CFBundleIconName</key> |
12 | <string>${MACOSX_BUNDLE_ICON_FILE}</string> | 12 | <string>${MACOSX_BUNDLE_ICON_FILE}</string> |
13 | <key>CFBundleIdentifier</key> | 13 | <key>CFBundleIdentifier</key> |
14 | <string>${MACOSX_BUNDLE_GUI_IDENTIFIER}</string> | 14 | <string>${MACOSX_BUNDLE_GUI_IDENTIFIER}</string> |
15 | <key>CFBundleInfoDictionaryVersion</key> | 15 | <key>CFBundleInfoDictionaryVersion</key> |
16 | <string>6.0</string> | 16 | <string>6.0</string> |
17 | <key>CFBundleName</key> | 17 | <key>CFBundleName</key> |
18 | <string>${MACOSX_BUNDLE_BUNDLE_NAME}</string> | 18 | <string>${MACOSX_BUNDLE_BUNDLE_NAME}</string> |
19 | <key>CFBundlePackageType</key> | 19 | <key>CFBundlePackageType</key> |
20 | <string>APPL</string> | 20 | <string>APPL</string> |
21 | <key>CFBundleVersion</key> | 21 | <key>CFBundleVersion</key> |
22 | <string>${MACOSX_BUNDLE_BUNDLE_VERSION}</string> | 22 | <string>${MACOSX_BUNDLE_BUNDLE_VERSION}</string> |
23 | <key>CFBundleShortVersionString</key> | 23 | <key>CFBundleShortVersionString</key> |
24 | <string>${MACOSX_BUNDLE_SHORT_VERSION_STRING}</string> | 24 | <string>${MACOSX_BUNDLE_SHORT_VERSION_STRING}</string> |
25 | <key>CFBundleSignature</key> | 25 | <key>CFBundleSignature</key> |
26 | <string>????</string> | 26 | <string>????</string> |
27 | <key>CSResourcesFileMapped</key> | 27 | <key>CSResourcesFileMapped</key> |
28 | <true/> | 28 | <true/> |
29 | <key>NSHumanReadableCopyright</key> | 29 | <key>NSHumanReadableCopyright</key> |
30 | <string>${MACOSX_BUNDLE_COPYRIGHT}</string> | 30 | <string>${MACOSX_BUNDLE_COPYRIGHT}</string> |
31 | <key>NSHighResolutionCapable</key> | 31 | <key>NSHighResolutionCapable</key> |
32 | <true/> | 32 | <true/> |
33 | <key>NSRequiresAquaSystemAppearance</key> | 33 | <key>NSRequiresAquaSystemAppearance</key> |
34 | <false/> | 34 | <false/> |
35 | <key>NSSupportsAutomaticGraphicsSwitching</key> | 35 | <key>NSSupportsAutomaticGraphicsSwitching</key> |
36 | <true/> | 36 | <true/> |
37 | <key>UISupportedInterfaceOrientations</key> | 37 | <key>UISupportedInterfaceOrientations</key> |
38 | <array> | 38 | <array> |
39 | <string>UIInterfaceOrientationPortrait</string> | 39 | <string>UIInterfaceOrientationPortrait</string> |
40 | <string>UIInterfaceOrientationLandscapeLeft</string> | 40 | <string>UIInterfaceOrientationLandscapeLeft</string> |
41 | <string>UIInterfaceOrientationLandscapeRight</string> | 41 | <string>UIInterfaceOrientationLandscapeRight</string> |
42 | </array> | 42 | </array> |
43 | <key>UISupportedInterfaceOrientations~ipad</key> | 43 | <key>UISupportedInterfaceOrientations~ipad</key> |
44 | <array> | 44 | <array> |
45 | <string>UIInterfaceOrientationPortrait</string> | 45 | <string>UIInterfaceOrientationPortrait</string> |
46 | <string>UIInterfaceOrientationPortraitUpsideDown</string> | 46 | <string>UIInterfaceOrientationPortraitUpsideDown</string> |
47 | <string>UIInterfaceOrientationLandscapeLeft</string> | 47 | <string>UIInterfaceOrientationLandscapeLeft</string> |
48 | <string>UIInterfaceOrientationLandscapeRight</string> | 48 | <string>UIInterfaceOrientationLandscapeRight</string> |
49 | </array> | 49 | </array> |
50 | <key>UILaunchStoryboardName</key> | 50 | <key>UILaunchStoryboardName</key> |
51 | <string>LaunchScreen</string> | 51 | <string>LaunchScreen</string> |
52 | <key>UIBackgroundModes</key> | 52 | <key>UIBackgroundModes</key> |
53 | <array> | 53 | <array> |
54 | <string>audio</string> | 54 | <string>audio</string> |
55 | </array> | 55 | </array> |
56 | <key>ITSAppUsesNonExemptEncryption</key> | 56 | <key>ITSAppUsesNonExemptEncryption</key> |
57 | <false/> | 57 | <false/> |
58 | <key>LSSupportsOpeningDocumentsInPlace</key> | 58 | <key>LSSupportsOpeningDocumentsInPlace</key> |
59 | <false/> | 59 | <false/> |
60 | <key>CFBundleDocumentTypes</key> | 60 | <key>CFBundleDocumentTypes</key> |
61 | <array> | 61 | <array> |
62 | <dict> | 62 | <dict> |
63 | <key>CFBundleTypeExtensions</key> | 63 | <key>LSItemContentTypes</key> |
64 | <array> | 64 | <array> |
65 | <string>gmi</string> | 65 | <string>fi.skyjake.lagrange.gemini</string> |
66 | <string>gemini</string> | 66 | <string>public.plain-text</string> |
67 | </array> | 67 | </array> |
68 | <key>CFBundleTypeIconFile</key> | 68 | </dict> |
69 | <string>text-gemini.icns</string> | 69 | <dict> |
70 | <key>CFBundleTypeName</key> | 70 | <key>CFBundleTypeExtensions</key> |
71 | <string>Gemini Text File</string> | 71 | <array> |
72 | <key>CFBundleTypeRole</key> | 72 | <string>gmi</string> |
73 | <string>Viewer</string> | 73 | <string>gemini</string> |
74 | <key>LSHandlerRank</key> | 74 | </array> |
75 | <string>Default</string> | 75 | <key>CFBundleTypeIconFile</key> |
76 | <key>LSTypeIsPackage</key> | 76 | <string>text-gemini.icns</string> |
77 | <false/> | 77 | <key>CFBundleTypeName</key> |
78 | </dict> | 78 | <string>Gemini Text File</string> |
79 | <dict> | 79 | <key>CFBundleTypeRole</key> |
80 | <key>CFBundleTypeExtensions</key> | 80 | <string>Viewer</string> |
81 | <array> | 81 | <key>LSHandlerRank</key> |
82 | <string>gpub</string> | 82 | <string>Default</string> |
83 | </array> | 83 | <key>LSTypeIsPackage</key> |
84 | <key>CFBundleTypeIconFile</key> | 84 | <false/> |
85 | <string>gempub.icns</string> | 85 | </dict> |
86 | <key>CFBundleTypeName</key> | 86 | <dict> |
87 | <string>Gempub Book</string> | 87 | <key>CFBundleTypeExtensions</key> |
88 | <key>CFBundleTypeRole</key> | 88 | <array> |
89 | <string>Viewer</string> | 89 | <string>gpub</string> |
90 | <key>LSHandlerRank</key> | 90 | </array> |
91 | <string>Default</string> | 91 | <key>CFBundleTypeIconFile</key> |
92 | <key>LSTypeIsPackage</key> | 92 | <string>gempub.icns</string> |
93 | <false/> | 93 | <key>CFBundleTypeName</key> |
94 | </dict> | 94 | <string>Gempub Book</string> |
95 | </array> | 95 | <key>CFBundleTypeRole</key> |
96 | <key>CFBundleURLTypes</key> | 96 | <string>Viewer</string> |
97 | <array> | 97 | <key>LSHandlerRank</key> |
98 | <dict> | 98 | <string>Default</string> |
99 | <key>CFBundleURLName</key> | 99 | <key>LSTypeIsPackage</key> |
100 | <string>Gemini</string> | 100 | <false/> |
101 | <key>CFBundleURLSchemes</key> | 101 | </dict> |
102 | <array> | 102 | </array> |
103 | <string>gemini</string> | 103 | <key>CFBundleURLTypes</key> |
104 | </array> | 104 | <array> |
105 | </dict> | 105 | <dict> |
106 | <dict> | 106 | <key>CFBundleURLName</key> |
107 | <key>CFBundleURLName</key> | 107 | <string>Gemini</string> |
108 | <string>Gopher</string> | 108 | <key>CFBundleURLSchemes</key> |
109 | <key>CFBundleURLSchemes</key> | 109 | <array> |
110 | <array> | 110 | <string>gemini</string> |
111 | <string>gopher</string> | 111 | </array> |
112 | </array> | 112 | </dict> |
113 | </dict> | 113 | <dict> |
114 | </array> | 114 | <key>CFBundleURLName</key> |
115 | </dict> | 115 | <string>Gopher</string> |
116 | <key>CFBundleURLSchemes</key> | ||
117 | <array> | ||
118 | <string>gopher</string> | ||
119 | </array> | ||
120 | </dict> | ||
121 | </array> | ||
122 | <key>UTExportedTypeDeclarations</key> | ||
123 | <array> | ||
124 | <dict> | ||
125 | <key>UTTypeIdentifier</key> | ||
126 | <string>fi.skyjake.lagrange.gemini</string> | ||
127 | <key>UTTypeReferenceURL</key> | ||
128 | <string>https://gemini.circumlunar.space/docs/specification.gmi</string> | ||
129 | <key>UTTypeDescription</key> | ||
130 | <string>Gemini Text Document</string> | ||
131 | <key>UTTypeConformsTo</key> | ||
132 | <array> | ||
133 | <string>public.plain-text</string> | ||
134 | </array> | ||
135 | <key>UTTypeTagSpecification</key> | ||
136 | <dict> | ||
137 | <key>public.filename-extension</key> | ||
138 | <array> | ||
139 | <string>gmi</string> | ||
140 | <string>gemini</string> | ||
141 | </array> | ||
142 | <key>public.mime-type</key> | ||
143 | <string>text/gemini</string> | ||
144 | </dict> | ||
145 | </dict> | ||
146 | </array> | ||
147 | </dict> | ||
116 | </plist> | 148 | </plist> |