expo-app-blocker 0.1.22 → 0.1.24
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/.github/workflows/publish.yml +1 -1
- package/.github/workflows/stale.yml +1 -1
- package/README.md +18 -0
- package/package.json +5 -3
package/README.md
CHANGED
|
@@ -19,6 +19,7 @@ https://github.com/user-attachments/assets/37f34797-6b92-40d5-911a-90c40e9ffaaa
|
|
|
19
19
|
<summary><strong>Table of Contents</strong></summary>
|
|
20
20
|
|
|
21
21
|
- [Features](#features)
|
|
22
|
+
- [Build Compatibility](#build-compatibility)
|
|
22
23
|
- [Quick Start](#quick-start)
|
|
23
24
|
- [Prerequisites](#prerequisites)
|
|
24
25
|
- [Plugin Options](#plugin-options)
|
|
@@ -56,6 +57,23 @@ https://github.com/user-attachments/assets/37f34797-6b92-40d5-911a-90c40e9ffaaa
|
|
|
56
57
|
- Automatic iOS extension target creation via `@bacons/apple-targets`
|
|
57
58
|
- Full Expo Config Plugin - no manual native setup required
|
|
58
59
|
|
|
60
|
+
## Build Compatibility
|
|
61
|
+
|
|
62
|
+
| Build type | Supported | Notes |
|
|
63
|
+
|---|---|---|
|
|
64
|
+
| **Expo Go** | ❌ | Requires custom native modules — not available in Expo Go |
|
|
65
|
+
| **Development build** (`expo-dev-client`) | ✅ | Fully supported — same setup as production |
|
|
66
|
+
| **Local build** (`expo run:ios` / `expo run:android`) | ✅ | Fully supported |
|
|
67
|
+
| **EAS Build** | ✅ | Fully supported — see [EAS Build config](#eas-build) |
|
|
68
|
+
| **Production / App Store** | ✅ | Fully supported — iOS requires Apple approval first |
|
|
69
|
+
|
|
70
|
+
**This plugin requires a development build or a production build.** If you're using Expo Go, you'll need to [create a development build](https://docs.expo.dev/develop/development-builds/introduction/) first:
|
|
71
|
+
|
|
72
|
+
```bash
|
|
73
|
+
npx expo install expo-dev-client
|
|
74
|
+
npx expo run:ios --device # or: eas build --profile development
|
|
75
|
+
```
|
|
76
|
+
|
|
59
77
|
## Quick Start
|
|
60
78
|
|
|
61
79
|
### 1. Install
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "expo-app-blocker",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.24",
|
|
4
4
|
"description": "Expo module for cross-platform app blocking. Android: UsageStatsManager + Overlay. iOS: Screen Time API (FamilyControls + ManagedSettings + DeviceActivity).",
|
|
5
5
|
"main": "src/index.ts",
|
|
6
6
|
"types": "src/index.ts",
|
|
@@ -38,7 +38,9 @@
|
|
|
38
38
|
"react-native": ">=0.74.0"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"
|
|
42
|
-
"
|
|
41
|
+
"@types/react": "^19.2.14",
|
|
42
|
+
"@types/react-native": "^0.72.8",
|
|
43
|
+
"expo-modules-core": "^3.0.0",
|
|
44
|
+
"typescript": "~5.9.2"
|
|
43
45
|
}
|
|
44
46
|
}
|