expo-app-blocker 0.1.41 → 0.1.43

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.
@@ -1 +1,21 @@
1
- <manifest/>
1
+ <manifest xmlns:android="http://schemas.android.com/apk/res/android">
2
+ <!--
3
+ QUERY_ALL_PACKAGES — needed so getInstalledApps() can enumerate every
4
+ user-installed app that has a launcher activity. Without this, Android
5
+ 11+ (API 30+) returns only a subset based on package-visibility
6
+ queries. App blockers / digital wellbeing apps are an approved use
7
+ case for this permission on the Play Store.
8
+ -->
9
+ <uses-permission android:name="android.permission.QUERY_ALL_PACKAGES" />
10
+
11
+ <!--
12
+ Fallback queries for devices/builds that do not grant
13
+ QUERY_ALL_PACKAGES — covers any app declaring a launcher activity.
14
+ -->
15
+ <queries>
16
+ <intent>
17
+ <action android:name="android.intent.action.MAIN" />
18
+ <category android:name="android.intent.category.LAUNCHER" />
19
+ </intent>
20
+ </queries>
21
+ </manifest>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-app-blocker",
3
- "version": "0.1.41",
3
+ "version": "0.1.43",
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",