@8bitbish/screenshot-service 1.3.2 → 1.3.3

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.
@@ -771,8 +771,19 @@
771
771
  const devs = await window.wizard.listDevices();
772
772
  lastDevices = devs;
773
773
 
774
- // Only show devices that have completed the wizard flow. Trusted-but-not-onboarded
775
- // devices stay invisible until the user clicks "+ Add another" and walks them through.
774
+ // Auto-onboard any Android adb already sees. There's no per-device wizard
775
+ // step you'd otherwise skip USB trust is the OS-owned "Allow USB debugging"
776
+ // prompt, and wireless pairing is its own flow that already onboards. Without
777
+ // this, devices added by the host app outside the wizard's add-flow stay
778
+ // invisible here even though they work everywhere else.
779
+ for (const d of devs) {
780
+ if (d.platform === 'android' && !isOnboarded(d)) {
781
+ await markOnboarded('android', d.id);
782
+ }
783
+ }
784
+
785
+ // iOS stays strict — devices must complete the wizard flow (trust + dev mode)
786
+ // before they surface in the manager.
776
787
  const mine = devs.filter(d => d.platform === platform && isOnboarded(d));
777
788
 
778
789
  // For ONBOARDED iPhones that lost Developer Mode (e.g. user toggled it off later),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@8bitbish/screenshot-service",
3
- "version": "1.3.2",
3
+ "version": "1.3.3",
4
4
  "description": "Capture screenshots and recordings from connected iPhone and Android devices, with a built-in visual setup wizard.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",