Commit graph

120 commits

Author SHA1 Message Date
umarfatmi05
5ba55e7bb8 Keep the app unsuspended during a debug session so reconnect can run
The tunnel reconnect in the previous commit only fires while StikDebug is
actually executing. In the real handoff scenario the user has switched to the
JIT-enabled app, so StikDebug is backgrounded — and upstream lets iOS suspend
it, which means the path-change notification is never delivered and the
tunnel stays dropped.

Two upstream behaviours cause that suspension:
- Keep-alive only ran if the user had the "Silent Audio"/"Background Location"
  toggles on. DebugKeepAliveLease now takes forced holds (force: true) that
  bypass those toggles for the duration of a debug session, released when the
  session ends. Both managers keep separate forced/unforced counters.
- The background-task expiration handler called invalidate(), tearing down
  audio and location the moment the ~30s assertion elapsed. It now renews the
  assertion (re-checking isActive) while silent audio sustains execution.

Also play an inaudible non-zero signal (~-80 dBFS, DC-free) instead of digital
silence, which some iOS versions treat as idle and reclaim. SettingsView calls
refreshFromSettings() rather than stop(), so toggling the setting off no longer
kills a forced session hold.

This is the minimal slice of the PR's keep-alive work that the cellular
reconnect depends on. Drop this commit for a foreground-only cellular fix.

Ported from StephenDev0/StikDebug#432 commit 656ec6d (keep-alive slice).

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-04 19:04:55 -04:00
umarfatmi05
6c167f660c Support cellular: monitor network path and reconnect the tunnel
StikDebug assumed Wi-Fi even though the tunnel rides LocalDevVPN and works
equally well on cellular. On a Wi-Fi<->cellular handoff the loopback tunnel
dropped silently and the JIT/debug session died with no recovery.

- Add NetworkPathMonitor (NWPathMonitor) reporting reachability, interface
  type (Wi-Fi/cellular/VPN) and expensiveness, posting .networkPathDidChange
  on real transitions (deduplicated by signature).
- TunnelManager retries connect 3x with 1s/2s backoff so transient cellular
  failures recover, short-circuiting on permanent, user-actionable errors
  (missing/invalid pairing -9/-17, bad target IP -18).
- TunnelManager reconnects on a debounced (1.5s) path change when the tunnel
  is down, instead of staying dropped.
- Drop the false "Wi-Fi required" wording from connection alerts and README.

Ported from StephenDev0/StikDebug#432 commit 656ec6d (cellular slice only).
The keep-alive half of that commit follows as a separate commit.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-04 19:04:55 -04:00
CelloSerenity
460fb235c2
Fix uncomfortable blue line 2026-08-25 16:32:41 -06:00
CelloSerenity
66e359c7e2
Update README.md 2026-08-19 16:09:45 -06:00
CelloSerenity
ae460a7a5d
Fix extra line 2026-08-07 15:07:15 -06:00
CelloSerenity
8fdfb193e0
Fix image links in README.md 2026-08-07 15:00:40 -06:00
30cfa58785
Update download links and images in README.md 2026-08-03 14:27:51 -04:00
38c0ca1348
Update links to reflect new GitHub repository 2026-08-03 12:34:07 -04:00
CelloSerenity
85fb1350a4
3.1.9 2026-08-01 14:08:49 -06:00
CelloSerenity
1bb753086f
Update readme 2026-06-16 22:12:39 -06:00
ca2df1efd2
Update README.md 2026-06-01 07:32:57 -04:00
848ddbbfa4
Update README.md 2026-05-31 21:12:34 -04:00
Stephen
f9c1f46fad Change StikJIT to StikDebug 2026-05-20 09:07:55 -04:00
faaf0fecaa
Update StikDebug download link to version 3.1.3 2026-05-18 10:50:55 -04:00
Stephen
0169ec97fe
Update StikDebug download link to version 3.1.2 2026-04-12 02:41:49 -04:00
Stephen
842055322c
Update StikDebug download link to version 3.1.1 2026-04-03 23:34:09 -04:00
Stephen
8bae535b44
Update README 2026-04-03 19:41:42 -04:00
Stephen
23b4d5c37d
Change warning and note labels in README.md
Updated warning and note formatting in README.md to reflect changes in the Tools section and download availability.
2026-03-31 10:42:11 -04:00
Stephen
e02d9d154e
Update README with note on Tools section migration
Added note about moving Tools section to a separate app for better maintenance and user experience.
2026-03-31 10:41:05 -04:00
Stephen
0fdd001795
Update README.md 2026-03-31 07:56:43 -04:00
Stephen
ef6ba0009f
Update StikDebug download link to version 3.1.0 2026-03-30 13:53:54 -04:00
Stephen
c1a30c8fbd
Revise iOS version support information
Updated iOS version support details in README.
2026-03-30 12:51:43 -04:00
Stephen
f8697a0b83
Bump app version to 3.0.1 (#338) 2026-03-08 14:51:46 -04:00
CelloSerenity
77b3ff6133
Fix typos and improve wording in README.md 2026-02-26 12:30:16 -07:00
Stephen
1fe6bb3ce3
Update README.md 2026-02-26 07:23:30 -05:00
Stephen
4c1bd29e1a
Update README.md 2026-02-26 07:22:47 -05:00
Stephen
5f35ab8edd
Update README.md 2026-02-25 21:22:55 -05:00
Stephen
a79ec87462
Update README.md 2026-02-25 13:50:08 -05:00
Stephen
f3d2dec2e5
Semi-Rewrite – Major Refactor & Codebase Cleanup (#328)
* Change default UPLOAD_IPA value to 'false'

* Part 1 of the great debloat

* Remove Mini Tools, adopt native alerts in StikJITApp, and update HomeView UI

* Refactor views to use native SwiftUI alerts instead of CustomErrorView

* Update ProfileView to use minimal List UI style with native alerts

* Fix up homeview

* Squash: Redesign HomeView, remove Feature Flags, enable all tabs, refactor alerts, and updates

- Redesign HomeView to a simpler style with 'Enable JIT' action.
- Remove 'Help & Info' and 'Quick Launch' from Home.
- Fix DDI false positive by starting heartbeat on HomeView appear.
- Restore robust DDI checks and update app name to 'StikDebug'.
- Remove FeatureFlags and Beta tags; enable 'profiles', 'processes', 'location' tabs by default.
- Remove 'Devices' tab; add 'Target Device IP' field in Settings.
- Hardcode 'Settings' tab to 4th position.
- Refactor 'SettingsView' tab customization to be reorder-only.
- Remove 'Appearance' theme section from Settings.
- Refactor custom error cards to use native SwiftUI/UIKit alerts across the app (HomeView, ConsoleLogsView, ProfileView, etc).
- Restore JS callback support and script execution logic in HomeView.
- Add necessary Color extensions.
- Update project version to 3.0.0.

* Clean up: Remove In-App Purchases, update checker, and unused IPA installer code

* delete more bloat

* fix build issue

* Remove widget to save on App IDs

* Attempt heartbeat restart when Enable JIT button is pressed

* Get rid of PIP

* Update Tab Naming

* remove more bloat

* final changes for today

* Remove unused packages

* UX Improvements

* revert bundle id

* Update README.md

* remove old idevice

* add updated idevice

* Fix ddi false positive errors and add templates for GitHub stuff

* Remove more unused stuff.

* Fix links and update README content

* Update compatibility table in README.md

* Improve performance of console logs

* Remove old code

* Change default UPLOAD_IPA value to 'true'

* remove the welcome sheet

* import support for .mobiledevicepair

* Add back LC JIT stuff

* Fix heartbeat issues with LC JIT

* update the build yml for nightly stuff

* Update README.md

* Update README.md

* Update GitHub Actions workflow for IPA build

* Update GitHub Actions workflow for nightly builds

* Add URL scheme to kill tasks stikjit://kill-process?pid=1234

* fix build issues

* Added App Intents

* Unify the error handling style across the app
2026-02-25 13:44:00 -05:00
Stephen
880f610c64
Remove features section from README
Removed features section from README.md.
2026-02-22 13:55:41 -05:00
Stephen
59c1403ea4
Update README.md 2026-02-19 09:16:58 -05:00
Stephen
e557542b0f
Update README.md 2026-02-19 09:13:25 -05:00
Stephen
a0e8f6c93a
Update README.md 2026-02-19 09:08:54 -05:00
Stephen
d676165fd4
Add warning to readme 2026-02-19 09:03:22 -05:00
Stephen
79494c14f2
Update README.md 2026-01-21 07:33:09 -05:00
Stephen B
61659c1cd1
Fix download link in the README.md 2026-01-16 11:58:28 -05:00
CelloSerenity
6a170152e2
Update StikDebug download link to version 2.3.7 2026-01-09 12:28:19 -07:00
CelloSerenity
44d81afa4e
Add download section to README (#305)
* Add download section to README

Added download section with links and images for AltSource and StikDebug.

* Update download link in README.md
2025-12-17 23:20:02 -05:00
Stephen B
1665973d1f
Remove app link from README 2025-12-17 21:25:52 -05:00
Stephen B
03aa05d3e4 Merge branch 'main' of https://github.com/StephenDev0/StikDebug 2025-12-17 21:21:48 -05:00
Stephen B
6a6411a1cf 2.3.6 2025-12-17 21:21:47 -05:00
Stephen B
f3b2296262
Remove download section from README
Removed download section with app store links from README.
2025-12-17 18:46:52 -05:00
Stephen B
d73439c7c7
Update README.md 2025-11-10 17:06:06 -05:00
CelloSerenity
39d39c8eca
Fix Geode (#276)
* Make readme self-sufficient

* Fix Geode
2025-10-19 13:29:54 -04:00
Stephen B
569974d70a
Update logo image source in README.md 2025-10-19 00:48:56 -04:00
kl9ije.dev
e31594e693
Update README.md (#274) 2025-10-14 01:36:50 -04:00
Stephen B
582e28820c
Update README.md 2025-10-08 14:25:05 -04:00
Stephen B
83675f5d00
Update README.md 2025-10-08 14:19:19 -04:00
Stephen B
4456eff3a1
Update README.md 2025-10-06 15:35:26 -04:00
CelloSerenity
cd0f03ba04
Fix toggles (#243)
* Update SettingsView.swift

* Update README.md

* Update info.md
2025-07-31 01:56:21 -04:00