8 files changed,
+145
−0
native/ios/DocsPhone.entitlements
+23 −0
native/ios/Info.plist
+15 −0
native/ios/project.yml
+19 −0
native/mac-updates.json
+16 −0
native/macos/AppStore.entitlements
+17 −0
native/macos/DeveloperID.entitlements
+23 −0
native/macos/Info.plist
+15 −0
native/macos/project.yml
+17 −0
| new file mode 100644 |
| index 0000000..830da33 |
| --- /dev/null |
| +++ b/native/ios/DocsPhone.entitlements |
| @@ -0,0 +1,23 @@ |
| +<?xml version="1.0" encoding="UTF-8"?> |
| +<!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.developer.associated-domains</key> |
| + <array> |
| + <string>webcredentials:id.oficina.works</string> |
| + </array> |
| + <key>com.apple.security.application-groups</key> |
| + <array> |
| + <string>group.works.oficina</string> |
| + </array> |
| + <!-- Docs' own group FIRST: a keychain query that names no group lands in |
| + the first one, and Docs' sessions and offline keys must never land in |
| + the group every Oficina app reads (rastrillo/native APPLE.md, |
| + "Oficina ID, slice A"). The second is the shared Oficina ID group. --> |
| + <key>keychain-access-groups</key> |
| + <array> |
| + <string>9U4A84C4WK.works.oficina.docs</string> |
| + <string>9U4A84C4WK.works.oficina.id</string> |
| + </array> |
| +</dict> |
| +</plist> |
| index bdaf0f0..dc07ff2 100644 |
| --- a/native/ios/Info.plist |
| +++ b/native/ios/Info.plist |
| @@ -10,6 +10,21 @@ |
| <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string> |
| <key>CFBundleInfoDictionaryVersion</key> |
| <string>6.0</string> |
| + <key>CFBundleLocalizations</key> |
| + <array> |
| + <string>en</string> |
| + <string>ar</string> |
| + <string>bn</string> |
| + <string>es</string> |
| + <string>ga</string> |
| + <string>hi</string> |
| + <string>ja</string> |
| + <string>pt</string> |
| + <string>ru</string> |
| + <string>vi</string> |
| + <string>yue</string> |
| + <string>zh-Hans</string> |
| + </array> |
| <key>CFBundleName</key> |
| <string>$(PRODUCT_NAME)</string> |
| <key>CFBundlePackageType</key> |
| index 0f63e51..aade4d3 100644 |
| --- a/native/ios/project.yml |
| +++ b/native/ios/project.yml |
| @@ -34,6 +34,10 @@ targets: |
| ASSETCATALOG_COMPILER_APPICON_NAME: AppIcon |
| PROVISIONING_PROFILE_SPECIFIER: $(OFICINA_PROVISIONING_PROFILE) |
| PRODUCT_BUNDLE_IDENTIFIER: works.oficina.docs |
| + # Oficina ID (rastrillo/native APPLE.md, "Oficina ID, slice A"): Docs' |
| + # own keychain group first, then the shared one; group.works.oficina; |
| + # webcredentials:id.oficina.works for passkeys. |
| + CODE_SIGN_ENTITLEMENTS: DocsPhone.entitlements |
| TARGETED_DEVICE_FAMILY: 1,2 |
| GENERATE_INFOPLIST_FILE: true |
| INFOPLIST_KEY_CFBundleDisplayName: Oficina Docs |
| @@ -48,6 +52,21 @@ targets: |
| CFBundleTypeRole: Editor |
| CFBundleShortVersionString: $(MARKETING_VERSION) |
| CFBundleVersion: $(CURRENT_PROJECT_VERSION) |
| + # The twelve languages Docs ships. Without the key every resource |
| + # bundle (DocsKit's, RastrilloApple's) reads English. |
| + CFBundleLocalizations: |
| + - en |
| + - ar |
| + - bn |
| + - es |
| + - ga |
| + - hi |
| + - ja |
| + - pt |
| + - ru |
| + - vi |
| + - yue |
| + - zh-Hans |
| DocsReviewPhone: |
| type: application |
| platform: iOS |
| index bf454d5..ba689bf 100644 |
| --- a/native/mac-updates.json |
| +++ b/native/mac-updates.json |
| @@ -3,6 +3,22 @@ |
| "url_schemes": [ |
| "works.oficina.docs" |
| ], |
| + "localizations": [ |
| + "en", |
| + "ar", |
| + "bn", |
| + "es", |
| + "ga", |
| + "hi", |
| + "ja", |
| + "pt", |
| + "ru", |
| + "vi", |
| + "yue", |
| + "zh-Hans" |
| + ], |
| + "entitlements": "macos/DeveloperID.entitlements", |
| + "provisioning_profile": "~/private_keys/oficina/profiles/Oficina-Docs-macOS-Developer-ID.provisionprofile", |
| "feed_url": "https://raw.amadan.net/oficina/native-releases/main/docs/appcast.xml", |
| "public_ed_key": "/FxO7cZnM7P5c9ZrUPUJvpCnR65sNmrzte+I5vHarE8=", |
| "keychain_account": "oficina" |
| index a046386..313f1a9 100644 |
| --- a/native/macos/AppStore.entitlements |
| +++ b/native/macos/AppStore.entitlements |
| @@ -8,5 +8,22 @@ |
| <true/> |
| <key>com.apple.security.network.client</key> |
| <true/> |
| + <key>com.apple.developer.associated-domains</key> |
| + <array> |
| + <string>webcredentials:id.oficina.works</string> |
| + </array> |
| + <key>com.apple.security.application-groups</key> |
| + <array> |
| + <string>9U4A84C4WK.works.oficina</string> |
| + </array> |
| + <!-- Docs' own group FIRST: a keychain query that names no group lands in |
| + the first one, and Docs' sessions and offline keys must never land in |
| + the group every Oficina app reads (rastrillo/native APPLE.md, |
| + "Oficina ID, slice A"). The second is the shared Oficina ID group. --> |
| + <key>keychain-access-groups</key> |
| + <array> |
| + <string>9U4A84C4WK.works.oficina.docs</string> |
| + <string>9U4A84C4WK.works.oficina.id</string> |
| + </array> |
| </dict> |
| </plist> |
| new file mode 100644 |
| index 0000000..2aa4c0a |
| --- /dev/null |
| +++ b/native/macos/DeveloperID.entitlements |
| @@ -0,0 +1,23 @@ |
| +<?xml version="1.0" encoding="UTF-8"?> |
| +<!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.developer.associated-domains</key> |
| + <array> |
| + <string>webcredentials:id.oficina.works</string> |
| + </array> |
| + <key>com.apple.security.application-groups</key> |
| + <array> |
| + <string>9U4A84C4WK.works.oficina</string> |
| + </array> |
| + <!-- Docs' own group FIRST: a keychain query that names no group lands in |
| + the first one, and Docs' sessions and offline keys must never land in |
| + the group every Oficina app reads (rastrillo/native APPLE.md, |
| + "Oficina ID, slice A"). The second is the shared Oficina ID group. --> |
| + <key>keychain-access-groups</key> |
| + <array> |
| + <string>9U4A84C4WK.works.oficina.docs</string> |
| + <string>9U4A84C4WK.works.oficina.id</string> |
| + </array> |
| +</dict> |
| +</plist> |
| index 9b6f5f2..9a78f00 100644 |
| --- a/native/macos/Info.plist |
| +++ b/native/macos/Info.plist |
| @@ -14,6 +14,21 @@ |
| <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string> |
| <key>CFBundleInfoDictionaryVersion</key> |
| <string>6.0</string> |
| + <key>CFBundleLocalizations</key> |
| + <array> |
| + <string>en</string> |
| + <string>ar</string> |
| + <string>bn</string> |
| + <string>es</string> |
| + <string>ga</string> |
| + <string>hi</string> |
| + <string>ja</string> |
| + <string>pt</string> |
| + <string>ru</string> |
| + <string>vi</string> |
| + <string>yue</string> |
| + <string>zh-Hans</string> |
| + </array> |
| <key>CFBundleName</key> |
| <string>Docs</string> |
| <key>CFBundlePackageType</key> |
| index 22b059a..8739fe4 100644 |
| --- a/native/macos/project.yml |
| +++ b/native/macos/project.yml |
| @@ -43,6 +43,23 @@ targets: |
| CFBundleVersion: $(CURRENT_PROJECT_VERSION) |
| CFBundleIconFile: AppIcon |
| LSApplicationCategoryType: public.app-category.productivity |
| + # The twelve languages Docs ships: PlainAppNameCommands' titles and |
| + # DocsKit's strings appear only in languages the app declares |
| + # (rastrillo/native docs/mac-updates.md). The Sparkle build gets the |
| + # same list from mac-updates.json. |
| + CFBundleLocalizations: |
| + - en |
| + - ar |
| + - bn |
| + - es |
| + - ga |
| + - hi |
| + - ja |
| + - pt |
| + - ru |
| + - vi |
| + - yue |
| + - zh-Hans |
| NSHighResolutionCapable: true |
| CFBundleURLTypes: |
| - CFBundleURLName: works.oficina.docs.signin |