Skip to content

Commit febfc8e

Browse files
icarusdusttirth-patel-ncCopilot
authored
Fixing broken links (#3461)
* CodePush updates control Explains how to have control over launching updates * Update telegram.md (#3433) * Update telegram.md * Update content/yaml-notification/telegram.md Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Codepush analytics (#3460) * codepush analytics with other options * codepush analytics * api removal * few more clarifying points * fixing links * broken links and section update --------- Co-authored-by: Tirth Patel <tirth@nevercode.io> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 343f5e2 commit febfc8e

2 files changed

Lines changed: 21 additions & 1 deletion

File tree

content/rn-codepush/debugging-and-common-issues.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,26 @@ Most monitoring platforms provide documentation for integrating CodePush release
123123

124124
The following issues are common when releasing CodePush updates.
125125

126+
### Native binary without the CodePush SDK
127+
128+
OTA updates only install on native builds that already contain the CodePush SDK. If the SDK was recently added to the project but the store binary users have installed predates that change, `release-react` will publish successfully and the update will appear in the deployment history, but **no client will pick it up** — there is nothing on the device to check the server.
129+
130+
Symptoms:
131+
132+
- Release shows in `code-push deployment history <APP> <DEPLOYMENT>` with active installs staying at zero.
133+
- No `[CodePush]` log entries appear on device when you open the app, even with good network connectivity.
134+
- The issue affects all users, not a subset.
135+
136+
Fix:
137+
138+
1. Confirm the SDK is wired up in the React Native project (see [Setup](/rn-codepush/setup/#add-codepush-to-a-react-native-app)).
139+
2. Rebuild the app so the native binary includes the SDK, and install that build on the devices that should receive updates:
140+
- **Staging:** a fresh dev or internal-distribution build on your test devices is enough; no store release needed.
141+
- **Production:** publish to the App Store / Google Play and wait for users to update.
142+
3. Subsequent `release-react` calls against the matching deployment will then reach those devices over the air.
143+
144+
This is a one-time gate per deployment when first adopting CodePush; after devices are on an SDK-enabled binary, the regular OTA flow applies. See [Concepts](/rn-codepush/concepts/#prerequisite-a-native-build-with-the-sdk) for the underlying reason.
145+
126146
### Wrong binary version targeting
127147

128148
Updates are only installed if the device's app version satisfies the `targetBinaryVersion` constraint.

content/yaml-quick-start/building-a-react-native-app.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ If you are going to publish your app to App Store Connect or Google Play, each u
276276

277277
## OTA Updates with CodePush
278278

279-
Our hosted CodePush service lets you publish OTA updates for React Native projects directly to users' devices, without going through the App Store or Google Play. Read the [concepts page](../rn-codepush/codepush-concepts/) for how it works, or the [setup page](../rn-codepush/setup-codepush/) to get started.
279+
Our hosted CodePush service lets you publish OTA updates for React Native projects directly to users' devices, without going through the App Store or Google Play. Read the [concepts page](../rn-codepush/concepts/) for how it works, or the [setup page](../rn-codepush/setup/) to get started.
280280

281281

282282
## Conclusion

0 commit comments

Comments
 (0)