@sendoracloud/sdk-react-native 0.16.1 → 0.16.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +25 -1
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -1,9 +1,33 @@
1
1
  # @sendoracloud/sdk-react-native
2
2
 
3
- Official React Native + Expo SDK for [SendoraCloud](https://sendoracloud.com). Works in Expo Go, managed dev clients, and bare React Native apps.
3
+ Official React Native + Expo SDK for [SendoraCloud](https://sendoracloud.com).
4
4
 
5
5
  > 📖 **First time on React Native?** Read the [5-minute quickstart](https://sendoracloud.com/docs/quickstart-react-native) — it covers the Hermes CSPRNG polyfill, anonymous-first auth, push token receipts, and the demo end-to-end push send.
6
6
 
7
+ ## Expo Go vs Dev Client — pick the right runner
8
+
9
+ | Feature | Expo Go (SDK 53+) | Dev Client / EAS Build | Bare RN |
10
+ | --- | --- | --- | --- |
11
+ | Analytics (`track`, `screen`, `identify`) | ✅ | ✅ | ✅ |
12
+ | Auth (`signUp`, `signIn`, MFA, passkeys) | ✅ | ✅ | ✅ |
13
+ | Deep links (warm path) | ✅ | ✅ | ✅ |
14
+ | Deferred deep links (fingerprint) | ✅ | ✅ | ✅ |
15
+ | Deferred deep links (Play Install Referrer) | ❌ — needs `react-native-play-install-referrer` | ✅ | ✅ |
16
+ | **Push token registration** (iOS APNs / FCM) | ❌ — Expo Go dropped remote push in SDK 53 | ✅ | ✅ |
17
+
18
+ **If push notifications matter to you, you MUST move off Expo Go.** Plain Expo Go cannot receive remote push tokens since SDK 53 (Expo deprecated the shared APNs cert). Run a Dev Client instead:
19
+
20
+ ```bash
21
+ # One-time: build the dev client locally
22
+ npx expo prebuild --clean
23
+ npx expo run:ios # or run:android
24
+ # Day-to-day: just `npx expo start` — same DX as Expo Go
25
+ ```
26
+
27
+ Or use EAS Build for cloud builds. **Auth, analytics, deep links all work fine in plain Expo Go** — only push registration requires Dev Client.
28
+
29
+ > 💡 If `registerPushToken` returns `null` or sign-up succeeds but the dashboard never shows your device token, you're almost certainly on Expo Go. Switch to a Dev Client.
30
+
7
31
  ## Install
8
32
 
9
33
  ```bash
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sendoracloud/sdk-react-native",
3
- "version": "0.16.1",
4
- "description": "Sendora Cloud React Native + Expo SDK — analytics, identity, push-token registration, auth, deep links (Branch / Firebase Dynamic Links parity). Expo Go compatible, no native modules beyond AsyncStorage.",
3
+ "version": "0.16.2",
4
+ "description": "Sendora Cloud React Native + Expo SDK — analytics, identity, push-token registration, auth, deep links (Branch / Firebase Dynamic Links parity). Auth + analytics + deep links work in Expo Go; push token registration requires a Dev Client (EAS Build or `npx expo prebuild`).",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
7
7
  "module": "./dist/index.js",