@mobileai/react-native 0.9.14 → 0.9.15
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.
- package/README.md +42 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -200,10 +200,52 @@ Full bidirectional voice AI powered by the Gemini Live API. Users speak their su
|
|
|
200
200
|
|
|
201
201
|
> 💡 **Speech-to-text in text mode:** Install `expo-speech-recognition` for a mic button in the chat bar — letting users dictate instead of typing. Separate from voice mode.
|
|
202
202
|
|
|
203
|
+
#### 🍎 Siri & Spotlight — Trigger Actions Hands-Free (iOS 16+)
|
|
204
|
+
|
|
205
|
+
Every `useAction` you register automatically becomes a **Siri shortcut** and **Spotlight action**. One config plugin added at build time — no Swift required — and users can say:
|
|
206
|
+
|
|
207
|
+
> *"Hey Siri, track my order in MyApp"*
|
|
208
|
+
> *"Hey Siri, checkout in MyApp"*
|
|
209
|
+
> *"Hey Siri, cancel my last order in MyApp"*
|
|
210
|
+
|
|
211
|
+
<details>
|
|
212
|
+
<summary><b>Setup — Expo Config Plugin</b></summary>
|
|
213
|
+
|
|
214
|
+
```json
|
|
215
|
+
// app.json
|
|
216
|
+
{
|
|
217
|
+
"expo": {
|
|
218
|
+
"plugins": [
|
|
219
|
+
["@mobileai/react-native/withAppIntents", {
|
|
220
|
+
"scanDirectory": "src",
|
|
221
|
+
"appScheme": "myapp"
|
|
222
|
+
}]
|
|
223
|
+
]
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
```
|
|
227
|
+
|
|
228
|
+
After `npx expo prebuild`, every registered `useAction` is available in Siri and Spotlight automatically.
|
|
229
|
+
|
|
230
|
+
**Or generate manually:**
|
|
231
|
+
|
|
232
|
+
```bash
|
|
233
|
+
# Scan useAction calls → intent-manifest.json
|
|
234
|
+
npx @mobileai/react-native generate-intents src
|
|
235
|
+
|
|
236
|
+
# Generate Swift AppIntents code
|
|
237
|
+
npx @mobileai/react-native generate-swift intent-manifest.json myapp
|
|
238
|
+
```
|
|
239
|
+
|
|
240
|
+
</details>
|
|
241
|
+
|
|
242
|
+
> ⚠️ iOS 16+ only. Android equivalent (Google Assistant App Actions) is on the roadmap.
|
|
243
|
+
|
|
203
244
|
---
|
|
204
245
|
|
|
205
246
|
### Supercharge Your Dev Workflow
|
|
206
247
|
|
|
248
|
+
|
|
207
249
|
#### 🔌 MCP Bridge — Test Your App in English, Not Code
|
|
208
250
|
|
|
209
251
|
Your app becomes MCP-compatible with one prop. Connect any AI — Antigravity, Claude Desktop, CI/CD pipelines — to remotely read and control the running app. Find bugs without writing a single test.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mobileai/react-native",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.15",
|
|
4
4
|
"description": "Build autonomous AI agents for React Native and Expo apps. Provides AI-native UI traversal, tool calling, and structured reasoning.",
|
|
5
5
|
"main": "./lib/module/index.js",
|
|
6
6
|
"source": "./src/index.ts",
|