Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 14 additions & 14 deletions apps/mobile/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"@effect/atom-react": "catalog:",
"@expo-google-fonts/dm-sans": "^0.4.2",
"@expo/metro-runtime": "~58.0.14",
"@expo/ui": "58.0.18",
"@expo/ui": "58.0.20",
"@legendapp/list": "catalog:",
"@material/material-color-utilities": "0.3.0",
"@noble/curves": "catalog:",
Expand Down Expand Up @@ -82,42 +82,42 @@
"clsx": "^2.1.1",
"diff": "8.0.3",
"effect": "catalog:",
"expo": "58.0.11",
"expo": "58.0.14",
"expo-asset": "~58.0.16",
"expo-audio": "58.0.9",
"expo-auth-session": "~58.0.12",
"expo-blur": "58.0.3",
"expo-build-properties": "~58.0.10",
"expo-auth-session": "~58.0.13",
"expo-blur": "58.0.4",
"expo-build-properties": "~58.0.11",
"expo-camera": "~58.0.10",
"expo-clipboard": "~58.0.3",
"expo-constants": "~58.0.12",
"expo-crypto": "~58.0.6",
"expo-dev-client": "~58.0.13",
"expo-crypto": "~58.0.7",
"expo-dev-client": "~58.0.14",
"expo-device": "~58.0.5",
"expo-document-picker": "~58.0.4",
"expo-file-system": "~58.0.9",
"expo-font": "~58.0.8",
"expo-glass-effect": "58.0.3",
"expo-haptics": "~58.0.6",
"expo-glass-effect": "58.0.4",
"expo-haptics": "~58.0.7",
"expo-image": "~58.0.15",
"expo-image-manipulator": "~58.0.14",
"expo-image-picker": "~58.0.10",
"expo-keep-awake": "~58.0.3",
"expo-linking": "~58.0.13",
"expo-network": "~58.0.3",
"expo-notifications": "~58.1.4",
"expo-notifications": "~58.1.5",
"expo-paste-input": "^0.1.15",
"expo-quick-actions": "^6.0.2",
"expo-secure-store": "~58.0.2",
"expo-sensors": "~58.0.4",
"expo-sharing": "58.0.18",
"expo-splash-screen": "~58.0.9",
"expo-sharing": "58.0.19",
"expo-splash-screen": "~58.0.10",
"expo-sqlite": "~58.0.13",
"expo-symbols": "~58.0.4",
"expo-updates": "~58.0.17",
"expo-video": "~58.0.11",
"expo-web-browser": "~58.0.6",
"expo-widgets": "58.0.18",
"expo-widgets": "58.0.20",
"react": "19.3.0",
"react-dom": "19.3.0",
"react-native": "0.88.0",
Expand Down Expand Up @@ -145,7 +145,7 @@
"@types/mdast": "^4.0.4",
"@types/react": "~19.3.0",
"@types/react-dom": "~19.2.3",
"babel-preset-expo": "~58.0.15",
"babel-preset-expo": "~58.0.17",
"jsdom": "^30.0.1",
"tailwindcss": "^4.0.0",
"typescript": "catalog:"
Expand Down
File renamed without changes.
57 changes: 0 additions & 57 deletions patches/expo-blur@58.0.3.patch

This file was deleted.

72 changes: 0 additions & 72 deletions patches/expo-glass-effect@58.0.3.patch

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
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 1113a0a..e89529a 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 {
@@ -51,7 +51,8 @@ enum class ContentType(val value: String) : Enumerable {
internal data class SharePayload(
@Field var value: String = "",
@Field var shareType: ShareType = ShareType.Text,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,64 +1,3 @@
diff --git a/android/src/main/java/expo/modules/widgets/WidgetsModule.kt b/android/src/main/java/expo/modules/widgets/WidgetsModule.kt
index f947f46..d290055 100644
--- a/android/src/main/java/expo/modules/widgets/WidgetsModule.kt
+++ b/android/src/main/java/expo/modules/widgets/WidgetsModule.kt
@@ -84,6 +84,11 @@ class WidgetsModule : Module() {
}

Class("CustomNotification", CustomNotification::class) {
+ // A SharedObject class without a constructor fails module registration at launch.
+ Constructor { ->
+ throw UnsupportedOperationException("CustomNotification instances come from CustomNotificationFactory")
+ }
+
Function("getId") { notification: CustomNotification ->
notification.id
}
diff --git a/android/src/main/java/expo/modules/widgets/notifications/CustomNotificationBuilder.kt b/android/src/main/java/expo/modules/widgets/notifications/CustomNotificationBuilder.kt
index 07eca41..82cabea 100644
--- a/android/src/main/java/expo/modules/widgets/notifications/CustomNotificationBuilder.kt
+++ b/android/src/main/java/expo/modules/widgets/notifications/CustomNotificationBuilder.kt
@@ -14,8 +14,8 @@ import android.os.Bundle
import androidx.core.app.NotificationCompat
import androidx.core.app.NotificationManagerCompat
import expo.modules.widgets.R
-import io.github.jakex7.peek.notification.PeekNotificationViews
-import io.github.jakex7.peek.notification.setPeekContent
+import io.github.expo.peek.notification.PeekNotificationViews
+import io.github.expo.peek.notification.setPeekContent

internal object CustomNotificationBuilder {
private const val DEFAULT_CHANNEL_ID = "expo_widgets_notifications"
diff --git a/android/src/main/java/expo/modules/widgets/notifications/CustomNotificationRenderer.kt b/android/src/main/java/expo/modules/widgets/notifications/CustomNotificationRenderer.kt
index 446a39e..e90b09a 100644
--- a/android/src/main/java/expo/modules/widgets/notifications/CustomNotificationRenderer.kt
+++ b/android/src/main/java/expo/modules/widgets/notifications/CustomNotificationRenderer.kt
@@ -8,9 +8,9 @@ import expo.modules.widgets.WidgetsStorage
import expo.modules.widgets.evaluateLayout
import expo.modules.widgets.getWidgetEnvironment
import expo.modules.widgets.toPeekRoot
-import io.github.jakex7.peek.emittables.peekEmittableNotificationViews
-import io.github.jakex7.peek.notification.PeekNotificationSizes
-import io.github.jakex7.peek.notification.PeekNotificationViews
+import io.github.expo.peek.emittables.peekEmittableNotificationViews
+import io.github.expo.peek.notification.PeekNotificationSizes
+import io.github.expo.peek.notification.PeekNotificationViews

internal object CustomNotificationRenderer {
suspend fun render(context: Context, state: CustomNotificationState): PeekNotificationViews {
diff --git a/android/src/main/java/expo/modules/widgets/notifications/CustomNotifications.kt b/android/src/main/java/expo/modules/widgets/notifications/CustomNotifications.kt
index a7b372e..dd001ee 100644
--- a/android/src/main/java/expo/modules/widgets/notifications/CustomNotifications.kt
+++ b/android/src/main/java/expo/modules/widgets/notifications/CustomNotifications.kt
@@ -3,7 +3,7 @@ package expo.modules.widgets.notifications
import android.annotation.SuppressLint
import android.content.Context
import androidx.core.app.NotificationManagerCompat
-import io.github.jakex7.peek.notification.PeekNotificationViews
+import io.github.expo.peek.notification.PeekNotificationViews
import kotlinx.coroutines.CancellationException
import kotlinx.coroutines.Job
import kotlinx.coroutines.coroutineScope
diff --git a/build/Widgets.types.d.ts b/build/Widgets.types.d.ts
index 4c474bb..b0173df 100644
--- a/build/Widgets.types.d.ts
Expand Down Expand Up @@ -211,20 +150,6 @@ index 4d135c4..dae4744 100644
if #available(iOS 18.0, *) {
LiveActivityBanner(context: context, nodes: nodes)
} else if let node = nodes["banner"] as? [String: Any] {
diff --git a/scripts/build-layout-registry.mjs b/scripts/build-layout-registry.mjs
index d52a60e..fa9bd77 100644
--- a/scripts/build-layout-registry.mjs
+++ b/scripts/build-layout-registry.mjs
@@ -154,6 +154,8 @@ function createLayoutRegistry(expectedWidgets, capturedLayouts) {
return registry;
}

-if (process.argv[1] && path.resolve(process.argv[1]) === __filename) {
+// Compare real paths: pnpm exposes the package through a symlink, so the
+// invoked path and import.meta.url differ while naming the same file.
+if (process.argv[1] && fs.realpathSync(path.resolve(process.argv[1])) === fs.realpathSync(__filename)) {
await main();
}
diff --git a/src/Widgets.types.ts b/src/Widgets.types.ts
index 690d069..ffab6f3 100644
--- a/src/Widgets.types.ts
Expand Down
Loading
Loading