@oxy.so/app-preset 3.4.0 → 3.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/package.json +1 -1
- package/plugin/withOxyBuildProperties.js +6 -3
package/README.md
CHANGED
|
@@ -37,8 +37,8 @@ plugins: [
|
|
|
37
37
|
|
|
38
38
|
This adds the iOS `keychain-access-groups` entitlement
|
|
39
39
|
(`$(AppIdentifierPrefix)group.so.oxy.shared`), the Oxy `expo-build-properties`
|
|
40
|
-
defaults (iOS `deploymentTarget 16.4`; Android
|
|
41
|
-
|
|
40
|
+
defaults (iOS `deploymentTarget 16.4`; Android ProGuard + resource shrinking — the
|
|
41
|
+
Android compile/target SDK and build tools are the Expo SDK's own, never pinned here), and `@oxy.so/services/plugins/withOxySharedPermissions`:
|
|
42
42
|
the app declares and requests the signature-level `so.oxy.permission.IDENTITY` and
|
|
43
43
|
`so.oxy.permission.DEVICE_SESSION`, with `<queries>` for the Commons and Accounts
|
|
44
44
|
providers. That is how silent "Sign in with Oxy" works on Android: each Oxy app
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oxy.so/app-preset",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.5.0",
|
|
4
4
|
"description": "The Oxy distro of Expo — centralized Expo config plugin, Metro/Babel/ESLint factories, Tailwind base CSS and TypeScript bases shared by every Oxy app (Mention, Homiio, Allo, accounts, …). A zero-build package: apps replace copy-pasted config with a single dependency bump.",
|
|
5
5
|
"main": "./app.plugin.js",
|
|
6
6
|
"publishConfig": {
|
|
@@ -22,10 +22,13 @@ const DEFAULTS = {
|
|
|
22
22
|
ios: {
|
|
23
23
|
deploymentTarget: '16.4',
|
|
24
24
|
},
|
|
25
|
+
// No compileSdkVersion / targetSdkVersion / buildToolsVersion: the Expo SDK's
|
|
26
|
+
// own template sets them (SDK 58: compileSdk 37, targetSdk 36, build tools
|
|
27
|
+
// 37.0.0), so they move with every SDK upgrade. Pinning them here broke every
|
|
28
|
+
// SDK 58 release build: SDK 58's Expo modules require compileSdk 37 and AGP's
|
|
29
|
+
// checkReleaseAarMetadata refuses compileSdk 36. An app that must hold a level
|
|
30
|
+
// back still passes it as an override.
|
|
25
31
|
android: {
|
|
26
|
-
compileSdkVersion: 36,
|
|
27
|
-
targetSdkVersion: 35,
|
|
28
|
-
buildToolsVersion: '36.0.0',
|
|
29
32
|
enableProguardInReleaseBuilds: true,
|
|
30
33
|
enableShrinkResourcesInReleaseBuilds: true,
|
|
31
34
|
useLegacyPackaging: false,
|