@synostudios/app-reporter 0.3.0 → 0.4.0
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/package.json +3 -2
- package/src/index.tsx +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synostudios/app-reporter",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"description": "A draggable bug-report button for Expo apps: screenshot, note and context, sent to your own endpoint. Shows only in dev and TestFlight builds.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "src/index.tsx",
|
|
@@ -19,9 +19,9 @@
|
|
|
19
19
|
"release": "npm run typecheck && npm version minor --no-git-tag-version && npm publish"
|
|
20
20
|
},
|
|
21
21
|
"peerDependencies": {
|
|
22
|
+
"expo": ">=52",
|
|
22
23
|
"expo-application": ">=6",
|
|
23
24
|
"expo-device": ">=7",
|
|
24
|
-
"expo-modules-core": "*",
|
|
25
25
|
"react": ">=19",
|
|
26
26
|
"react-native": ">=0.79",
|
|
27
27
|
"react-native-screens": ">=4",
|
|
@@ -29,6 +29,7 @@
|
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@types/react": "~19.3.0",
|
|
32
|
+
"expo": "~58.0.23",
|
|
32
33
|
"expo-application": "~58.1.2",
|
|
33
34
|
"expo-device": "~58.0.5",
|
|
34
35
|
"react": "19.3.0",
|
package/src/index.tsx
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Shows in dev builds and TestFlight installs, never in App Store installs: see README.md.
|
|
3
3
|
import * as Application from "expo-application";
|
|
4
4
|
import * as Device from "expo-device";
|
|
5
|
-
import { requireOptionalNativeModule } from "expo-modules-core
|
|
5
|
+
import { requireOptionalNativeModule } from "expo"; // expo re-exports it; a direct expo-modules-core peer trips expo-doctor (2026-11-09)
|
|
6
6
|
import { useEffect, useRef, useState } from "react";
|
|
7
7
|
import {
|
|
8
8
|
ActivityIndicator,
|