Skip to content

MOBILE-647: Move the Expo example to SDK 58 and the scene life cycle - #72

Merged
justSmK merged 2 commits into
developfrom
feature/MOBILE-647-expo-example-scenes
Nov 16, 2026
Merged

justSmK merged 2 commits into
developfrom
feature/MOBILE-647-expo-example-scenes

Conversation

@justSmK

@justSmK justSmK commented Nov 13, 2026 •

Copy link
Copy Markdown
Collaborator

The Expo SDK 58 template generates a SceneDelegate on ExpoAppSceneDelegate, so the example moves to SDK 58 and runs under the scene life cycle, as the React Native example did in mindbox-cloud/react-native-sdk#242. SDK 58 drops the top-level splash key; its settings move to the expo-splash-screen plugin. expo-doctor passes 20/20.

The wrapper moves to 2.16.0: with 2.15.2 the Android release build stopped in R8 on HMS classes the SDK references.

Checked on an iOS 26.5 simulator, Xcode 26.6: a launch sends a direct visit; a push tap on a killed app sends the click and the push visit and reaches onPushClickReceived in JS; the 2.16.0 release build starts and migrates the 2.15.2 data. Universal links reach Mindbox only with #71.

Android needs a plugin release before the example builds from a clean cache: plugin 1.0.5 adds the old RuStore repository, which now answers 404 (fixed on develop by #67), and adds firebase-messaging without a version, which AGP 9 no longer resolves on the compile classpath. With both patched locally, the 2.16.0 release APK builds with R8 on an emulator, starts and initializes the SDK.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues are recorded for the Expo SDK 58 example update.

No open issues 🎉

What changed in this PR

Updates the Mindbox Expo example to SDK 58, adopting the template’s iOS scene lifecycle to align with the React Native example. Universal-link tracking remains dependent on #71.

Changes:

  • Upgrades Expo, React Native, React, and related dependencies.
  • Moves splash-screen settings to the expo-splash-screen plugin and registers expo-status-bar.
  • Refreshes the Yarn lockfile for the upgraded dependency set.
File Description
examples/​MindboxExpoExample/​yarn.lock Locks the upgraded dependencies and new splash-screen package.
examples/​MindboxExpoExample/​package.json Updates runtime and development dependencies for SDK 58.
examples/​MindboxExpoExample/​app.json Migrates splash configuration and registers the status-bar plugin.

Review effort: Balanced

Apps built with the iOS 27 SDK must adopt the scene-based life cycle. Expo
SDK 58 is the first whose template does: prebuild adds a SceneDelegate based
on ExpoAppSceneDelegate and the scene manifest, so the example only needs the
upgrade. SDK 58 drops the top-level splash key; its settings move to the
expo-splash-screen plugin.
Release builds of the example run R8, and the 2.15.2 Android SDK has no keep rules for the HMS classes it references, so R8 stopped the build; with those rules added by hand the APK crashed at start in WorkManager. The 2.16.0 SDK builds and starts on Android and iOS.
@justSmK
justSmK force-pushed the feature/MOBILE-647-expo-example-scenes branch from 7868cfd to f6dd806 Compare November 16, 2026 12:12
@justSmK
justSmK merged commit 61204a5 into develop Nov 16, 2026
@justSmK
justSmK deleted the feature/MOBILE-647-expo-example-scenes branch November 16, 2026 12:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants