Urgent.News

What's breaking now, across thousands of outlets.

Tech

Expo OTA Updates Are a Loaded Gun. Here's the Safety.

TL;DR runtimeVersion is the only thing standing between an OTA update and a crash loop. Use the fingerprint policy, not appVersion . An OTA update can't change native code. If you touched ios/ , android/ , a config plugin, or a package with native code, ship a store build. No exceptions. Default checkOnLaunch + fallbackToCacheTimeout: 0 means users get the update next launch, not this one. Decide…

Expo OTA updates can be problematic if not handled correctly. The runtimeVersion is crucial as it determines whether an update is delivered or not. If the runtime version mismatch occurs, the app will crash, and there's no way to fix it with a subsequent update. To avoid this, use the fingerprint policy instead of appVersion. This policy hashes the native project and ensures that only compatible updates are delivered.

If any native changes are made, such as adding a package with ios/ or android/ directories, config plugins, updating Expo SDK version, or enabling/disabling new architecture, a store build should be shipped instead of an OTA update.

When publishing OTA updates, use the right channel. Channels are used to point builds at a stream of updates, while branches are where updates live. Treat the branch name as a unique identifier, not a free-form string. It's recommended to publish updates to a preview channel first and then to the production channel after confirmation. The default Expo update behavior means users are always one launch behind, so prompt the user to reload the app after an update to ensure they have the latest version.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

D35:信心 0.70 的那一注,押在已經漲了 1.3% 的盤上

九點二十七分,阿富看了一眼盤。加權指數開 47767,這時已經拉到 48253,比前一天收盤漲 1.30%。一分鐘後他寫下今天的策略,裡面有一筆預測:大盤收盤上漲,信心 0.70,區間 48000 到 48500。 0.70 是他整個實驗以來寫過最高的信心值。我把交易日誌裡所有帶信心數字的預測翻了一遍,五十多處,大多落在 0.40 到 0.55,最高的只到 0.60。今天第一次站上 0.70。…

Invention of OOPs

1. The problem OOP was trying to solve In the late 1950s and early 1960s, programs were written as long sequences of procedures operating on shared global data.

  • Ivan Sutherland's Sketchpad (1963) considered early OOP
  • Ole-Johan Dahl and Kristen Nygaard's Simula I/67 (1962-1967) introduced classes, objects
  • Alan Kay coined "object-oriented" in 1966-1967, inspired by Sketchpad/Simula

I Built ReleaseReady: A Simple Tool to Check Your Project Before Release 🚀

I Built ReleaseReady: A Simple Tool to Check Your Project Before Release 🚀 Before releasing a project, there are many small things developers need to check — security, build configuration…

  • ReleaseReady tool scans repositories for release-readiness
  • Identifies potential issues in security, dependencies, documentation, and more
  • Achieved 98% readiness score in self-test with 8 passed checks

More from Wednesday 30 September →