fix(mobile): update Expo 58 to restore widgets and Live Activities (#14734)
This commit is contained in:
1 parent
99e08526e5
commit
54084ae1e6
7 files changed
+447
-436
No files matched your search
+34
-33
@@ -49,8 +49,8 @@
|
||||
"@clerk/expo": "catalog:",
|
||||
"@effect/atom-react": "catalog:",
|
||||
"@expo-google-fonts/dm-sans": "^0.4.2",
|
||||
"@expo/metro-runtime": "~58.0.9",
|
||||
"@expo/ui": "~58.0.9",
|
||||
"@expo/metro-runtime": "~58.0.10",
|
||||
"@expo/ui": "~58.0.11",
|
||||
"@legendapp/list": "catalog:",
|
||||
"@material/material-color-utilities": "0.3.0",
|
||||
"@noble/curves": "catalog:",
|
||||
@@ -74,41 +74,41 @@
|
||||
"clsx": "^2.1.1",
|
||||
"diff": "8.0.3",
|
||||
"effect": "catalog:",
|
||||
"expo": "58.0.0",
|
||||
"expo-asset": "~58.0.9",
|
||||
"expo-audio": "58.0.3",
|
||||
"expo-auth-session": "~58.0.6",
|
||||
"expo-blur": "58.0.2",
|
||||
"expo": "58.0.2",
|
||||
"expo-asset": "~58.0.10",
|
||||
"expo-audio": "58.0.4",
|
||||
"expo-auth-session": "~58.0.7",
|
||||
"expo-blur": "58.0.3",
|
||||
"expo-build-properties": "~58.0.9",
|
||||
"expo-camera": "~58.0.5",
|
||||
"expo-clipboard": "~58.0.2",
|
||||
"expo-camera": "~58.0.7",
|
||||
"expo-clipboard": "~58.0.3",
|
||||
"expo-constants": "~58.0.9",
|
||||
"expo-crypto": "~58.0.3",
|
||||
"expo-dev-client": "~58.0.9",
|
||||
"expo-device": "~58.0.3",
|
||||
"expo-document-picker": "~58.0.3",
|
||||
"expo-file-system": "~58.0.4",
|
||||
"expo-font": "~58.0.4",
|
||||
"expo-crypto": "~58.0.4",
|
||||
"expo-dev-client": "~58.0.10",
|
||||
"expo-device": "~58.0.5",
|
||||
"expo-document-picker": "~58.0.4",
|
||||
"expo-file-system": "~58.0.5",
|
||||
"expo-font": "~58.0.5",
|
||||
"expo-glass-effect": "58.0.3",
|
||||
"expo-haptics": "~58.0.3",
|
||||
"expo-image": "~58.0.8",
|
||||
"expo-image-manipulator": "~58.0.10",
|
||||
"expo-image-picker": "~58.0.9",
|
||||
"expo-keep-awake": "~58.0.2",
|
||||
"expo-linking": "~58.0.9",
|
||||
"expo-network": "~58.0.2",
|
||||
"expo-notifications": "~58.0.9",
|
||||
"expo-haptics": "~58.0.4",
|
||||
"expo-image": "~58.0.10",
|
||||
"expo-image-manipulator": "~58.0.11",
|
||||
"expo-image-picker": "~58.0.10",
|
||||
"expo-keep-awake": "~58.0.3",
|
||||
"expo-linking": "~58.0.10",
|
||||
"expo-network": "~58.0.3",
|
||||
"expo-notifications": "~58.0.11",
|
||||
"expo-paste-input": "^0.1.15",
|
||||
"expo-quick-actions": "^6.0.2",
|
||||
"expo-secure-store": "~58.0.1",
|
||||
"expo-sharing": "58.0.12",
|
||||
"expo-splash-screen": "~58.0.2",
|
||||
"expo-sqlite": "~58.0.7",
|
||||
"expo-secure-store": "~58.0.2",
|
||||
"expo-sharing": "58.0.13",
|
||||
"expo-splash-screen": "~58.0.4",
|
||||
"expo-sqlite": "~58.0.8",
|
||||
"expo-symbols": "~58.0.3",
|
||||
"expo-updates": "~58.0.11",
|
||||
"expo-video": "~58.0.5",
|
||||
"expo-web-browser": "~58.0.3",
|
||||
"expo-widgets": "58.0.9",
|
||||
"expo-updates": "~58.0.13",
|
||||
"expo-video": "~58.0.6",
|
||||
"expo-web-browser": "~58.0.4",
|
||||
"expo-widgets": "58.0.11",
|
||||
"react": "19.3.0",
|
||||
"react-dom": "19.3.0",
|
||||
"react-native": "0.88.0-rc.3",
|
||||
@@ -133,14 +133,15 @@
|
||||
"@pierre/trees": "1.0.0-beta.4",
|
||||
"@types/react": "~19.3.0",
|
||||
"@types/react-dom": "~19.2.3",
|
||||
"babel-preset-expo": "~58.0.6",
|
||||
"babel-preset-expo": "~58.0.8",
|
||||
"tailwindcss": "^4.0.0",
|
||||
"typescript": "catalog:"
|
||||
},
|
||||
"expo": {
|
||||
"install": {
|
||||
"exclude": [
|
||||
"react-native-keyboard-controller"
|
||||
"react-native-keyboard-controller",
|
||||
"typescript"
|
||||
]
|
||||
},
|
||||
"autolinking": {
|
||||
|
||||
File renamed without changes.
File renamed without changes.
@@ -1,5 +1,5 @@
|
||||
diff --git a/android/src/main/java/expo/modules/sharing/SharingRecords.kt b/android/src/main/java/expo/modules/sharing/SharingRecords.kt
|
||||
index 0b87b53..65f1c57 100644
|
||||
index 0b87b53f632e82f9b4c09c066d5a67e4ab2525a4..65f1c57faef3ba8caac9e137341f2b8312bb5f86 100644
|
||||
--- a/android/src/main/java/expo/modules/sharing/SharingRecords.kt
|
||||
+++ b/android/src/main/java/expo/modules/sharing/SharingRecords.kt
|
||||
@@ -52,7 +52,8 @@ enum class ContentType(val value: String) : Enumerable {
|
||||
@@ -13,7 +13,7 @@ index 0b87b53..65f1c57 100644
|
||||
|
||||
@OptimizedRecord
|
||||
diff --git a/android/src/main/java/expo/modules/sharing/dataParsers/SimpleShareIntentDataParser.kt b/android/src/main/java/expo/modules/sharing/dataParsers/SimpleShareIntentDataParser.kt
|
||||
index 8dd50e8..481cdb4 100644
|
||||
index 3381c5fd207ebb4cd8e0301aac59d307939ff162..481cdb4bc64ea5ae49919071f686324f6d56d55c 100644
|
||||
--- a/android/src/main/java/expo/modules/sharing/dataParsers/SimpleShareIntentDataParser.kt
|
||||
+++ b/android/src/main/java/expo/modules/sharing/dataParsers/SimpleShareIntentDataParser.kt
|
||||
@@ -3,6 +3,7 @@ package expo.modules.sharing
|
||||
@@ -24,7 +24,7 @@ index 8dd50e8..481cdb4 100644
|
||||
|
||||
internal class SimpleShareIntentDataParser {
|
||||
companion object {
|
||||
@@ -17,21 +18,26 @@ internal class SimpleShareIntentDataParser {
|
||||
@@ -17,25 +18,26 @@ internal class SimpleShareIntentDataParser {
|
||||
}
|
||||
|
||||
private fun handleSendAction(context: Context, intent: Intent, type: String): List<SharePayload> {
|
||||
@@ -40,7 +40,11 @@ index 8dd50e8..481cdb4 100644
|
||||
+ return listOf(
|
||||
SharePayload().apply {
|
||||
value = text
|
||||
- shareType = if (isUrl) ShareType.Url else ShareType.Text
|
||||
- shareType = if (isUrl) {
|
||||
- ShareType.Url
|
||||
- } else {
|
||||
- ShareType.Text
|
||||
- }
|
||||
- mimeType = "text/plain"
|
||||
+ shareType = if (android.util.Patterns.WEB_URL.matcher(text).matches()) ShareType.Url else ShareType.Text
|
||||
+ mimeType = type
|
||||
@@ -61,7 +65,7 @@ index 8dd50e8..481cdb4 100644
|
||||
}
|
||||
|
||||
private fun handleSendMultipleAction(context: Context, intent: Intent, type: String): List<SharePayload> {
|
||||
@@ -41,10 +47,25 @@ internal class SimpleShareIntentDataParser {
|
||||
@@ -45,10 +47,25 @@ internal class SimpleShareIntentDataParser {
|
||||
|
||||
private fun createUriPayload(context: Context, uri: Uri, defaultType: String): SharePayload {
|
||||
val specificType = context.contentResolver.getType(uri) ?: defaultType
|
||||
@@ -89,7 +93,7 @@ index 8dd50e8..481cdb4 100644
|
||||
}
|
||||
}
|
||||
diff --git a/build/Sharing.types.d.ts b/build/Sharing.types.d.ts
|
||||
index 74544e0..92bd2f5 100644
|
||||
index 74544e0728d5f845351693d8d90596abae42eaea..92bd2f53108ac717f1ef7292fe89aea05c676c5e 100644
|
||||
--- a/build/Sharing.types.d.ts
|
||||
+++ b/build/Sharing.types.d.ts
|
||||
@@ -100,6 +100,11 @@ export type SharePayload = {
|
||||
@@ -105,7 +109,7 @@ index 74544e0..92bd2f5 100644
|
||||
export type BaseResolvedSharePayload = SharePayload & {
|
||||
/**
|
||||
diff --git a/src/Sharing.types.ts b/src/Sharing.types.ts
|
||||
index 18af320..3a52b70 100644
|
||||
index 18af320420e7c01a8ffbd7fa5347320409f905d8..3a52b70a20efbc588ad5ca974c38c951e5757c97 100644
|
||||
--- a/src/Sharing.types.ts
|
||||
+++ b/src/Sharing.types.ts
|
||||
@@ -108,6 +108,12 @@ export type SharePayload = {
|
||||
File renamed without changes.
Generated
+354
-351
File diff suppressed because it is too large.
Load diff
+48
-45
Reference in new issue
Block a user