expo-local-llm 0.4.0 → 0.4.1
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 +3 -2
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -8,6 +8,7 @@ Expo module for on-device LLM inference. Wraps Apple Foundation Models (iOS 26+)
|
|
|
8
8
|
|----------|-------------|
|
|
9
9
|
| iOS | iOS 26+ with Apple Intelligence enabled. Loads on iOS 16.4+ without crashing (returns `notEligible`). Host project must target iOS 16.4+. |
|
|
10
10
|
| Android | Device with Gemini Nano support (Pixel 8+, Galaxy S25+). Model may require download. |
|
|
11
|
+
| Expo SDK | 52+ (peer requirement). Tested against SDK 56 and SDK 57 (React Native 0.86). |
|
|
11
12
|
|
|
12
13
|
## Installation
|
|
13
14
|
|
|
@@ -15,7 +16,7 @@ Expo module for on-device LLM inference. Wraps Apple Foundation Models (iOS 26+)
|
|
|
15
16
|
npm install expo-local-llm
|
|
16
17
|
```
|
|
17
18
|
|
|
18
|
-
This module requires **iOS 16.4+** as a compile target. Expo SDK 56
|
|
19
|
+
This module requires **iOS 16.4+** as a compile target. Expo SDK 56+ defaults to 16.4 (the same as the module's floor), but if you're on an older SDK or have customized the deployment target, raise it via [`expo-build-properties`](https://docs.expo.dev/versions/latest/sdk/build-properties/):
|
|
19
20
|
|
|
20
21
|
```bash
|
|
21
22
|
npx expo install expo-build-properties
|
|
@@ -269,7 +270,7 @@ a bare React Native library. Here's why:
|
|
|
269
270
|
If you're on bare React Native without Expo, this module won't work — you'd need
|
|
270
271
|
to add `expo-modules-core` as a dependency or use a different library.
|
|
271
272
|
|
|
272
|
-
## How is this different from React Native AI? (as of
|
|
273
|
+
## How is this different from React Native AI? (as of June 2026)
|
|
273
274
|
|
|
274
275
|
[React Native AI](https://github.com/callstackincubator/ai) (formerly `@callstack/ai`)
|
|
275
276
|
is a Vercel AI SDK-compatible collection of on-device AI primitives, modularized
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "expo-local-llm",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.1",
|
|
4
4
|
"description": "Expo module for on-device LLM inference via Apple Foundation Models (iOS) and Gemini Nano (Android)",
|
|
5
5
|
"main": "build/index.js",
|
|
6
6
|
"types": "build/index.d.ts",
|
|
@@ -42,12 +42,12 @@
|
|
|
42
42
|
"author": "GijungKim <tonykim970@gmail.com>",
|
|
43
43
|
"license": "MIT",
|
|
44
44
|
"homepage": "https://github.com/GijungKim/expo-local-llm#readme",
|
|
45
|
-
"dependencies": {},
|
|
46
45
|
"devDependencies": {
|
|
47
46
|
"@types/react": "~19.2.14",
|
|
47
|
+
"expo": "^57.0.0",
|
|
48
48
|
"expo-module-scripts": "^56.0.2",
|
|
49
|
-
"expo": "
|
|
50
|
-
"react-native": "0.
|
|
49
|
+
"jest-expo": "~57.0.1",
|
|
50
|
+
"react-native": "0.86.0"
|
|
51
51
|
},
|
|
52
52
|
"jest": {
|
|
53
53
|
"preset": "jest-expo/node"
|