Compare commits

..

1189 Commits

Author SHA1 Message Date
Jonas Bark
aa8089556a Merge branch 'login' of github.com:OpenBikeControl/bikecontrol into login 2026-02-16 17:17:57 +01:00
Jonas Bark
f572a5c300 macOS login 2026-02-16 17:17:52 +01:00
jonas.bark@gmx.de
dcd11e6c4b Windows login 2026-02-16 17:14:38 +01:00
Jonas Bark
3f1a920888 sign in with google, apple 2026-02-16 16:26:22 +01:00
Jonas Bark
ceeca9dd02 training peaks BLE workaround 2026-02-16 12:10:05 +01:00
Jonas Bark
ab379cf74b shorebird cleanup 2026-02-16 11:02:59 +01:00
Jonas Bark
ad7bd646f3 cleanup 2026-02-16 11:00:20 +01:00
Jonas Bark
7ed1ba4397 fix import 2026-02-15 21:49:28 +01:00
Jonas Bark
a9cb929b01 cleanup ui 2026-02-15 21:48:04 +01:00
Jonas Bark
8d056b526e Di2: resolve issue #233 2026-02-15 21:44:02 +01:00
Jonas Bark
7a77acaf94 local connection tile always show as suggested 2026-02-15 13:40:33 +01:00
Jonas Bark
216dc97517 zwift click: send 0xff command again 2026-02-15 12:20:17 +01:00
Jonas Bark
746a680449 cleanup 2026-02-15 10:11:43 +01:00
Jonas Bark
b1385e70cc actions 2026-02-14 10:34:17 +01:00
Jonas Bark
aec24bba61 enable audio button capture on iOS 2026-02-14 10:11:25 +01:00
Jonas Bark
226824c14a actions 2026-02-14 10:06:53 +01:00
Jonas Bark
8c4816ffd0 actions 2026-02-14 10:06:29 +01:00
Jonas Bark
07423fc0f6 fix unit test 2026-02-14 09:54:32 +01:00
Jonas Bark
812a4efe13 Merge remote-tracking branch 'origin/copilot/fix-vs200-double-shifting'
# Conflicts:
#	test/thinkrider_vs200_test.dart
2026-02-14 09:51:29 +01:00
Jonas Bark
8dadc07e07 fix unit tests 2026-02-14 09:50:36 +01:00
copilot-swe-agent[bot]
15dc34b2ea Add clarifying comments for two-call pattern in handleButtonsClickedWithoutLongPressSupport
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2026-02-14 07:51:10 +00:00
copilot-swe-agent[bot]
d8a528017d Add comprehensive tests for VS200 single-click behavior
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2026-02-14 07:50:25 +00:00
copilot-swe-agent[bot]
d2a41fc2fa Fix VS200 double shifting by handling non-long-press buttons correctly
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2026-02-14 07:49:25 +00:00
copilot-swe-agent[bot]
7b2f16772d Initial plan 2026-02-14 07:42:09 +00:00
Jonas Bark
edf19e3ffa fix MyWhoosh Link issue 2026-02-12 18:23:14 +01:00
Jonas Bark
ec4e4fc375 fix public compilation 2026-02-11 09:00:00 +01:00
Jonas Bark
59141c81af support Zwift Ride with old firmware 2026-02-11 08:56:10 +01:00
Jonas Bark
732bb4a150 version++ 2026-02-10 15:15:18 +01:00
Jonas Bark
84d9d1e312 accessories should not be displayed in keymap customize tab 2026-02-10 15:15:01 +01:00
Jonas Bark
3b6f9f6f29 version++ 2026-02-10 09:44:40 +01:00
Jonas Bark
21f7636cee patch it 2026-02-10 09:13:44 +01:00
Jonas Bark
3eda3b590a update submodule 2026-02-10 09:12:38 +01:00
Jonas Bark
f844681f4c kickr headwind adjustments #11 2026-02-10 09:11:39 +01:00
Jonas Bark
5c22851d66 Merge branch 'test' 2026-02-10 08:56:49 +01:00
jonasbark
fb2068a08a Merge pull request #296 from OpenBikeControl/copilot/fix-button-press-headwind-issue
Add delay between mode change and speed commands for Wahoo KICKR Headwind
2026-02-10 08:55:43 +01:00
copilot-swe-agent[bot]
f7a0b8dca8 Fix headwind first button press issue by adding delay between mode and speed commands
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2026-02-10 07:44:37 +00:00
copilot-swe-agent[bot]
76c59537c1 Initial plan 2026-02-10 07:42:07 +00:00
Jonas Bark
81f14f16fd openbikecontrol via dircon 2026-02-08 11:28:48 +01:00
Jonas Bark
c4a8d1ef9c remove BLE services when disconnecting 2026-02-08 10:02:12 +01:00
Jonas Bark
a1cfe43ef9 cleanup toast handling 2026-02-08 10:01:54 +01:00
Jonas Bark
14f5486ab6 fix potential crash 2026-02-07 09:56:35 +01:00
jonasbark
a7e2b5bc26 Update Windows Store version from 4.6.2 to 4.7.2 2026-02-06 19:26:03 +01:00
Jonas Bark
8bea3b36cc fix patch yaml 2026-02-06 14:23:45 +01:00
Jonas Bark
2802ead254 missing methods in shared public 2026-02-06 13:20:50 +01:00
Jonas Bark
5c2ae38951 fix module 2026-02-06 13:17:23 +01:00
Jonas Bark
0dc6ea7fd4 fix module 2026-02-06 13:16:10 +01:00
Jonas Bark
288fbed819 logic fixes 2026-02-06 13:02:21 +01:00
Jonas Bark
497528c75b iOS: keep app alive in background 2026-02-06 12:51:47 +01:00
Jonas Bark
d8ceea9c63 purchasing the app on Android is now finally possible 2026-02-06 10:27:21 +01:00
Jonas Bark
bed3dac98e update submodule 2026-02-05 17:33:39 +01:00
Jonas Bark
9eaa9c53f9 add new remote keyboard connection method 2026-02-05 17:22:21 +01:00
Jonas Bark
ccd1d46128 reenable shorebird, fix button editor for remote setting 2026-02-05 14:45:21 +01:00
Jonas Bark
79edebc8f9 cleanup 2026-02-05 14:30:15 +01:00
Jonas Bark
dbf148c41f fix messages 2026-02-05 14:28:15 +01:00
Jonas Bark
fe898cefda fix #246 2026-02-05 14:23:50 +01:00
Jonas Bark
f662d0a36a Merge branch 'main' of github.com:OpenBikeControl/bikecontrol 2026-02-04 15:28:17 +01:00
jonasbark
5c8a5934f2 Merge pull request #290 from OpenBikeControl/copilot/save-enable-media-key-setting
Persist media key detection setting across app restarts
2026-02-04 15:27:49 +01:00
copilot-swe-agent[bot]
c7e845086a Simplify assignment per code review feedback
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2026-02-04 14:08:10 +00:00
copilot-swe-agent[bot]
67a4144ab0 Implement media key detection persistence
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2026-02-04 14:07:07 +00:00
copilot-swe-agent[bot]
bfeb72a775 Initial plan 2026-02-04 14:03:54 +00:00
Jonas Bark
799234c323 set long press by default for steering actions 2026-02-04 12:44:27 +01:00
jonasbark
ab49da1cea Merge pull request #286 from OpenBikeControl/copilot/update-window-title-to-bikecontrol
Fix Windows window title to display "BikeControl"
2026-02-03 10:47:52 +01:00
copilot-swe-agent[bot]
0f41c85590 Fix Windows window title to display "BikeControl"
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2026-02-03 09:39:52 +00:00
copilot-swe-agent[bot]
175ff75637 Update window title from bike_control to BikeControl
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2026-02-03 09:38:20 +00:00
copilot-swe-agent[bot]
6b60046fd5 Initial plan 2026-02-03 09:37:00 +00:00
Jonas Bark
8ecac5d619 bug fixes around keymap 2026-02-03 09:40:57 +01:00
Jonas Bark
1a463f74be reset trial period on Android 2026-02-03 08:41:12 +01:00
Jonas Bark
6fd319ffb2 reset trial period on Android 2026-02-03 08:40:31 +01:00
Jonas Bark
551ed28310 reenable web builds 2026-02-02 10:34:05 +01:00
Jonas Bark
6606586cef introduce prop_public package with stubs, fixes issue #281 2026-02-02 10:29:40 +01:00
Jonas Bark
5157f74714 Merge branch 'main' of github.com:OpenBikeControl/bikecontrol 2026-02-02 09:39:08 +01:00
Jonas Bark
8b30b9bc29 optional: use magnetometer mode in phone steering 2026-02-02 09:17:41 +01:00
jonasbark
9a74a14804 Revise MyWhoosh Link connection instructions
Updated instructions for using the MyWhoosh 'Link' connection method, including clarification on app usage and connection steps.
2026-02-01 20:02:17 +01:00
Jonas Bark
4d16eab3a7 fix shorebird, button editor being opened without copying keymap 2026-02-01 19:47:31 +01:00
Jonas Bark
76bcf2af68 fix shorebird? 2026-02-01 17:53:25 +01:00
Jonas Bark
269fb23c94 fix shorebird? 2026-02-01 17:52:31 +01:00
Jonas Bark
459597aca8 fix 2026-02-01 17:19:21 +01:00
Jonas Bark
2c153f6c22 fix 2026-02-01 17:18:49 +01:00
Jonas Bark
b66285bc83 version++ 2026-02-01 16:56:59 +01:00
Jonas Bark
e1bc66a1b6 update translations 2026-02-01 16:54:31 +01:00
Jonas Bark
fd4e5f5ce8 cleanup, proxy work 2026-02-01 16:33:03 +01:00
Jonas Bark
40a0eae187 move predefined actions for keymap 2026-02-01 10:50:35 +01:00
Jonas Bark
d26cf5eb7b cleanup streams on exit 2026-02-01 10:08:31 +01:00
Jonas Bark
2404f0fdf5 show a message in configuration when no buttons available for a device 2026-02-01 10:00:43 +01:00
Jonas Bark
50199ef077 update license notice 2026-01-31 13:59:45 +01:00
Jonas Bark
11095cf052 move repository, adjust references, license 2026-01-31 13:53:54 +01:00
Jonas Bark
69afc698dc less messages when calibrating 2026-01-30 18:06:13 +01:00
Jonas Bark
babe564f3a fix action assignment 2026-01-30 17:46:58 +01:00
jonasbark
c10666be80 Update Windows Store version to 4.6.2 2026-01-30 12:29:19 +01:00
jonasbark
67ad3fb8c5 Change YouTube video link in README.md
Updated YouTube video link in README.
2026-01-30 10:41:51 +01:00
Jonas Bark
586b17c2d2 version++ 2026-01-29 16:22:46 +01:00
Jonas Bark
4909a1a47f fix issue when duplicating keymap 2026-01-29 16:22:32 +01:00
Jonas Bark
99e603413c improve click V2 unlock logic 2026-01-29 14:57:55 +01:00
Jonas Bark
875f5cb656 fix issue #282 2026-01-29 14:56:47 +01:00
Jonas Bark
7ad65ba5dc version++ 2026-01-28 15:20:11 +01:00
Jonas Bark
7e969b1a94 Merge remote-tracking branch 'origin/main' 2026-01-28 15:19:31 +01:00
Jonas Bark
5689980c87 potentially fix #276 2026-01-28 15:19:24 +01:00
jonasbark
b14a6451ed Update README with YouTube video and clean up links
Added a YouTube video link and removed an outdated asset link.
2026-01-28 15:04:01 +01:00
Jonas Bark
7a52828bd1 fix build for Windows 2026-01-28 12:46:12 +01:00
Jonas Bark
6926f5d3d5 fix build for Windows 2026-01-28 12:36:34 +01:00
Jonas Bark
cb6283364a fix build for Windows 2026-01-28 12:36:06 +01:00
Jonas Bark
1e220799be fix build for Windows 2026-01-28 12:34:13 +01:00
Jonas Bark
f0ad53e9d4 Merge branch 'zcv2' 2026-01-28 11:58:19 +01:00
Jonas Bark
b0bf0bd802 version++ 2026-01-28 11:57:47 +01:00
Jonas Bark
e3fc35211f cleanup 2026-01-28 11:56:01 +01:00
Jonas Bark
8c77bcea2a update translations 2026-01-28 09:59:18 +01:00
Jonas Bark
1693605305 move scan settings 2026-01-28 08:40:24 +01:00
jonasbark
93ad9d3a30 Update Wi-Fi SSID instructions for MyWhoosh Link
Clarify instructions regarding device connections for MyWhoosh Link.
2026-01-27 13:22:37 +01:00
Jonas Bark
15bc4ab2af version++ 2026-01-26 15:53:47 +01:00
Jonas Bark
6c0942acad make phone steering option more clear 2026-01-26 15:53:19 +01:00
Jonas Bark
351e702238 cleanup 2026-01-26 09:27:07 +01:00
Jonas Bark
8119d69c1a cleanup 2026-01-26 09:00:52 +01:00
Jonas Bark
13d11dd927 adjust logic 2026-01-24 14:22:12 +01:00
Jonas Bark
f4c47071fb fix build 2026-01-23 20:03:19 +01:00
Jonas Bark
7043d16108 actions 2026-01-23 19:05:42 +01:00
Jonas Bark
eb587c4341 actions 2026-01-23 18:48:06 +01:00
Jonas Bark
80bd4725d1 actions, logs fix 2026-01-23 18:31:28 +01:00
Jonas Bark
25ff46d527 update changelog, actions 2026-01-23 17:58:04 +01:00
Jonas Bark
7acd86fc94 UI adjustments 2026-01-23 17:48:29 +01:00
Jonas Bark
26047da35c update changelog, actions 2026-01-23 15:52:19 +01:00
Jonas Bark
d3ab4f8804 group buttons by device, add new unlock mechanism 2026-01-23 15:27:32 +01:00
Jonas Bark
29940d45ba version++ 2026-01-22 18:41:45 +01:00
Jonas Bark
c6296b009a version++ 2026-01-22 18:38:50 +01:00
Jonas Bark
130a638e2b version++ 2026-01-22 18:30:12 +01:00
Jonas Bark
12a5d9e52b version++ 2026-01-22 18:13:32 +01:00
Jonas Bark
2e69cdb593 version++ 2026-01-22 17:47:00 +01:00
Jonas Bark
6d6427f8cd fix macOS build issue 2026-01-22 17:31:52 +01:00
Jonas Bark
2d73d8577e fix macOS build issue 2026-01-22 17:11:17 +01:00
Jonas Bark
19e72af527 version++ 2026-01-22 16:44:48 +01:00
Jonas Bark
1692c584f4 update flutter 2026-01-22 16:44:26 +01:00
Jonas Bark
ab8e1b6afe fix build 2026-01-22 15:40:23 +01:00
Jonas Bark
9a7c4bb13a update changelog, translations 2026-01-22 14:47:17 +01:00
Jonas Bark
b97298099c Windows & macOS: allow configuration of volume keys on Bluetooth HID devices 2026-01-22 14:29:57 +01:00
Jonas Bark
a7a91e00a2 inform user to enable local connection method on Android 2026-01-22 14:10:15 +01:00
Jonas Bark
ad7d8276a2 update changelog 2026-01-22 08:22:55 +01:00
Jonas Bark
6d652ad70b show side identifier for Zwift Play 2026-01-21 13:06:26 +01:00
Jonas Bark
94d5b4ad92 improve default actions 2026-01-21 12:52:27 +01:00
Jonas Bark
792d2733ff add missing openbikecontrol actions 2026-01-21 10:33:17 +01:00
Jonas Bark
07e4b5e89f cleanup 2026-01-19 16:57:54 +01:00
Jonas Bark
fe271038cb fix media key buttons 2026-01-19 16:57:39 +01:00
Jonas Bark
51cb4859e3 fix import, adjust changelog 2026-01-19 11:18:43 +01:00
jonasbark
b4667ca894 Merge pull request #270 from jonasbark/copilot/add-device-button-config
Generalize per-device mappings for Bluetooth controllers and persist device IDs in keymaps
2026-01-19 11:02:00 +01:00
Jonas Bark
f79cfb6319 Merge branch 'main' of github.com:jonasbark/swiftcontrol 2026-01-19 11:01:45 +01:00
Jonas Bark
97279b7c16 update dependencies 2026-01-19 11:01:42 +01:00
copilot-swe-agent[bot]
5b8a64c356 refactor: generalize per-device button handling
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2026-01-19 09:55:00 +00:00
copilot-swe-agent[bot]
29777d86e0 feat: device-specific thinkrider mapping
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2026-01-19 09:37:14 +00:00
copilot-swe-agent[bot]
58440148b3 chore: update progress checklist
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2026-01-19 09:26:30 +00:00
copilot-swe-agent[bot]
bfcf43d428 feat: per-device cycplus mapping
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2026-01-19 09:23:06 +00:00
copilot-swe-agent[bot]
b8448d57e5 Initial plan 2026-01-19 09:13:25 +00:00
Jonas Bark
000104365c add OpenBikeControl protocol to onboarding 2026-01-19 08:23:30 +01:00
jonasbark
8141310f7b Update Windows Store version to 4.4.1 2026-01-17 19:08:48 +01:00
jonasbark
f432d9d187 Merge pull request #265 from jonasbark/copilot/add-special-keys-to-buttoneditor
Add Android global actions to local control button editor
2026-01-17 14:51:54 +01:00
Jonas Bark
5ab8ccc8c8 Merge branch 'copilot/add-special-keys-to-buttoneditor' of github.com:jonasbark/swiftcontrol into copilot/add-special-keys-to-buttoneditor
# Conflicts:
#	CHANGELOG.md
2026-01-17 14:48:25 +01:00
Jonas Bark
fd9818707e PR feedback 2026-01-17 14:46:22 +01:00
jonasbark
7422ff8624 Update CHANGELOG.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-17 14:39:56 +01:00
Jonas Bark
58cf7b5bf3 update changelog 2026-01-17 14:19:47 +01:00
Jonas Bark
87d71e1213 Android: simulate additional actions for local connection method (Left, Down, Right, Up, Down, Select, Back, Home, Recent Apps), allowing you to navigate in the trainer app, if supported 2026-01-17 13:52:27 +01:00
Jonas Bark
a0cde5352f Merge branch 'main' into copilot/add-special-keys-to-buttoneditor 2026-01-17 13:14:15 +01:00
copilot-swe-agent[bot]
b6ed1c047d Add Android global actions support
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2026-01-17 12:06:48 +00:00
Jonas Bark
8d8cb7381a fix configuration not updating for new buttons 2026-01-17 12:59:39 +01:00
copilot-swe-agent[bot]
f3bbf5e06c Initial plan 2026-01-17 11:50:53 +00:00
Jonas Bark
a5f9b42e6f Windows: fix media key detection 2026-01-17 12:11:14 +01:00
Jonas Bark
d053101c14 Merge branch 'main' of github.com:jonasbark/swiftcontrol 2026-01-17 12:01:26 +01:00
jonasbark
3022b15d3a Merge pull request #264 from jonasbark/copilot/fix-bikecontrol-gear-change-issue
Allow Rouvy gear changes while app is in background
2026-01-17 12:00:33 +01:00
jonas.bark@gmx.de
6b541e1d14 allow all apps to execute keyboard key in background 2026-01-17 11:58:15 +01:00
copilot-swe-agent[bot]
586b148ed3 Allow Rouvy gear changes while app is in background
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2026-01-17 09:11:34 +00:00
copilot-swe-agent[bot]
cf47a758ee Refine background window handling
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2026-01-17 09:10:56 +00:00
copilot-swe-agent[bot]
89230815a2 Allow background keypress for Rouvy
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2026-01-17 09:10:17 +00:00
copilot-swe-agent[bot]
60a176bba2 Initial plan 2026-01-17 09:07:01 +00:00
Jonas Bark
44b5c010ba cleanup 2026-01-16 13:29:44 +01:00
Jonas Bark
425c65528b change notification icon 2026-01-16 12:59:39 +01:00
Jonas Bark
8ac6f58d8e fix detection for hardware buttons when BikeControl is in foreground, change notification icon 2026-01-16 12:38:10 +01:00
Jonas Bark
f6ac724c60 fix iap logic on Android 2026-01-16 11:59:50 +01:00
Jonas Bark
9010346c0b cleanup 2026-01-16 00:44:08 +01:00
Jonas Bark
41a3a8f14d update changelog 2026-01-16 00:21:01 +01:00
Jonas Bark
a883abcd1c Merge remote-tracking branch 'origin/main' 2026-01-16 00:20:40 +01:00
Jonas Bark
ab37de8f40 fix issue #258 2026-01-16 00:20:30 +01:00
jonasbark
ac0e15eaa7 Update instructions for MyWhoosh Link connectivity 2026-01-15 17:06:46 +01:00
Jonas Bark
a6a7e7f0c2 show logs file path 2026-01-15 14:35:18 +01:00
Jonas Bark
3cacdf9a3a update changelog 2026-01-15 14:25:36 +01:00
Jonas Bark
3ebbda3690 kickr headwind: write without response to potentially fix #11 2026-01-15 08:55:03 +01:00
Jonas Bark
74abb13acf skip powermeters from connecting 2026-01-14 12:12:19 +01:00
Jonas Bark
86addc00fd Merge remote-tracking branch 'origin/win' 2026-01-13 18:42:52 +01:00
jonas.bark@gmx.de
9cebea225c fix import 2026-01-13 18:42:42 +01:00
jonasbark
59bdb30321 Merge pull request #255 from jonasbark/win
Win
2026-01-13 18:20:52 +01:00
Jonas Bark
d51fb7dfa2 update translations 2026-01-13 18:20:25 +01:00
jonas.bark@gmx.de
b955c51a91 cleanup 2026-01-13 18:07:35 +01:00
Jonas Bark
86ecd1ad20 check win package format 2026-01-13 17:57:01 +01:00
jonas.bark@gmx.de
c089b3bdbd fix test phase logic 2026-01-13 17:49:17 +01:00
Jonas Bark
9612b213aa adjust instructions 2026-01-13 11:49:27 +01:00
Jonas Bark
83c9b52708 Merge branch 'copilot/fix-bluetooth-keyboard-issue' 2026-01-12 18:43:46 +01:00
Jonas Bark
a7bde7c08a UI fix 2026-01-12 18:43:10 +01:00
Jonas Bark
c8613b5975 fix implementation 2026-01-12 18:42:54 +01:00
jonasbark
87bb728601 Merge pull request #253 from jonasbark/copilot/add-support-thinkrider-vs200
Add support for Thinkrider VS200 virtual shifter
2026-01-12 17:55:47 +01:00
copilot-swe-agent[bot]
e1f9d4fb08 Add debug logging for all received hexValues while in beta
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2026-01-12 16:55:12 +00:00
copilot-swe-agent[bot]
14e6c1186c Address code review feedback: memory leak and thread safety
- Store keymap update subscription to allow cancellation on re-init
- Fix List<String?> to List<String> in setHandledKeys signature
- Use ConcurrentHashMap.newKeySet() for thread-safe handledKeys access
- Clear and update the set instead of replacing it

Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2026-01-12 16:52:22 +00:00
copilot-swe-agent[bot]
abeb142f0b Fix case-insensitive pattern matching for VS200
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2026-01-12 16:50:52 +00:00
copilot-swe-agent[bot]
d416756614 Update VS200 logic: use only FEA0 service with specific byte patterns
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2026-01-12 16:49:48 +00:00
copilot-swe-agent[bot]
823eb9e9a4 Change approach: Use keymap-based filtering for HID key events
- Add setHandledKeys API to pass list of keys with keymaps to Android side
- Android AccessibilityService checks if key is in handled keys set before swallowing
- Dart side updates handled keys list whenever keymap changes
- Remove hardcoded media/volume key filtering
- This allows keyboards to work for typing while still capturing mapped keys

Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2026-01-12 16:49:19 +00:00
copilot-swe-agent[bot]
6579092f4a Update README with Thinkrider VS200 support
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2026-01-12 16:37:23 +00:00
copilot-swe-agent[bot]
c242c09025 Add support for Thinkrider VS200 virtual shifter
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2026-01-12 16:36:53 +00:00
copilot-swe-agent[bot]
89c9ed598c Fix Android accessibility service to only intercept media/volume keys
- Add isMediaOrVolumeKey() helper to filter key events by key code
- Only swallow media and volume keys (play/pause, next, volume up/down, etc.)
- Let all other keys (typing keys, navigation, etc.) pass through to the system
- This fixes Bluetooth keyboard interference when BikeControl is running

Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2026-01-12 16:36:18 +00:00
copilot-swe-agent[bot]
a3a592bd16 Initial plan 2026-01-12 16:31:49 +00:00
copilot-swe-agent[bot]
a161829913 Initial plan 2026-01-12 16:31:43 +00:00
Jonas Bark
b4473ad067 patch it 2026-01-11 15:48:57 +01:00
jonas.bark@gmx.de
4752f99fcf fix windows issue 2026-01-11 15:47:29 +01:00
Jonas Bark
6e757cf15c list supported actions of connection method 2026-01-11 13:01:10 +01:00
Jonas Bark
a87810db88 list supported actions of connection method 2026-01-11 13:00:43 +01:00
Jonas Bark
0ddb3e8081 clenaup 2026-01-11 12:11:28 +01:00
Jonas Bark
e29aed8bcf version++ 2026-01-11 11:28:43 +01:00
Jonas Bark
d99a3257af optional notification permission on macOS 2026-01-11 11:28:29 +01:00
Jonas Bark
a772b210cd don't connect to both Zwift Ride instances 2026-01-11 11:25:20 +01:00
Jonas Bark
860700ab91 version++ 2026-01-08 10:37:51 +01:00
Jonas Bark
ff5d90d468 fix Apple full version detection 2026-01-08 10:37:36 +01:00
Jonas Bark
43773310d5 ui fix, sync purchases once, Zwift Ride adjustment 2026-01-08 09:43:52 +01:00
jonasbark
2da65645b0 Update Windows Store version to 4.3.0 2026-01-07 14:04:51 +01:00
Jonas Bark
0c62d64987 version++ 2026-01-07 11:21:22 +01:00
Jonas Bark
546f6c2f8f version++ 2026-01-07 11:03:03 +01:00
Jonas Bark
a6ee15e3ba changelog adjustment 2026-01-07 10:37:46 +01:00
Jonas Bark
51793847cf performance & ui fixes 2026-01-07 10:36:41 +01:00
Jonas Bark
f308aa3847 performance & ui fixes 2026-01-07 10:19:21 +01:00
Jonas Bark
695b994577 fix shorebird logic 2026-01-06 18:08:56 +01:00
Jonas Bark
2301d04c61 refactor update UI 2026-01-06 09:10:27 +01:00
Jonas Bark
e46ec5172c OBC adjustments 2026-01-05 13:23:33 +01:00
Jonas Bark
691e108c82 OBC adjustments 2026-01-05 13:22:23 +01:00
Jonas Bark
166146a8f8 Web fixes 2026-01-03 20:50:06 +01:00
Jonas Bark
2a42cfc80f make notifications optional on macOS & iOS 2026-01-03 09:42:03 +01:00
Jonas Bark
aff1f20ebe Merge branch '4.2.4'
# Conflicts:
#	CHANGELOG.md
#	lib/utils/iap/revenuecat_service.dart
2026-01-02 21:02:54 +01:00
Jonas Bark
804fed799d fix logic 2026-01-02 21:02:02 +01:00
Jonas Bark
b6450ba47c restore button 2026-01-02 20:42:23 +01:00
Jonas Bark
14a4234583 instructions UI change 2026-01-02 15:03:46 +01:00
Jonas Bark
72cd165992 instructions for local connection method 2026-01-02 14:03:08 +01:00
Jonas Bark
239aec2083 onboarding UI 2026-01-01 13:50:02 +01:00
Jonas Bark
a43ab60dcb onboarding UI 2026-01-01 13:47:17 +01:00
Jonas Bark
484b7f74e6 onboarding UI 2026-01-01 13:44:45 +01:00
Jonas Bark
8c1ddcb019 ui adjustments 2026-01-01 12:40:45 +01:00
Jonas Bark
306a5badef onboarding for new users 2025-12-31 16:26:40 +01:00
Jonas Bark
e82003cd57 onboarding for new users 2025-12-31 16:16:37 +01:00
Jonas Bark
6a6aafe0a9 onboarding for new users 2025-12-31 15:52:30 +01:00
Jonas Bark
4bd440e167 ui adjustments 2025-12-31 13:51:47 +01:00
Jonas Bark
80d198787f ui adjustments 2025-12-31 12:26:34 +01:00
Jonas Bark
7f7bae477b debug text adjustments 2025-12-31 12:11:06 +01:00
Jonas Bark
2917814ecc alternative title during button editor 2025-12-30 17:45:06 +01:00
Jonas Bark
e268a86f20 fix media key icons 2025-12-30 14:12:55 +01:00
jonasbark
9a13831e91 Merge pull request #240 from jonasbark/copilot/enable-media-key-dispatching
Add media key dispatching for Desktop platforms
2025-12-30 14:04:12 +01:00
copilot-swe-agent[bot]
9f6e57b9ff Fix Windows compilation error: Cast UINT to WORD for wVk field
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-12-30 12:57:32 +00:00
Jonas Bark
86cf7491c3 Revert "issue"
This reverts commit 681ec710a1.
2025-12-30 13:55:30 +01:00
jonas.bark@gmx.de
681ec710a1 issue 2025-12-30 13:54:34 +01:00
Jonas Bark
dc40d61766 fix dart 2025-12-30 13:46:30 +01:00
copilot-swe-agent[bot]
326ff4ce24 Style: Fix code formatting and remove trailing comma in C++
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-12-30 12:43:50 +00:00
copilot-swe-agent[bot]
ca81642c5c Optimize: Make key maps static const for better performance
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-12-30 12:42:38 +00:00
copilot-swe-agent[bot]
32e4b9762b Refactor: Use maps instead of if-else chains for key mappings
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-12-30 12:41:13 +00:00
copilot-swe-agent[bot]
0c94852246 Use string identifiers instead of keyCode for media keys
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-12-30 12:39:26 +00:00
copilot-swe-agent[bot]
d2f67e402b Complete media key dispatching implementation
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-12-30 12:36:10 +00:00
copilot-swe-agent[bot]
145e55fe68 Add proper error handling for media key dispatch
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-12-30 12:34:41 +00:00
copilot-swe-agent[bot]
fd6358c233 Fix command count increment order for media keys
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-12-30 12:33:21 +00:00
copilot-swe-agent[bot]
1d047ce9ef Fix code review issues: error message and type mismatch
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-12-30 12:31:44 +00:00
copilot-swe-agent[bot]
a27a0b8872 Improve documentation for macOS media stop key behavior
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-12-30 12:30:10 +00:00
copilot-swe-agent[bot]
0e98a9d500 Add media key dispatching support for Desktop platforms
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-12-30 12:27:55 +00:00
copilot-swe-agent[bot]
728b2e0b53 Initial plan 2025-12-30 12:21:42 +00:00
jonas.bark@gmx.de
220ffa49c6 fix windows notifications 2025-12-30 13:19:56 +01:00
jonas.bark@gmx.de
74d1ec58de fix a companion mode issue with delayed dispatches 2025-12-30 12:44:02 +01:00
Jonas Bark
b2d19f7e70 ignore messages when in background 2025-12-30 09:44:27 +01:00
Jonas Bark
7db8dfec62 message permission fix 2025-12-29 15:08:46 +01:00
Jonas Bark
b0c0767dc7 obp adjustments 2025-12-29 10:15:36 +01:00
Jonas Bark
2e880869f3 restore purchase 2025-12-29 09:19:06 +01:00
Jonas Bark
1edf949a7a Merge branch 'revenuecat' 2025-12-28 13:14:16 +01:00
Jonas Bark
04c85668fe Merge branch 'main' of github.com:jonasbark/swiftcontrol 2025-12-28 13:14:13 +01:00
Jonas Bark
fcefd863cd version++ 2025-12-28 13:13:57 +01:00
Jonas Bark
64bac7e50f revenue cat changes, italian translation 2025-12-28 13:12:20 +01:00
Jonas Bark
f94c1b1851 check original app version 2025-12-27 09:08:29 +01:00
Jonas Bark
3a013db311 Merge remote-tracking branch 'origin/main' into revenuecat 2025-12-27 09:04:13 +01:00
jonasbark
0fd141316e Revise MyWhoosh Link connection instructions
Updated instructions for using MyWhoosh Link connection method to clarify optional steps and improve readability.
2025-12-27 00:23:16 +01:00
Jonas Bark
2ed4f389c9 Merge branch 'main' into revenuecat 2025-12-26 23:15:47 +01:00
Jonas Bark
9a1a25ed17 unlock for now 2025-12-26 23:15:24 +01:00
Jonas Bark
173fae7472 handle old migrated purchases 2025-12-26 22:57:43 +01:00
Jonas Bark
82c9df2214 fix podfile 2025-12-26 20:35:59 +01:00
Jonas Bark
a49b6b81ae fix podfile 2025-12-26 20:35:53 +01:00
Jonas Bark
dffa7003bc Merge branch 'copilot/integrate-revenuecat-sdk' 2025-12-26 19:44:12 +01:00
Jonas Bark
818ff4909a implement logic 2025-12-26 19:36:20 +01:00
Jonas Bark
d1e054d5c5 implement logic 2025-12-26 18:48:57 +01:00
copilot-swe-agent[bot]
7689da9acd Add future improvements documentation
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-12-26 13:03:53 +00:00
copilot-swe-agent[bot]
0bf336643d Add implementation summary documentation
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-12-26 13:01:51 +00:00
copilot-swe-agent[bot]
70dc5d19e7 Fix async handling and improve error messages
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-12-26 13:00:52 +00:00
copilot-swe-agent[bot]
4da91b0fa3 Fix circular dependency and async issues in RevenueCat service
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-12-26 12:58:50 +00:00
copilot-swe-agent[bot]
cb219c57c4 Add comprehensive RevenueCat setup and configuration documentation
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-12-26 12:55:16 +00:00
copilot-swe-agent[bot]
0be5500d78 Add RevenueCat SDK integration with paywall and customer center support
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-12-26 12:53:51 +00:00
copilot-swe-agent[bot]
94dcccdce3 Initial plan 2025-12-26 12:48:20 +00:00
Jonas Bark
91b6ffdbe2 version++ 2025-12-24 22:38:30 +01:00
Jonas Bark
baa3a73984 Merge branch 'hotfix' 2025-12-24 10:46:53 +01:00
Jonas Bark
dd5c231c47 hopefully fix iap issue on Android 2025-12-24 10:28:58 +01:00
Jonas Bark
3a0d4e1cbc hopefully fix iap issue on Android 2025-12-24 10:08:55 +01:00
Jonas Bark
631f031daa unit test adjustments 2025-12-23 09:10:05 +01:00
Jonas Bark
a487539e6a hotfix 2025-12-22 20:37:44 +01:00
Jonas Bark
ad7454236a hotfix 2025-12-22 20:17:27 +01:00
Jonas Bark
e182fea4d1 hotfix 2025-12-22 20:05:09 +01:00
Jonas Bark
6615061658 hotfix macOS 2025-12-22 20:00:17 +01:00
jonasbark
5c1d423806 Update CHANGELOG.md 2025-12-22 19:34:37 +01:00
Jonas Bark
171f97645f Merge branch 'main' of github.com:jonasbark/swiftcontrol 2025-12-22 19:24:14 +01:00
jonasbark
9511c233a2 Add iPadOS support to connection methods in README
Updated README to include iPadOS in connection methods.
2025-12-22 18:23:47 +01:00
jonasbark
adfc2bd8cf Update Windows Store version to 4.2.2 2025-12-22 15:29:26 +01:00
jonasbark
2adba27dca Fix formatting and clarify trainer app connection 2025-12-22 11:41:41 +01:00
Jonas Bark
b18c85fc8e improve Android notification action handling 2025-12-22 11:13:37 +01:00
Jonas Bark
2e79a43827 axs info 2025-12-22 08:21:02 +01:00
Jonas Bark
0fec34bb56 allow redeeming manually 2025-12-21 22:21:40 +01:00
Jonas Bark
db3e133199 allow redeeming manually 2025-12-21 22:17:47 +01:00
Jonas Bark
971cb91615 allow redeeming manually 2025-12-21 22:16:12 +01:00
Jonas Bark
e5e04f3d59 clarify Android transition 2025-12-21 20:33:51 +01:00
Jonas Bark
fd9f7388e8 check purchases once a day 2025-12-21 16:41:30 +01:00
Jonas Bark
6ae2297246 version++ 2025-12-21 16:00:10 +01:00
Jonas Bark
c6fb2e68b5 win fix 2025-12-21 15:43:44 +01:00
jonas.bark@gmx.de
c84c685a8f attempt to fix remaining trial days calculation 2025-12-21 15:42:17 +01:00
Jonas Bark
102f4a8818 add info for Android users regarding existing purchase 2025-12-21 13:54:08 +01:00
Jonas Bark
661d72fa8c windows adjustments 2025-12-21 10:29:53 +01:00
jonas.bark@gmx.de
38df962e43 windows trial changes 2025-12-21 10:25:52 +01:00
Jonas Bark
e02563733f fix missing entitlements on release builds for macOS 2025-12-20 20:40:53 +01:00
Jonas Bark
c246d2d1fe fix missing entitlements on release builds for macOS 2025-12-20 20:40:12 +01:00
Jonas Bark
8dbed9a8b5 wrong translation 2025-12-20 18:08:13 +01:00
Jonas Bark
6ea4fa82a7 version++ 2025-12-20 11:39:02 +01:00
Jonas Bark
0d78ca6352 version++ 2025-12-20 11:20:39 +01:00
Jonas Bark
b82ad80d1c fix windows build version 2025-12-20 10:56:19 +01:00
Jonas Bark
eece2ce7dc update changelog 2025-12-20 10:30:32 +01:00
jonasbark
3bfd7dd7ab Merge pull request #222 from jonasbark/copilot/implement-in-app-purchase
Implement IAP system with 5-day trial and command limiting
2025-12-20 10:13:33 +01:00
Jonas Bark
b0f3dffc3c screenshots 2025-12-20 10:13:20 +01:00
Jonas Bark
f5234d0c11 update changelog 2025-12-20 10:06:57 +01:00
Jonas Bark
8a12ccb01e cleanup 2025-12-20 10:04:44 +01:00
Jonas Bark
fac2e86240 bugfixes and clarifications 2025-12-20 10:01:37 +01:00
Jonas Bark
39b49bb9de sram fix 2025-12-19 21:06:13 +01:00
Jonas Bark
406ccfa2ce adjust iOS receipt logic 2025-12-19 20:41:45 +01:00
Jonas Bark
16e6b96cc7 SRAM AXS support 2025-12-19 20:41:27 +01:00
Jonas Bark
1e37c8a742 press longer for the simulator, enable long press for devices not supporting long press (e.g. Shimano Di2) 2025-12-19 11:40:07 +01:00
Jonas Bark
5f0389b36f press longer for the simulator, enable long press for devices not supporting long press (e.g. Shimano Di2) 2025-12-19 11:38:30 +01:00
Jonas Bark
8762d85d57 press longer for the simulator, enable long press for devices not supporting long press (e.g. Shimano Di2) 2025-12-19 11:33:13 +01:00
Jonas Bark
018bbd43f1 fix 2025-12-19 10:13:01 +01:00
Jonas Bark
756e3fc556 version++ 2025-12-19 10:09:06 +01:00
Jonas Bark
7ac5f5dbcb fine tune gryoscope logic to react more quickly 2025-12-19 09:29:19 +01:00
Jonas Bark
65c613fd24 fine tune gryoscope logic to react more quickly 2025-12-19 09:29:05 +01:00
Jonas Bark
e0ad9007a4 ui adjustments 2025-12-19 09:21:11 +01:00
Jonas Bark
c3cda5f547 ui adjustments, add polish translations 2025-12-19 08:56:14 +01:00
Jonas Bark
12f379c03d screenshot fix 2025-12-18 15:39:16 +01:00
Jonas Bark
e760c34ede unit test fixes 2025-12-18 15:30:14 +01:00
Jonas Bark
187a15a55d improve trainer controller view 2025-12-18 14:51:49 +01:00
Jonas Bark
3e4751a6b5 refactor sensor logic 2025-12-18 12:24:52 +01:00
Jonas Bark
b05d87196a implement functionality, refactoring 2025-12-18 12:06:34 +01:00
Jonas Bark
b8297848f6 Merge branch 'copilot/add-steering-detection-algorithm' into copilot/implement-in-app-purchase 2025-12-18 11:37:39 +01:00
Jonas Bark
de0f004a48 implement functionality, refactoring 2025-12-18 11:37:21 +01:00
Jonas Bark
0bc9c1d4d2 implement functionality, refactoring 2025-12-18 11:33:14 +01:00
Jonas Bark
3fccb59544 Merge branch 'copilot/implement-in-app-purchase' into copilot/add-steering-detection-algorithm 2025-12-18 09:46:45 +01:00
Jonas Bark
ea76aabf91 update changelog 2025-12-18 09:46:32 +01:00
Jonas Bark
dc1c900bd2 bugfix and animation 2025-12-18 09:26:25 +01:00
Jonas Bark
b1e59d8f2a auto-open key editor on key press 2025-12-18 08:46:31 +01:00
Jonas Bark
006148dbd0 move button simulator page button 2025-12-18 08:33:04 +01:00
Jonas Bark
974ba258f5 teaser new connection methods 2025-12-18 08:11:06 +01:00
copilot-swe-agent[bot]
29d833e9d1 Update README with gyroscope steering device information
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-12-18 06:55:33 +00:00
copilot-swe-agent[bot]
eea72405bb Fix code review issues in gyroscope steering implementation
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-12-18 06:54:42 +00:00
copilot-swe-agent[bot]
e500f1ed0b Add unit tests for gyroscope steering algorithm
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-12-18 06:52:39 +00:00
copilot-swe-agent[bot]
6c3bd2e6a1 Add gyroscope/accelerometer steering support with sensor fusion
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-12-18 06:51:43 +00:00
copilot-swe-agent[bot]
e54d8968e8 Initial plan 2025-12-18 06:44:46 +00:00
Jonas Bark
9dca2e989a check sandbox on iOS / macOS 2025-12-17 15:57:44 +01:00
Jonas Bark
610c5d6ef5 check sandbox on iOS / macOS 2025-12-17 15:48:30 +01:00
Jonas Bark
7797b34852 improve keymap UI 2025-12-17 14:34:08 +01:00
Jonas Bark
99e9f326f7 fix build 2025-12-17 13:05:05 +01:00
Jonas Bark
0f2d73239b fix build 2025-12-17 12:57:32 +01:00
Jonas Bark
497b489ea9 remove Podfile.loc 2025-12-17 12:40:29 +01:00
Jonas Bark
51581f106a cleanup README.md 2025-12-17 12:17:00 +01:00
Jonas Bark
43e9aa02e0 cleanup README.md 2025-12-17 12:13:23 +01:00
Jonas Bark
089a41cc2b translations and ux changes 2025-12-17 11:39:39 +01:00
Jonas Bark
279ab101cc macOS fix 2025-12-17 11:13:42 +01:00
Jonas Bark
c0f278652e show connection update notifications 2025-12-17 10:54:16 +01:00
Jonas Bark
ac02cc78bc show connection update notifications 2025-12-17 10:34:40 +01:00
Jonas Bark
d42ac3af6b notifications on iOS 2025-12-17 10:20:36 +01:00
Jonas Bark
20cfe76091 limit to 80 on Android during trial period, only count sent out commands 2025-12-17 10:02:32 +01:00
Jonas Bark
b68170b489 fix purchause logic 2025-12-17 09:08:28 +01:00
Jonas Bark
21273fa9ca Merge branch 'main' into copilot/implement-in-app-purchase
# Conflicts:
#	CHANGELOG.md
#	lib/bluetooth/devices/base_device.dart
#	pubspec.yaml
2025-12-17 08:41:47 +01:00
jonasbark
700afb1050 Document local connection method for Rouvy
Added instructions for the local connection method in Rouvy.
2025-12-16 19:56:56 +01:00
Jonas Bark
d943544e56 Merge branch 'main' of github.com:jonasbark/swiftcontrol 2025-12-16 19:53:42 +01:00
Jonas Bark
e994eb01dd less confusing messages 2025-12-16 19:53:25 +01:00
jonasbark
59d953bbc4 Update Windows Store version to 4.1.0 2025-12-16 14:36:30 +01:00
Jonas Bark
12ecbf80e1 version++ 2025-12-16 12:19:03 +01:00
Jonas Bark
a5b76b43bf build fix 2025-12-16 11:25:25 +01:00
Jonas Bark
383055bfe2 flutter version 2025-12-16 10:57:28 +01:00
Jonas Bark
24212e8e4c update changelog 2025-12-16 10:50:36 +01:00
Jonas Bark
1513a53dd4 update MyWhoosh keymap to use A and D keyboard keys for steering 2025-12-16 10:41:10 +01:00
Jonas Bark
fe9dd29964 cleanup, translations 2025-12-16 10:14:48 +01:00
Jonas Bark
eece2bcc0f Merge branch 'main' into copilot/implement-in-app-purchase
# Conflicts:
#	lib/bluetooth/devices/openbikecontrol/obc_ble_emulator.dart
2025-12-16 09:19:50 +01:00
Jonas Bark
3ca63c0523 permission order 2025-12-16 09:19:06 +01:00
Jonas Bark
b46982918d resolve #224 2025-12-15 20:16:30 +01:00
Jonas Bark
13b075a1f3 only show supported actions 2025-12-15 13:48:18 +01:00
Jonas Bark
f71a417ac5 only show supported actions 2025-12-15 13:47:43 +01:00
Jonas Bark
27065f2906 prefill obp keymap actions 2025-12-15 13:42:54 +01:00
Jonas Bark
b5d938fd47 error reporting when starting connection method 2025-12-15 13:13:57 +01:00
Jonas Bark
46300fc0d4 hide other connection methods in an accordion 2025-12-15 13:03:37 +01:00
Jonas Bark
93882b8b36 prioritize OBP connection methods when available 2025-12-15 12:48:19 +01:00
jonas.bark@gmx.de
f19c6b8dd0 fix windows implementation 2025-12-15 11:12:06 +01:00
Jonas Bark
968e2c5928 fix button mapping for OpenBikeControl, button simulator changes 2025-12-15 09:49:07 +01:00
Jonas Bark
44599b2d33 fix button mapping for OpenBikeControl, button simulator changes 2025-12-15 09:48:36 +01:00
Jonas Bark
613f75fd25 Merge branch 'main' into copilot/implement-in-app-purchase 2025-12-15 09:22:18 +01:00
Jonas Bark
c09ab5482e fix button mapping for OpenBikeControl 2025-12-15 09:13:44 +01:00
Jonas Bark
6f68e6cb62 iap adjustment 2025-12-15 08:37:56 +01:00
Jonas Bark
43ac412efd iap adjustment 2025-12-14 21:35:06 +01:00
Jonas Bark
7149c98564 windows #2 2025-12-14 20:15:33 +01:00
Jonas Bark
0f4e46a758 windows #1 2025-12-14 19:54:41 +01:00
Jonas Bark
23fb927cd6 in app purchase implementation on macOS / iOS 2025-12-14 19:32:23 +01:00
Jonas Bark
d055a260ab fix shadcn design usage 2025-12-14 16:48:04 +01:00
Jonas Bark
d55fa5f7c0 Merge branch 'main' into copilot/implement-in-app-purchase
# Conflicts:
#	lib/bluetooth/devices/base_device.dart
#	lib/pages/configuration.dart
#	lib/utils/settings/settings.dart
2025-12-14 16:42:50 +01:00
Jonas Bark
5cc49bd246 no device information service on Windows 2025-12-14 16:31:14 +01:00
Jonas Bark
c3c49decd1 remove remains of swift_control 2025-12-14 16:22:07 +01:00
Jonas Bark
127c997ea1 less warnings for Click V2 users 2025-12-13 15:17:28 +01:00
Jonas Bark
724d52ba10 add keyboard input to supported devices 2025-12-13 10:22:55 +01:00
Jonas Bark
5cee0fbf55 use latest flutter 2025-12-13 10:11:28 +01:00
Jonas Bark
e44760d0e3 Revert "patch Android only"
This reverts commit 0eba068910.
2025-12-12 10:48:24 +01:00
Jonas Bark
29be3c4411 Merge remote-tracking branch 'origin/main' 2025-12-12 09:08:17 +01:00
Jonas Bark
0eba068910 patch Android only 2025-12-12 09:08:07 +01:00
Jonas Bark
04dee3f14c fix wrong permission for BLE advertising on Android 2025-12-12 09:06:33 +01:00
copilot-swe-agent[bot]
f4fd658c36 Refactor to reduce code duplication and use constants for magic numbers
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-12-12 07:47:41 +00:00
copilot-swe-agent[bot]
0e80d5612c Fix code review issues: remove unused import and fix negative counter display
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-12-12 07:45:29 +00:00
copilot-swe-agent[bot]
9302ebc667 Add restore purchases functionality to IAP widget
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-12-12 07:43:00 +00:00
copilot-swe-agent[bot]
2265866f58 Clarify existing user detection logic with comments
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-12-12 07:41:11 +00:00
copilot-swe-agent[bot]
8ec6ee5ef0 Improve IAP error handling and add documentation
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-12-12 07:39:13 +00:00
copilot-swe-agent[bot]
a03d250bdb Add IAP service implementation with trial and command limiting
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-12-12 07:37:15 +00:00
copilot-swe-agent[bot]
a0ebac41ea Initial plan 2025-12-12 07:29:07 +00:00
jonasbark
b4b3f5db67 Improve Click V2 connection instructions
Updated troubleshooting steps for Click V2 connection reliability.
2025-12-11 23:47:15 +01:00
Jonas Bark
b291f59e10 change icons 2025-12-11 22:55:54 +01:00
Jonas Bark
02de453952 Windows: fix version check URL 2025-12-11 22:53:16 +01:00
Jonas Bark
4c53f6e408 adjust windows logo 2025-12-11 22:27:29 +01:00
Jonas Bark
4f4d67cccc Merge remote-tracking branch 'origin/main' 2025-12-11 20:44:51 +01:00
Jonas Bark
ef056f0503 web log debugging 2025-12-11 20:44:41 +01:00
jonasbark
a6f5755b42 Update MyWhoosh Link instructions for clarity
Emphasized the importance of closing MyWhoosh Link and added clarification about app connectivity issues.
2025-12-11 19:38:02 +01:00
jonasbark
5ce6e37973 Add troubleshooting section for MyWhoosh clicks
Added troubleshooting tip for unrecognized clicks in MyWhoosh.
2025-12-11 18:27:40 +01:00
Jonas Bark
ebebd7ad8b version++ 2025-12-11 10:22:26 +01:00
Jonas Bark
f6c47e3dab fix markdown theme colors 2025-12-11 10:21:28 +01:00
jonasbark
de711e12dc Merge pull request #221 from jonasbark/copilot/configure-hotkeys-for-buttons
Add keyboard hotkey configuration for button simulator
2025-12-11 08:26:35 +00:00
Jonas Bark
b94fed2f21 add wahoo kickr support to readme 2025-12-11 09:26:08 +01:00
Jonas Bark
9316881048 button simulator adjustments 2025-12-11 09:20:02 +01:00
copilot-swe-agent[bot]
c60a990938 Add mounted check in delayed callback and length validation for keys
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-12-11 07:24:50 +00:00
copilot-swe-agent[bot]
e9aaa96185 Fix remaining code review issues: remove redundant check and await settings save
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-12-11 07:23:15 +00:00
copilot-swe-agent[bot]
cb497daee4 Address code review feedback: extract constants and fix async handling
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-12-11 07:21:57 +00:00
copilot-swe-agent[bot]
4881fe4778 Add test for button simulator hotkeys and fix trailing comma
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-12-11 07:19:28 +00:00
copilot-swe-agent[bot]
5d5d8ffb18 Add keyboard hotkey configuration for button simulator
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-12-11 07:17:31 +00:00
copilot-swe-agent[bot]
b707812a7e Initial plan 2025-12-11 07:12:08 +00:00
Jonas Bark
9de50dc6fc markdown changes 2025-12-11 08:09:50 +01:00
Jonas Bark
11d308b53b markdown changes 2025-12-11 08:07:12 +01:00
Jonas Bark
0e03ec4a03 clarify mywhoosh link 2025-12-10 21:26:43 +01:00
Jonas Bark
68a04fad96 handling fix 2025-12-10 21:21:23 +01:00
Jonas Bark
ce75fd0f34 add more instructions, clarify mail support 2025-12-10 21:17:49 +01:00
Jonas Bark
d46b71b2d0 md #1 2025-12-10 20:23:41 +01:00
Jonas Bark
6492afc46f MyWhoosh: updated default keymap to use steering instead of navigating 2025-12-10 19:14:13 +01:00
Jonas Bark
c9b068e1b3 control your trainer manually without requiring a controller - just like a Companion app 2025-12-10 18:57:08 +01:00
Jonas Bark
5cdf15a419 UI adjustments 2025-12-10 17:26:00 +01:00
Jonas Bark
24db720927 don't show firmware update warning when we don't have that info, yet 2025-12-10 09:16:57 +01:00
Jonas Bark
94754d3d9b Rouvy doesn't support network controllers, yet 2025-12-10 09:14:07 +01:00
Jonas Bark
bffdae1a9b enable local connection on Windows if the app doesn't support OBP 2025-12-10 09:08:54 +01:00
Jonas Bark
a8b68c2d89 disable MyWhoosh Link connection method when running BikeControl and MyWhoosh on Windows on the same device 2025-12-10 09:03:58 +01:00
Jonas Bark
84f70f13d8 Gamepads: handle analog values correctly on Windows 2025-12-10 08:58:41 +01:00
Jonas Bark
ef1048ec08 adjust Headwind logic according to comment from https://github.com/jonasbark/swiftcontrol/issues/11#issuecomment-3634041684 2025-12-09 21:56:45 +01:00
Jonas Bark
37bc2110f5 update screenshots 2025-12-09 17:59:10 +01:00
Jonas Bark
84fd828d36 work on issue #11 2025-12-09 09:00:01 +01:00
Jonas Bark
a51b4d7958 version++ 2025-12-08 20:15:41 +01:00
Jonas Bark
117467d708 fix issue #215 2025-12-08 19:11:03 +01:00
Jonas Bark
789509f9cf fix build 2025-12-08 18:01:47 +01:00
Jonas Bark
a323dc213d fix build 2025-12-08 18:00:02 +01:00
jonasbark
0ec998a618 Merge pull request #212 from jonasbark/copilot/add-headwind-support
Add KICKR Headwind fan control support
2025-12-08 16:50:23 +00:00
copilot-swe-agent[bot]
0f5e9d59a8 Implement proper Headwind protocol with state tracking and mode switching
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-12-08 16:48:56 +00:00
copilot-swe-agent[bot]
2280fda916 Use firstOrNull to avoid potential race condition
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-12-08 16:29:55 +00:00
copilot-swe-agent[bot]
8d4db788a3 Refactor Headwind control logic and remove buttons
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-12-08 16:27:47 +00:00
Jonas Bark
c2bfc472fe fix patch pipeline 2025-12-08 11:20:31 +01:00
Jonas Bark
09ffd258b7 version++ 2025-12-08 11:09:43 +01:00
Jonas Bark
4ae92ca557 Merge remote-tracking branch 'origin/main' 2025-12-08 11:08:04 +01:00
Jonas Bark
e066054681 fix Di2 buttons not triggering an event 2025-12-08 11:07:55 +01:00
Jonas Bark
a0f4aadd37 fix repeated clicks on analog buttons for gamepads 2025-12-08 10:48:15 +01:00
copilot-swe-agent[bot]
3566dbc37c Address code review feedback: improve type annotations and validation
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-12-08 08:26:29 +00:00
copilot-swe-agent[bot]
73a23e06ba Fix syntax issues in ButtonEditPage and add missing import
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-12-08 08:25:09 +00:00
copilot-swe-agent[bot]
a03576d415 Add KICKR Headwind support implementation
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-12-08 08:23:27 +00:00
copilot-swe-agent[bot]
079db14127 Initial plan 2025-12-08 08:16:38 +00:00
jonasbark
2f4764a01f Update Windows Store version to 4.0.0 2025-12-08 08:57:21 +01:00
Jonas Bark
2671a9807b cleanup 2025-12-07 14:41:06 +01:00
Jonas Bark
da46deb495 fix build 2025-12-07 13:03:54 +01:00
Jonas Bark
0700bd331f fix build 2025-12-07 12:41:14 +01:00
Jonas Bark
14676d9277 Merge branch 'feature/openbikecontrol' 2025-12-07 12:37:05 +01:00
Jonas Bark
3f9c3611ec fix build 2025-12-07 12:36:57 +01:00
jonasbark
26263f4d6b Merge pull request #208 from jonasbark/feature/openbikecontrol
4.0.0
2025-12-07 11:13:09 +00:00
Jonas Bark
105a644599 better web compatibility 2025-12-07 12:10:53 +01:00
Jonas Bark
ba54234734 better web compatibility 2025-12-07 12:05:52 +01:00
Jonas Bark
d39af2c8ff show keys instead of toast 2025-12-07 11:30:06 +01:00
Jonas Bark
eb07b78cce show keys instead of toast 2025-12-07 11:27:14 +01:00
Jonas Bark
f9a13a90a8 fix pairing permission issues 2025-12-07 11:03:21 +01:00
Jonas Bark
6302091c54 improve handling of analog gamepad events 2025-12-07 10:41:21 +01:00
Jonas Bark
1647fe9818 improve handling of analog gamepad events 2025-12-07 10:33:54 +01:00
Jonas Bark
3ece6cb4db cleanup logs, improve handling of analog gamepad events 2025-12-07 10:28:39 +01:00
Jonas Bark
b04732cc24 adjust changelog 2025-12-06 15:43:31 +01:00
Jonas Bark
828819907b refactoring 2025-12-06 15:06:12 +01:00
Jonas Bark
c8c449d2ef screenshot work 2025-12-06 13:42:18 +01:00
Jonas Bark
6b5c202e93 resolve issue #207 2025-12-06 11:56:08 +01:00
Jonas Bark
56c67ae9a5 refactoring 2025-12-06 11:46:18 +01:00
Jonas Bark
94d9467bc3 ui adjustments, fixes 2025-12-06 10:02:56 +01:00
Jonas Bark
fb65616cee create duplicate keymap if needed 2025-12-05 21:35:40 +01:00
Jonas Bark
7e488b3cb1 fix hid device functionality when accessibility service is active 2025-12-05 20:07:48 +01:00
Jonas Bark
9c6084397e fix hid device functionality when accessibility service is active 2025-12-05 20:00:07 +01:00
Jonas Bark
73a0fe6203 fix hid device functionality when accessibility service is active 2025-12-05 19:48:34 +01:00
Jonas Bark
cac1872459 resolve issue #176 2025-12-05 18:08:54 +01:00
Jonas Bark
65f4ca6356 media key detection Windows 2025-12-05 17:57:11 +01:00
Jonas Bark
d771b3da57 cleanup, refactoring 2025-12-05 15:40:04 +01:00
Jonas Bark
d52a062e0c cleanup, refactoring 2025-12-05 13:22:52 +01:00
Jonas Bark
ef350398e1 work on mDNS 2025-12-05 11:14:16 +01:00
Jonas Bark
69fa8834ee work on mDNS 2025-12-05 10:51:40 +01:00
Jonas Bark
ac9bbd3986 work on screenshots 2025-12-04 21:51:16 +00:00
Jonas Bark
6f99f0762a keydown / key up handling for direct connections 2025-12-04 21:17:43 +00:00
Jonas Bark
999fc3faba ui, fixes 2025-12-04 20:59:07 +00:00
Jonas Bark
ebd33666fc ui, fixes 2025-12-04 20:27:53 +00:00
Jonas Bark
8537c5b8c3 ui, fixes 2025-12-04 20:00:01 +00:00
Jonas Bark
3ff59eff6e ui, fixes 2025-12-04 19:42:19 +00:00
Jonas Bark
46752de0e8 ui, fixes 2025-12-04 19:32:02 +00:00
Jonas Bark
27629db924 connection method badges 2025-12-04 14:00:39 +00:00
Jonas Bark
1f00fd9d6c add openbikecontrol as app 2025-12-04 13:27:40 +00:00
Jonas Bark
637bf87dad ui adjustments 2025-12-04 12:58:31 +00:00
Jonas Bark
41415432db ui adjustments 2025-12-01 22:58:29 +00:00
Jonas Bark
745d26dade ui adjustments 2025-12-01 22:01:41 +00:00
Jonas Bark
134de0fcd9 Merge remote-tracking branch 'origin/copilot/ensure-ble-hid-support-windows' into feature/openbikecontrol
# Conflicts:
#	.gitignore
2025-12-01 18:23:14 +00:00
Jonas Bark
ee0c4c083f screenshot adjustments 2025-12-01 18:14:16 +00:00
Jonas Bark
5873ce34e4 translations 2025-12-01 16:58:08 +00:00
Jonas Bark
9904999dd2 translations 2025-12-01 15:46:02 +00:00
Jonas Bark
f5a35ad04b Merge remote-tracking branch 'origin/copilot/extract-translations-to-arb' into feature/openbikecontrol
# Conflicts:
#	lib/pages/trainer.dart
2025-12-01 15:35:54 +00:00
Jonas Bark
7301734b82 zwift keep alive 2025-12-01 15:34:50 +00:00
copilot-swe-agent[bot]
19ada28cf3 Add i18n_extension.dart and fix import/export keys, update imports
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-12-01 14:48:45 +00:00
copilot-swe-agent[bot]
7655b35b77 Update remaining files to use localized strings
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-12-01 14:41:28 +00:00
copilot-swe-agent[bot]
0c200eae20 Update widgets and utils to use localized strings
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-12-01 14:35:11 +00:00
copilot-swe-agent[bot]
18d6c9ec1f Extract translations to intl_en.arb and update pages to use i18n
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-12-01 14:18:47 +00:00
copilot-swe-agent[bot]
cc16a2c8de Add volume up/down hotkey support for Windows media key detection
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-12-01 14:16:21 +00:00
copilot-swe-agent[bot]
91a6502310 Initial plan 2025-12-01 14:04:35 +00:00
Jonas Bark
bb8720247e add intl 2025-12-01 13:52:20 +00:00
Jonas Bark
b01470339b add intl 2025-12-01 13:50:15 +00:00
Jonas Bark
855fe00346 wording 2025-12-01 13:40:48 +00:00
Jonas Bark
f957258a2c wording 2025-12-01 13:40:00 +00:00
Jonas Bark
945a247274 toast changes 2025-12-01 12:02:41 +00:00
Jonas Bark
59ecfe5186 UI changes 2025-12-01 11:42:54 +00:00
Jonas Bark
dc5e9939c7 UI changes, cleanup 2025-12-01 10:57:23 +00:00
Jonas Bark
79821783e2 auto start connection methods and scanning 2025-12-01 09:30:21 +00:00
jonasbark
531e53eaec Update WINDOWS_STORE_VERSION.txt 2025-11-30 21:08:53 +01:00
Jonas Bark
4f01f23458 Merge branch 'main' into feature/openbikecontrol
# Conflicts:
#	lib/utils/actions/base_actions.dart
2025-11-30 18:46:15 +00:00
Jonas Bark
3760b84fb7 only use direct connection method if they are connected 2025-11-30 18:45:20 +00:00
Jonas Bark
afdb442597 Merge branch 'main' into feature/openbikecontrol
# Conflicts:
#	lib/pages/device.dart
#	lib/widgets/logviewer.dart
2025-11-30 01:09:03 +00:00
Jonas Bark
eadcd17bbb less noise 2025-11-30 01:08:25 +00:00
Jonas Bark
67ca63b047 Merge branch 'feature/kickrbikepro' into feature/openbikecontrol 2025-11-30 01:07:51 +00:00
Jonas Bark
17d3450bd2 fix 2025-11-30 01:07:42 +00:00
Jonas Bark
d7c700a4e5 heureka 2025-11-30 00:44:45 +00:00
Jonas Bark
fd659e40fe heureka 2025-11-29 23:55:43 +00:00
Jonas Bark
bdd7c75ebd attempt to support Wahoo Kickr Bike Pro #195 2025-11-29 21:54:24 +00:00
Jonas Bark
ca5648fec4 attempt to support Wahoo Kickr Bike Pro #195 2025-11-29 19:40:32 +00:00
Jonas Bark
978325ceff attempt to support Wahoo Kickr Bike Pro #195 2025-11-29 19:36:35 +00:00
Jonas Bark
87ad9c630d try kickr 2025-11-29 19:05:38 +00:00
Jonas Bark
6b0ca1b6dd fix 2025-11-29 19:05:22 +00:00
Jonas Bark
3c9a505f4f Merge branch 'main' of github.com:jonasbark/swiftcontrol 2025-11-29 18:42:37 +00:00
Jonas Bark
7bb4ace875 openbikeprotocol Bluetooth emulator 2025-11-29 17:46:12 +00:00
Jonas Bark
499cd86955 openbikeprotocol Bluetooth emulator 2025-11-29 17:10:23 +00:00
Jonas Bark
79bad50ce3 openbikeprotocol emulator 2025-11-29 15:35:09 +00:00
Jonas Bark
2dff9c92fd ftms emulator 2025-11-29 14:45:44 +00:00
Jonas Bark
d05557819e ui adjustments, fixes 2025-11-29 14:37:43 +00:00
Jonas Bark
22a39406ff fix wrong check 2025-11-29 13:51:36 +00:00
Jonas Bark
91d0fd656e consolidate messages 2025-11-29 13:51:05 +00:00
Jonas Bark
4440a04ab8 consolidate messages 2025-11-29 13:46:57 +00:00
Jonas Bark
5bf617d1db move service running message 2025-11-29 13:35:57 +00:00
Jonas Bark
3cf209edd9 less god objects 2025-11-29 13:12:09 +00:00
Jonas Bark
ad95ce23ec add implementation for open bike protocol devices 2025-11-29 12:53:04 +00:00
Jonas Bark
9e29d5dd04 ui adjustments 2025-11-29 10:57:14 +00:00
Jonas Bark
4678ac0255 ui adjustments 2025-11-29 10:54:04 +00:00
Jonas Bark
8660f979b9 ignore device for session fix, logs page 2025-11-29 09:35:38 +00:00
Jonas Bark
c20265ddf8 new ui, BLE fixes 2025-11-28 22:31:18 +00:00
Jonas Bark
2b90606d9c inline permission requests, make them optional unless required 2025-11-28 22:00:48 +00:00
Jonas Bark
c75fd8ab80 Merge remote-tracking branch 'origin/main' into feature/openbikecontrol
# Conflicts:
#	lib/widgets/menu.dart
2025-11-28 20:21:32 +00:00
Jonas Bark
fc13d71960 version++ 2025-11-28 18:50:56 +00:00
Jonas Bark
354179de30 potential fixes for #196 2025-11-28 18:49:55 +00:00
Jonas Bark
e4ea924b1a fix Windows app icon 2025-11-28 17:49:49 +00:00
Jonas Bark
f9b5dda123 new UI 2025-11-28 08:31:34 +00:00
Jonas Bark
4cd38d4502 new UI 2025-11-28 00:26:21 +00:00
Jonas Bark
70c9a5b6a3 new UI 2025-11-27 23:38:00 +00:00
Jonas Bark
4fb46de074 new UI 2025-11-27 23:31:29 +00:00
Jonas Bark
b0487f534c new UI 2025-11-27 22:36:19 +00:00
Jonas Bark
719eb9b50f new UI 2025-11-27 19:59:49 +00:00
Jonas Bark
f3148405d7 Merge branch 'main' into feature/openbikecontrol 2025-11-27 18:10:26 +00:00
Jonas Bark
6da13f18af UI fix 2025-11-27 17:03:14 +00:00
Jonas Bark
b3b6f510d8 work on new ui 2025-11-27 13:22:14 +00:00
Jonas Bark
01400ab955 work on new ui 2025-11-27 12:49:21 +00:00
Jonas Bark
8348848ef8 work on new ui 2025-11-27 09:44:26 +00:00
Jonas Bark
04920e7eee Merge remote-tracking branch 'origin/main' 2025-11-26 22:34:20 +00:00
Jonas Bark
464c5208dc error logging 2025-11-26 22:34:11 +00:00
jonasbark
981254875b Update README.md 2025-11-26 10:32:29 +01:00
Jonas Bark
d941135fff remove media key detection due to Apple restrictions 2025-11-25 19:26:39 +00:00
jonasbark
28663f5cdf Update Windows Store version to 3.6.0 2025-11-24 18:14:41 +01:00
Jonas Bark
bfc12711ad screenshot adjustments 2025-11-23 22:03:21 +00:00
Jonas Bark
076e729e39 screenshot adjustments 2025-11-23 21:56:21 +00:00
Jonas Bark
570f5ca82d missing BikeControl renaming 2025-11-23 21:33:56 +00:00
Jonas Bark
9749a9018d missing BikeControl renaming 2025-11-23 21:26:55 +00:00
Jonas Bark
4724f55e6b some UI adjustments 2025-11-23 21:24:18 +00:00
Jonas Bark
8f68636bfc some UI changes 2025-11-23 21:06:37 +00:00
Jonas Bark
fefcb1db53 status widget for accessibility service 2025-11-23 20:57:52 +00:00
Jonas Bark
98fd5c5d7c status widget 2025-11-23 20:28:28 +00:00
Jonas Bark
e97a76e488 better error handling 2025-11-23 08:56:30 +00:00
Jonas Bark
02f25899e9 show action results in the UI 2025-11-23 08:33:19 +00:00
Jonas Bark
3a0ef5110d more name change work 2025-11-23 08:08:03 +00:00
Jonas Bark
36c5df7d03 Merge remote-tracking branch 'origin/copilot/rename-app-to-bikecontrol' 2025-11-22 18:10:36 +00:00
copilot-swe-agent[bot]
4252ed05ae Complete remaining SwiftControl to BikeControl renames in code
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-11-21 18:11:41 +00:00
copilot-swe-agent[bot]
2adf3026fd Rename app from SwiftControl to BikeControl and update GitHub repo references
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-11-21 18:07:48 +00:00
copilot-swe-agent[bot]
2cc705c556 Initial plan 2025-11-21 17:57:39 +00:00
Jonas Bark
faff8ab219 adjust changelog 2025-11-21 07:09:00 +00:00
Jonas Bark
e63e647ebc better formatting 2025-11-20 23:09:56 +00:00
Jonas Bark
e2339321bb Merge branch 'main' of github.com:jonasbark/swiftcontrol 2025-11-20 23:04:57 +00:00
jonasbark
f7c57b1f15 Merge pull request #192 from jonasbark/copilot/add-predefined-actions-keymaps
Add predefined action selector for custom keymaps from selected trainer app
2025-11-20 23:04:28 +00:00
copilot-swe-agent[bot]
a1fad509cf Optimize to avoid redundant settings.getTrainerApp() calls
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-11-20 23:00:03 +00:00
copilot-swe-agent[bot]
daec33f827 Handle empty actions list and simplify key label logic
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-11-20 22:58:10 +00:00
copilot-swe-agent[bot]
cf66845a38 Address code review feedback - improve list copying and clarify key formatting
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-11-20 22:56:27 +00:00
copilot-swe-agent[bot]
7199f5b545 Use current trainer app's keymap instead of showing dialog
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-11-20 22:54:54 +00:00
copilot-swe-agent[bot]
0490956551 Apply performance optimizations with const widgets
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-11-20 22:53:18 +00:00
copilot-swe-agent[bot]
8be2108cdc Address code review feedback - improve type checking and readability
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-11-20 22:52:02 +00:00
copilot-swe-agent[bot]
4595e509c9 Add predefined action selector for custom keymaps
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-11-20 22:49:49 +00:00
copilot-swe-agent[bot]
17d7953d11 Initial plan 2025-11-20 22:44:31 +00:00
Jonas Bark
4adfe0812d fix compatibility checks on this device on iOS devices 2025-11-20 21:34:03 +00:00
Jonas Bark
7ca9c8752b Merge remote-tracking branch 'origin/main' 2025-11-18 22:45:56 +00:00
Jonas Bark
ab53d23404 add keyboard controls to Rouvys virtual shifting 2025-11-18 22:45:47 +00:00
jonasbark
9894271145 Update Windows Store version to 3.5.0 2025-11-18 23:11:14 +01:00
Jonas Bark
5d9960156c update rouvy keymap to support their latest version 2025-11-18 22:08:16 +00:00
Jonas Bark
aa6782d29b Merge branch 'copilot/add-screenshots-to-release' 2025-11-18 21:54:08 +00:00
Jonas Bark
98d683a6a5 Merge remote-tracking branch 'origin/main' 2025-11-18 21:54:00 +00:00
jonasbark
55a2e4db79 Clarify device troubleshooting headings
Updated headings to include 'Ride' alongside 'Click' for clarity.
2025-11-17 21:54:00 +01:00
Jonas Bark
4db985e2e5 screenshot adjustments 2025-11-17 14:33:23 +01:00
Jonas Bark
bbd95beb36 add bluetooth device detection unit test 2025-11-17 14:18:34 +01:00
Jonas Bark
a9ee0dc9a1 fix unit tests 2025-11-17 14:01:29 +01:00
Jonas Bark
46d3770a28 more work on screenshots 2025-11-17 13:55:27 +01:00
Jonas Bark
99ee63ce1f more work on screenshots 2025-11-17 13:14:07 +01:00
Jonas Bark
cb10ad685e Merge branch 'main' into copilot/add-screenshots-to-release 2025-11-17 12:49:18 +01:00
Jonas Bark
748a21fb54 small refactoring 2025-11-17 12:49:09 +01:00
Jonas Bark
b3ffe867c6 version++ 2025-11-16 21:32:49 +01:00
Jonas Bark
fb1ffec37d version++ 2025-11-16 21:04:28 +01:00
Jonas Bark
9ea4f7157a some possible fixes 2025-11-16 20:53:56 +01:00
Jonas Bark
a9b43bd347 windows build fix 2025-11-16 12:51:32 +01:00
Jonas Bark
b9ac193e77 windows build fix 2025-11-16 12:47:13 +01:00
Jonas Bark
1d4947b3ae windows build fix 2025-11-16 12:46:17 +01:00
Jonas Bark
74e098e9b1 adjust integration tests 2025-11-16 12:42:33 +01:00
Jonas Bark
e5dae225f1 Merge branch 'main' into copilot/add-screenshots-to-release
# Conflicts:
#	lib/bluetooth/connection.dart
#	lib/utils/settings/settings.dart
2025-11-16 12:30:21 +01:00
Jonas Bark
0339089972 version++ 2025-11-16 11:58:05 +01:00
Jonas Bark
1e8bd61264 update changelog 2025-11-16 10:20:47 +01:00
Jonas Bark
79613bc8de resolve issue #179 2025-11-16 10:15:46 +01:00
Jonas Bark
d0ec785e32 remove settings file when corrupted #180 2025-11-16 10:13:37 +01:00
Jonas Bark
020b91fd21 Merge branch 'main' of github.com:jonasbark/swiftcontrol 2025-11-15 12:54:53 +01:00
Jonas Bark
f2406152fd Merge branch 'copilot/update-cycplus-bc2-implementation' 2025-11-15 12:54:45 +01:00
Jonas Bark
ab3ef7be53 resolve #186 2025-11-15 12:54:30 +01:00
jonasbark
bb7484ff2e Merge pull request #185 from jonasbark/copilot/update-cycplus-bc2-implementation
Simplify Cycplus BC2 implementation to match reference state machine
2025-11-15 10:35:28 +01:00
copilot-swe-agent[bot]
80061fd076 Update Cycplus BC2 implementation to match reference
- Only look at bytes at index 6 and 7 (no full frame parsing)
- Implement state machine for pressed/released states
- Track state independently for each index
- Trigger on state transitions (pressed to different pressed)
- Reset state on release (0x00) or after successful trigger

Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-11-15 09:27:45 +00:00
Jonas Bark
124e005fb1 Merge branch 'main' of github.com:jonasbark/swiftcontrol 2025-11-15 10:27:11 +01:00
Jonas Bark
8e760ef202 more error checking 2025-11-15 10:27:07 +01:00
copilot-swe-agent[bot]
de740f6453 Initial plan 2025-11-15 09:20:32 +00:00
jonasbark
3bde90ae62 Merge pull request #182 from jonasbark/copilot/fix-ble-device-reconnection
Persist ignored BLE devices across app restarts
2025-11-15 09:04:53 +01:00
copilot-swe-agent[bot]
aee8dc2e07 Make getIgnoredDeviceIds and getIgnoredDeviceNames private
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-11-15 07:57:35 +00:00
jonasbark
b3952542f8 Fix grammar and formatting in README.md 2025-11-14 15:08:05 +01:00
Jonas Bark
910f23a3f6 Merge branch 'copilot/fix-cycplus-bc2-button-logic' 2025-11-14 14:57:47 +01:00
Jonas Bark
5cc9ac85af attempt to handle https://github.com/jonasbark/swiftcontrol/issues/179 2025-11-14 14:57:35 +01:00
copilot-swe-agent[bot]
e10e22d038 Add support for 0xfe button codes in CYCPLUS BC2 device
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-11-14 13:34:36 +00:00
copilot-swe-agent[bot]
aaeaec36a2 Initial plan 2025-11-14 13:29:59 +00:00
Jonas Bark
c16a593f3c potential fix for https://github.com/jonasbark/swiftcontrol/issues/183 2025-11-14 14:28:47 +01:00
Jonas Bark
50d9f47576 potential fix for https://github.com/jonasbark/swiftcontrol/issues/183 2025-11-14 12:23:30 +01:00
copilot-swe-agent[bot]
a53fb578ef Fix disconnect logic and improve UI flow
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-11-13 15:25:14 +00:00
copilot-swe-agent[bot]
1f89859a03 Implement persistent ignored devices feature
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-11-13 15:23:12 +00:00
copilot-swe-agent[bot]
7c1cee6748 Initial plan 2025-11-13 15:17:47 +00:00
Jonas Bark
a4949ad615 error handling 2025-11-12 22:22:44 +01:00
Jonas Bark
a57f4654b0 possible fix for https://github.com/jonasbark/swiftcontrol/issues/180#issuecomment-3523836191 2025-11-12 21:49:01 +01:00
Jonas Bark
8192d3addf show to user when MyWhoosh Link can't be started, cleanup 2025-11-12 09:22:41 +01:00
Jonas Bark
308f461ad4 show to user when MyWhoosh Link can't be started, cleanup 2025-11-12 09:22:19 +01:00
Jonas Bark
513b2ba367 screenshot creation #1 2025-11-11 10:25:56 +01:00
Jonas Bark
69f47fa984 bluetooth naming 2025-11-11 09:06:07 +01:00
copilot-swe-agent[bot]
4daf553514 Add documentation for screenshot generation process
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-11-11 07:28:00 +00:00
copilot-swe-agent[bot]
aeae148e0b Implement dynamic screenshot generation during build pipeline
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-11-11 07:26:47 +00:00
copilot-swe-agent[bot]
1a9a265671 Add screenshot packaging and release attachment to build workflow
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-11-11 07:19:13 +00:00
copilot-swe-agent[bot]
b06e9ad4b3 Initial plan 2025-11-11 07:12:19 +00:00
copilot-swe-agent[bot]
7ecce43a3d Add documentation for Windows global media key detection
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-11-10 07:53:16 +00:00
copilot-swe-agent[bot]
82cb41c207 Remove CodeQL artifact from repository
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-11-10 07:52:26 +00:00
copilot-swe-agent[bot]
c356242a8f Improve hotkey registration error handling
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-11-10 07:52:01 +00:00
copilot-swe-agent[bot]
61ad7c2eef Implement global media key detection for Windows using RegisterHotKey API
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-11-10 07:49:27 +00:00
copilot-swe-agent[bot]
311104ddf0 Initial plan 2025-11-10 07:44:08 +00:00
Jonas Bark
2b106fd1c9 change mail address 2025-11-09 19:33:32 +01:00
Jonas Bark
1784e008ee a few fixes 2025-11-09 19:17:35 +01:00
Jonas Bark
33ccdbd7af a few fixes 2025-11-09 16:38:13 +01:00
Jonas Bark
d15f1ddc13 Merge branch 'main' of github.com:jonasbark/swiftcontrol 2025-11-09 16:14:34 +01:00
Jonas Bark
e7ea01cd60 Merge branch 'copilot/create-landing-page-for-apps' 2025-11-09 16:14:29 +01:00
Jonas Bark
f7ed426441 cleanup 2025-11-09 16:14:15 +01:00
Jonas Bark
d30485b82e add a clarifying selection to help users choose where SwiftControl should run 2025-11-09 16:13:07 +01:00
Jonas Bark
4e646ab922 add dark mode, logs to the support entry, link to new landing page 2025-11-09 15:57:54 +01:00
jonasbark
4183ede58d Updated .gitignore 2025-11-09 08:54:17 +01:00
copilot-swe-agent[bot]
dd85e99e4b Update landing page per feedback: blue background, black headings, restructured compatibility checker, and instructions section
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-11-09 07:42:42 +00:00
jonasbark
2334a88452 Merge pull request #174 from jonasbark/copilot/add-changelog-to-releases
Add changelog to GitHub release body
2025-11-09 08:23:40 +01:00
copilot-swe-agent[bot]
ee64b18f75 Refactor: reuse get_latest_changelog.sh output
- Removed duplicate awk logic from generate_release_body.sh
- Now calls get_latest_changelog.sh for changelog content
- Simplified script by removing unused variables
- Adds version header separately for GitHub releases

Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-11-09 07:21:17 +00:00
copilot-swe-agent[bot]
647dac9e7c Add interactive landing page with compatibility checker
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-11-09 07:14:46 +00:00
copilot-swe-agent[bot]
df2496eb67 Add changelog to GitHub release body
- Created generate_release_body.sh script to combine changelog with store links
- Updated build.yml workflow to use new release body
- Updated patch.yml workflow to use new release body
- Release body now includes latest changelog entry followed by store download links

Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-11-09 07:12:43 +00:00
copilot-swe-agent[bot]
859424b895 Initial plan 2025-11-09 07:08:36 +00:00
copilot-swe-agent[bot]
dde3f38bde Initial plan 2025-11-09 07:07:37 +00:00
Jonas Bark
01744c258e attempt to improve UX 2025-11-08 22:45:25 +01:00
Jonas Bark
231aadbc27 detect media key source - don't handle it when coming from phone #110 2025-11-08 22:31:12 +01:00
Jonas Bark
a806a628bd Merge remote-tracking branch 'origin/main' 2025-11-08 20:18:58 +01:00
Jonas Bark
c529fee1fa fix execution on Web 2025-11-08 20:18:42 +01:00
jonasbark
c36a0252e6 Aktualisieren von WINDOWS_STORE_VERSION.txt 2025-11-08 15:58:21 +01:00
Jonas Bark
66486ec38e make Di2 custom keymap requirement clearer #170 2025-11-08 12:55:05 +01:00
Jonas Bark
6f5c6bf1d9 Merge remote-tracking branch 'origin/main' 2025-11-08 09:00:51 +01:00
Jonas Bark
8fc8f2dfda increase version 2025-11-08 09:00:42 +01:00
jonasbark
d36e031e87 Set release date for version 3.4.0
Updated the release date for version 3.4.0 in the changelog.
2025-11-08 08:55:56 +01:00
Jonas Bark
efac0af4b9 update changelog to include Rouvy keymap 2025-11-08 08:54:59 +01:00
Jonas Bark
d7e73524ad Merge branch 'feature/bluetoothmedia' 2025-11-08 08:49:23 +01:00
Jonas Bark
80998c955f media key detection on iOS and macOS 2025-11-08 08:49:06 +01:00
Jonas Bark
d824cb6207 integrate media_key_detector package, add iOS implementation #1 2025-11-07 21:55:07 +01:00
Jonas Bark
ab80d679e1 update Rouvy keymap 2025-11-07 20:53:44 +01:00
Jonas Bark
d4881faab1 code fix, update changelog and readme 2025-11-07 20:49:59 +01:00
Jonas Bark
7c74d61b43 Merge branch 'feature/mediabutton' 2025-11-07 20:45:30 +01:00
Jonas Bark
8ad2906a17 Merge branch 'feature/ble_hid' 2025-11-07 20:37:44 +01:00
Jonas Bark
0f4d19080a prefill mail text when support is used 2025-11-07 20:37:10 +01:00
Jonas Bark
a9a13be6ca fix modifier detection 2025-11-07 20:36:35 +01:00
Jonas Bark
c66badf39e Merge branch 'main' of github.com:jonasbark/swiftcontrol 2025-11-07 19:41:15 +01:00
jonasbark
6c2fc54612 Merge pull request #166 from jonasbark/copilot/add-keyboard-combination-support
Add modifier key support for keyboard mappings
2025-11-07 19:40:45 +01:00
jonasbark
807c0eaa98 Merge pull request #167 from jonasbark/copilot/support-elite-square-control
Fix Elite Square button detection substring mismatch
2025-11-07 19:29:28 +01:00
copilot-swe-agent[bot]
7d7b1e89e9 Final implementation of modifier key support
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-11-07 18:17:59 +00:00
copilot-swe-agent[bot]
cafb7408d9 Refactor: Consolidate modifier key detection logic
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-11-07 18:17:07 +00:00
copilot-swe-agent[bot]
723f741bca Improve test code quality and fix edge cases
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-11-07 18:15:27 +00:00
copilot-swe-agent[bot]
6a3cc0f8be Refactor: Extract helper methods to reduce code duplication
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-11-07 18:15:07 +00:00
copilot-swe-agent[bot]
66c548fa75 Refactor tests to reduce code duplication
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-11-07 18:13:21 +00:00
copilot-swe-agent[bot]
0b42f7e9c5 Fix Elite Square button detection logic and add tests
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-11-07 18:11:18 +00:00
copilot-swe-agent[bot]
35a995eddc Add support for modifier keys in keyboard mapping
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-11-07 18:10:14 +00:00
copilot-swe-agent[bot]
c3afb23625 Initial plan 2025-11-07 18:05:00 +00:00
copilot-swe-agent[bot]
f15d97585b Initial plan 2025-11-07 18:02:22 +00:00
Jonas Bark
5f03c072ff fix di2 initialization 2025-11-06 18:45:46 +01:00
jonasbark
ce94aea51a Merge pull request #165 from jonasbark/copilot/fix-di-fly-button-triggering
[WIP] Fix Shimano DI2 implementation for DI Fly buttons
2025-11-06 18:44:38 +01:00
copilot-swe-agent[bot]
a27ae070fc Fix DI2 button trigger on startup and add tests
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-11-06 17:43:29 +00:00
copilot-swe-agent[bot]
7bbdc6a4e2 Initial plan 2025-11-06 17:38:51 +00:00
Jonas Bark
3188002ecb fix a few bugs and use some more clearer texts 2025-11-05 20:11:36 +01:00
Jonas Bark
284d2ca70f resolve yet another Sterzo issue https://github.com/jonasbark/swiftcontrol/issues/111#issuecomment-3487265558 2025-11-04 20:09:44 +01:00
Jonas Bark
57961aec5d bump version 2025-11-04 17:36:01 +01:00
Jonas Bark
1675d7f2d0 bump version 2025-11-04 17:35:32 +01:00
Jonas Bark
baec8d24c3 fix detection of Sterzo devices https://github.com/jonasbark/swiftcontrol/issues/111#issuecomment-3486678629 2025-11-04 17:34:25 +01:00
Jonas Bark
820d0b37db allow to ignore HID device input 2025-11-04 10:05:52 +01:00
Jonas Bark
c18ac16208 support HID key events on Android #110 2025-11-04 09:53:52 +01:00
Jonas Bark
2bbc09bf13 Merge branch 'main' into feature/ble_hid 2025-11-04 08:59:02 +01:00
Jonas Bark
a968723277 update gitignore 2025-11-04 08:58:54 +01:00
Jonas Bark
8668957738 fix name 2025-11-03 20:30:05 +01:00
Jonas Bark
4498729e75 initial support for BLE HID device 2025-11-03 20:26:21 +01:00
Jonas Bark
ac550fad5b do not offer MyWhoosh Link when not compatible 2025-11-03 18:58:41 +01:00
Jonas Bark
c511ac32b6 fix 'Exit' behavior on Android notification tap 2025-11-03 10:02:37 +01:00
Jonas Bark
ee48ce0f4e Merge remote-tracking branch 'origin/main' 2025-11-03 09:30:45 +01:00
Jonas Bark
8a3d64491b version++ 2025-11-03 09:30:38 +01:00
jonasbark
b72cc803f0 Clarify iOS, macOS, and Windows requirements
Updated iOS, macOS, and Windows requirements for Bluetooth buttons.
2025-11-03 09:12:00 +01:00
Jonas Bark
69dd5c85ef detect media keys on macOS / iOS #1 2025-11-03 08:58:16 +01:00
Jonas Bark
ea17b2e142 Merge remote-tracking branch 'origin/main' 2025-11-03 08:45:50 +01:00
Jonas Bark
da62fc4dc6 fix resetting keymap, show all touches by default 2025-11-03 08:45:39 +01:00
jonasbark
239630f681 Fix formatting and grammar issues in README.md
Corrected formatting and grammar in the README file.
2025-11-02 17:54:51 +01:00
Jonas Bark
d95d0cf8cf exit app on Android to apply patch 2025-11-02 17:48:34 +01:00
Jonas Bark
2b25ba942c Merge remote-tracking branch 'origin/main' 2025-11-02 16:22:14 +01:00
Jonas Bark
c65369a746 clarify pairing vs controller vs MyWhoosh Link 2025-11-02 16:22:06 +01:00
Jonas Bark
fa7d5e7853 clarify pairing vs controller vs MyWhoosh Link 2025-11-02 16:20:32 +01:00
Jonas Bark
8ac47cbd4d make Link / emulation UI clearer 2025-11-02 16:02:07 +01:00
Jonas Bark
eb85844503 Merge branch 'main' of github.com:jonasbark/swiftcontrol 2025-11-02 13:56:12 +01:00
Jonas Bark
010d0ed331 UI adjustments 2025-11-02 13:55:56 +01:00
Jonas Bark
1f8f7765a3 fix SwiftControl Web, more generic battery and firmware version reads 2025-11-02 13:24:19 +01:00
Jonas Bark
68f416dda3 fix SwiftControl Web, more generic battery and firmware version reads 2025-11-02 13:10:35 +01:00
Jonas Bark
49e45faec0 fix SwiftControl Web 2025-11-02 10:50:44 +01:00
Jonas Bark
c81516350a initial support for Shimano Di2 D-Fly channel buttons 2025-11-02 10:45:51 +01:00
jonasbark
890f393fd6 Merge pull request #151 from jonasbark/copilot/add-cycplus-bc2-support
Add CYCPLUS BC2 virtual shifter support via Nordic UART Service
2025-11-02 08:26:42 +01:00
copilot-swe-agent[bot]
e46969c5c4 Add CYCPLUS BC2 virtual shifter support
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-11-02 06:45:59 +00:00
copilot-swe-agent[bot]
1ec9b55645 Initial plan 2025-11-02 06:39:40 +00:00
Jonas Bark
b0caf7c13b UI adjustments 2025-11-01 19:43:30 +01:00
Jonas Bark
302fc15dd7 don't reset after a minute 2025-11-01 19:40:23 +01:00
jonasbark
6a2cf1a1c9 Merge pull request #147 from jonasbark/copilot/fix-miui-service-issue
Add MIUI device detection and battery optimization warning with dismissal
2025-11-01 19:36:16 +01:00
jonasbark
8ea73bc54a Update Windows Store version to 3.3.0 2025-11-01 19:27:07 +01:00
copilot-swe-agent[bot]
7cbab3925f Use AndroidActions type check instead of negated RemoteActions
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-11-01 10:15:16 +00:00
copilot-swe-agent[bot]
246a1bd2be Add dismiss button to MIUI warning with persistent state
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-11-01 09:54:20 +00:00
copilot-swe-agent[bot]
f7e2a89ed6 Move MIUI warning from requirements to DevicePage widget
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-10-31 18:48:58 +00:00
copilot-swe-agent[bot]
f94252edb9 Address code review feedback - improve comments and efficiency
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-10-31 18:37:58 +00:00
copilot-swe-agent[bot]
b7b6b9803f Add MIUI device detection and warning for accessibility service
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-10-31 18:31:30 +00:00
copilot-swe-agent[bot]
807d868b74 Initial plan 2025-10-31 18:25:43 +00:00
jonasbark
c3e8c4666c Merge pull request #145 from jonasbark/zwift
Zwift Support
2025-10-31 13:16:07 +01:00
Jonas Bark
926651ebb3 zwift emulation rouvy support 2025-10-31 13:15:19 +01:00
Jonas Bark
a7d5624582 update mywhoosh profile 2025-10-31 12:53:04 +01:00
Jonas Bark
03209740ec ux adjustments 2025-10-31 12:18:15 +01:00
jonasbark
af6ae3433e Update lib/bluetooth/devices/zwift/zwift_emulator.dart
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-31 11:28:11 +01:00
Jonas Bark
41f4dd1d57 update changelog 2025-10-31 11:24:08 +01:00
Jonas Bark
d5c1b67675 clarify bluetooth buttons 2025-10-31 11:20:54 +01:00
Jonas Bark
0b18d74ac9 fix already paired gamepad detection 2025-10-31 09:41:34 +01:00
Jonas Bark
fb3fe5f8c0 add rouvy keymap and enable zwift controller emulation 2025-10-31 09:41:19 +01:00
Jonas Bark
796c973fd4 clarify Zwift usage, make controller emulation optional 2025-10-30 09:17:35 +01:00
Jonas Bark
7c6335c4d1 implement remaining Zwift actions 2025-10-29 09:13:17 +01:00
Jonas Bark
af2267c486 allow action unassignment 2025-10-28 18:06:07 +01:00
Jonas Bark
56d9e62610 integration #1 2025-10-28 17:58:44 +01:00
Jonas Bark
7e18a169d4 cleanup 2025-10-28 16:08:59 +01:00
Jonas Bark
74280eda34 zwift click emulation #4 (command works) 2025-10-28 16:05:31 +01:00
Jonas Bark
e1309d4d95 zwift click emulation #3 (connection works) 2025-10-28 14:57:54 +01:00
Jonas Bark
14aa6f7454 zwift click emulation #2 (connection works) 2025-10-28 12:55:39 +01:00
Jonas Bark
1368d7d24e zwift click emulation #1 2025-10-28 12:25:51 +01:00
Jonas Bark
8c09b170c3 some bugfixes, UI adjustments 2025-10-28 09:19:22 +01:00
Jonas Bark
080409b984 add trainer app selection during app start 2025-10-27 21:45:50 +01:00
Jonas Bark
f0ec276547 improve UI for buttons clicked without a keypair 2025-10-27 17:32:08 +01:00
Jonas Bark
23aafcd7bc improve UI for MyWhoosh Link 2025-10-27 17:14:38 +01:00
Jonas Bark
3718a126ac fix keymap explanation not noticing when MyWhoosh Link is connected 2025-10-27 16:48:23 +01:00
Jonas Bark
846dd07bf4 fix UI, fix first button click not handled 2025-10-27 16:44:37 +01:00
Jonas Bark
ba60062a24 Bluetooth HID tests 2025-10-27 16:28:41 +01:00
Jonas Bark
ed4f928fde Click V2 adjustments 2025-10-27 14:40:04 +01:00
Jonas Bark
2a09d550e5 Click V2 adjustments 2025-10-27 14:05:09 +01:00
Jonas Bark
bb1ae4e616 cleanup, fixes 2025-10-27 13:43:18 +01:00
Jonas Bark
828aa70a56 implement MyWhoosh link in the editor 2025-10-27 12:14:41 +01:00
Jonas Bark
4021f3131d refactor connection with remote and controllers 2025-10-27 11:12:23 +01:00
Jonas Bark
80ef81ca64 allow disconnection of bluetooth device 2025-10-27 09:54:01 +01:00
Jonas Bark
fec13d012b show custom keymap hint for gamepads 2025-10-27 09:38:19 +01:00
Jonas Bark
e8ca3fc287 use clipboard again when sharing 2025-10-27 08:27:08 +01:00
Jonas Bark
d5260d801c fix issues in #135 2025-10-26 21:23:57 +01:00
Jonas Bark
916b1ec1fc cleanup 2025-10-26 20:58:52 +01:00
Jonas Bark
7380bb5001 Merge branch 'main' of github.com:jonasbark/swiftcontrol 2025-10-26 20:55:20 +01:00
Jonas Bark
2e95fb556a don't reset in debug mode 2025-10-26 20:54:53 +01:00
jonasbark
90591cbfa2 Merge pull request #137 from michidk/rssi
Displaying the RSSI of connected devices
2025-10-26 20:54:05 +01:00
Michael Lohr
929409db71 implement rssi 2025-10-26 20:32:43 +01:00
Jonas Bark
4263375fb2 fix scanning issue on web https://github.com/jonasbark/swiftcontrol/issues/134#issuecomment-3448689314 2025-10-26 20:28:25 +01:00
jonasbark
bb5d149ba4 Merge pull request #136 from jonasbark/gamepads
Gamepads
2025-10-26 20:17:15 +01:00
Jonas Bark
1a322dc0d3 resolve issue #111 2025-10-26 20:13:54 +01:00
Jonas Bark
d10da94f20 adjust changelog and supported devices 2025-10-26 20:11:17 +01:00
Jonas Bark
7eb28881cb Merge branch 'main' into gamepads 2025-10-26 20:10:34 +01:00
Jonas Bark
823e04d189 resolve issue #133 partially 2025-10-26 19:55:51 +01:00
Jonas Bark
ca5d4aeadb resolve issue #134 2025-10-26 19:53:46 +01:00
Jonas Bark
a4d937c4f3 resolve issue #135 2025-10-26 19:48:17 +01:00
Jonas Bark
fa4add6797 store background image during touch editing, don't show auto rotation warning when not needed 2025-10-26 19:45:11 +01:00
Jonas Bark
ec2ed4e6c5 refactoring #5 2025-10-26 19:27:35 +01:00
Jonas Bark
6bd41d9a54 refactoring #4 2025-10-26 18:53:18 +01:00
Jonas Bark
1ff2a205bc refactoring #3 2025-10-26 17:21:00 +01:00
Jonas Bark
dd73c3249b refactoring #1 2025-10-26 16:26:56 +01:00
Jonas Bark
75eef49317 initial support for gamepads 2025-10-26 10:21:59 +01:00
Jonas Bark
e8858e0c7d fix macOS new version check 2025-10-26 10:06:32 +01:00
Jonas Bark
df9142a6bf update CI 2025-10-25 09:35:26 +02:00
Jonas Bark
36f312403b update changelog 2025-10-25 09:35:06 +02:00
Jonas Bark
d8983889ae fix latest firmware on Click v2 2025-10-25 09:29:35 +02:00
Jonas Bark
bfaf2f2d29 Merge remote-tracking branch 'origin/main' 2025-10-24 18:43:31 +02:00
Jonas Bark
2ba9c284ba scan for all devices, another attempt at #42 2025-10-24 18:43:25 +02:00
jonasbark
ef2b4af28a Update WINDOWS_STORE_VERSION.txt 2025-10-24 12:25:57 +02:00
Jonas Bark
ba042cd07d more work on issue #42 2025-10-24 10:37:28 +02:00
Jonas Bark
f8cb4cff4f update training peaks keymap according to #126 2025-10-24 09:53:55 +02:00
Jonas Bark
92010b787b cleanup 2025-10-24 09:47:37 +02:00
Jonas Bark
e142a8c587 resolve issue #42 2025-10-24 09:47:02 +02:00
Jonas Bark
759dcaa8b8 Merge branch 'fix-38' 2025-10-24 09:44:30 +02:00
Jonas Bark
05939dcf1e implement fix for issue #38 2025-10-24 09:44:06 +02:00
jonasbark
34494819f5 Add instructions for MyWhoosh Link method
Added detailed instructions for using the MyWhoosh Link method, including steps and a video link.
2025-10-23 15:29:11 +02:00
Jonas Bark
a9491b7fa5 Merge branch 'main' into fix-38 2025-10-23 10:49:13 +02:00
Jonas Bark
311a676aea implement fix for issue #38 2025-10-23 10:48:21 +02:00
Jonas Bark
2eab9c581c update readme 2025-10-22 09:43:28 +02:00
Jonas Bark
1284499c25 MyWhoosh Link implementation #2 2025-10-22 09:35:41 +02:00
Jonas Bark
a74471b9f8 MyWhoosh Link implementation #1 2025-10-21 22:43:02 +02:00
Jonas Bark
81f61a5b87 Merge remote-tracking branch 'origin/main' 2025-10-21 10:45:39 +02:00
Jonas Bark
7b2446b6e0 CI cleanup 2025-10-21 10:45:30 +02:00
jonasbark
60898f7536 Update Windows Store version to 3.1.1 2025-10-21 10:25:26 +02:00
Jonas Bark
b2fa7870b6 CI cleanup 2025-10-21 10:21:44 +02:00
Jonas Bark
6ef2ff711a misc fixes 2025-10-21 10:18:12 +02:00
Jonas Bark
9f58dca10e restructure UI to make target selection easier to understand as well as how to get help 2025-10-21 10:10:40 +02:00
Jonas Bark
35e499720b CI patch update 2025-10-20 19:26:22 +02:00
Jonas Bark
7820a80241 Merge remote-tracking branch 'origin/main' 2025-10-20 19:11:08 +02:00
Jonas Bark
ffc6409488 CI patch update 2025-10-20 19:10:57 +02:00
jonasbark
8eaa411a80 Update CHANGELOG for version 3.1.0 enhancements 2025-10-20 19:09:40 +02:00
copilot-swe-agent[bot]
f08714f25a Refine PWM keypress behavior to prevent overlaps
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-10-20 11:47:28 +00:00
copilot-swe-agent[bot]
1f3352ff80 Implement Elite Sterzo Smart improvements for issue #111
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-10-20 11:44:24 +00:00
copilot-swe-agent[bot]
2601844970 Initial plan 2025-10-20 11:37:42 +00:00
Jonas Bark
e4bbb8b279 windows store preparation 2025-10-20 12:19:25 +02:00
Jonas Bark
a13e2aa494 windows store preparation 2025-10-20 11:59:01 +02:00
Jonas Bark
b8383a2280 windows store preparation 2025-10-20 11:36:36 +02:00
Jonas Bark
2cb5ef03ce windows store preparation 2025-10-20 11:35:21 +02:00
Jonas Bark
5203c3a576 windows store preparation 2025-10-20 11:31:11 +02:00
Jonas Bark
36dfb2dc0b windows store preparation 2025-10-20 11:29:18 +02:00
jonasbark
3f6434b5a3 Revise download links and compatibility information
Updated download links for iPhone, macOS, and Windows in the README.
2025-10-20 11:28:15 +02:00
Jonas Bark
d9595a3485 windows store preparation 2025-10-20 11:25:20 +02:00
Jonas Bark
b3352d0c1c restart scanning when bluetooth turned on, cleanup when turned off 2025-10-19 12:55:13 +02:00
Jonas Bark
7e15df1f15 restart scanning when bluetooth turned on, cleanup when turned off
remove Sterzo from Readme until confirmed working
2025-10-19 12:44:44 +02:00
Jonas Bark
b7e086c326 resolve issue #123 2025-10-19 11:15:36 +02:00
Jonas Bark
659e7b0585 resolve #122 2025-10-19 11:09:11 +02:00
Jonas Bark
501ab48da5 Merge branch 'copilot/support-elite-sterzo-smart' 2025-10-19 09:56:50 +02:00
Jonas Bark
3b9ceea64b web CORS proxy workaround for fetching file 2025-10-19 09:56:39 +02:00
Jonas Bark
f3c7bbbcbf Revert "Use file storage instead of SharedPreferences for challenge codes"
This reverts commit a744242c70.
2025-10-19 09:48:51 +02:00
Jonas Bark
9b21a2775e Zwift devices: add firmware update available information 2025-10-19 09:11:51 +02:00
Jonas Bark
b669d4c5ea Android: fix touches for very old Android versions 2025-10-19 08:55:15 +02:00
copilot-swe-agent[bot]
a744242c70 Use file storage instead of SharedPreferences for challenge codes
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-10-19 06:36:11 +00:00
copilot-swe-agent[bot]
7f963f71f8 Load Elite Sterzo challenge codes from HTTP with caching
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-10-19 06:28:13 +00:00
Jonas Bark
9f0ab53e1f add troubleshooting entry for Redmi devices 2025-10-18 12:27:11 +02:00
Jonas Bark
5fc16e9fb7 version++ 2025-10-18 10:06:41 +02:00
Jonas Bark
4329afba1c version++ 2025-10-18 09:58:46 +02:00
Jonas Bark
01f87beef5 resolve issue #116 2025-10-18 09:56:04 +02:00
Jonas Bark
45fecfb4f6 more robust parsing of settings (issue #115) 2025-10-18 09:29:26 +02:00
copilot-swe-agent[bot]
9b020e09ae Fix Elite Sterzo Smart implementation with correct UUIDs and protocol
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-10-17 19:23:58 +00:00
Jonas Bark
3b1c05aba4 version++ 2025-10-17 20:51:17 +02:00
Jonas Bark
90a111944a fix issue #114 by adding missing entitlement 2025-10-17 20:42:26 +02:00
copilot-swe-agent[bot]
ceb029afb0 Add Elite Sterzo Smart support for virtual steering
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-10-17 17:40:12 +00:00
copilot-swe-agent[bot]
dc769ce6a0 Initial plan 2025-10-17 17:33:56 +00:00
Jonas Bark
66b7e74f84 CI change 2025-10-17 13:13:49 +02:00
Jonas Bark
29ef0dfaf4 CI change 2025-10-17 11:21:50 +02:00
Jonas Bark
90144948f4 CI change 2025-10-17 10:35:36 +02:00
Jonas Bark
bda384953e CI change 2025-10-17 10:12:39 +02:00
Jonas Bark
b0fd2a8413 fix logo 2025-10-17 10:10:13 +02:00
Jonas Bark
2403971063 update CI to exclude github build until App Store versions are available - avoid confusion 2025-10-17 10:09:34 +02:00
Jonas Bark
22a0379202 revise restart mechanism, fix Android 'Exit' notification button issue 2025-10-17 09:41:33 +02:00
Jonas Bark
c06a426490 allow macOS and Windows to act as remote 2025-10-17 09:26:31 +02:00
Jonas Bark
908e144e1b macos + ios icon changes 2025-10-17 09:19:21 +02:00
Jonas Bark
0189019e54 Merge branch 'icon_new' 2025-10-17 09:01:48 +02:00
Jonas Bark
5995835d03 more cleanup, refactoring 2025-10-17 08:59:01 +02:00
Jonas Bark
16e637b256 more cleanup, refactoring 2025-10-17 08:52:15 +02:00
Jonas Bark
ac2522e860 remove encryption as it's no longer used, cleanup 2025-10-17 08:15:49 +02:00
Jonas Bark
fdb3ad0efc missing files 2025-10-16 23:56:04 +02:00
Jonas Bark
f7a01f3c32 new icon, cleanup 2025-10-16 23:46:32 +02:00
Jonas Bark
94fd2c7eff Merge remote-tracking branch 'origin/main' 2025-10-16 20:52:46 +02:00
Jonas Bark
f917dfbbb2 elite square: more logging 2025-10-16 20:52:31 +02:00
jonasbark
40bfad6810 Add troubleshooting section for SwiftControl crashes
Added troubleshooting tip for SwiftControl crashes on Windows.
2025-10-16 12:31:09 +02:00
Jonas Bark
fefde66b7b Merge remote-tracking branch 'origin/main' 2025-10-16 12:19:57 +02:00
Jonas Bark
6869adcc09 fix macOS code signing 2025-10-16 12:19:50 +02:00
jonasbark
f5abaec551 Update compatibility matrix in README.md 2025-10-16 12:10:34 +02:00
Jonas Bark
52fbf693b5 fix restart behavior 2025-10-16 11:13:40 +02:00
Jonas Bark
bf3995496e CI 2025-10-15 19:20:51 +02:00
Jonas Bark
f7470a032a CI 2025-10-15 18:56:46 +02:00
Jonas Bark
64c9fe5f03 CI 2025-10-15 18:56:33 +02:00
Jonas Bark
febfbc3cc8 - improve iOS reactivity by delaying button events for a few milliseconds
- use correct icon for shift down buttons
- add more troubleshooting for iOS devices
2025-10-15 16:32:13 +02:00
Jonas Bark
5ea848b62e work on #104 2025-10-15 09:25:52 +02:00
Jonas Bark
96118a98b1 conditional builds, throw error for failed in app updates 2025-10-14 13:25:58 +02:00
Jonas Bark
d25f3a2d4e more work on #42 2025-10-14 09:18:11 +02:00
Jonas Bark
c0600746b6 fix issue #101 2025-10-14 09:15:37 +02:00
Jonas Bark
24cb34408b fix CI 2025-10-13 16:34:23 +02:00
Jonas Bark
f90ae87017 fix CI 2025-10-13 16:33:49 +02:00
Jonas Bark
273a71e759 fix CI 2025-10-13 15:51:13 +02:00
Jonas Bark
d5c6a8f7f1 fix CI 2025-10-13 15:32:08 +02:00
Jonas Bark
b6bb2c37a1 adjust touch placements on Android and macOS 2025-10-13 15:26:59 +02:00
Jonas Bark
3ea1184bab prevent wrong changelog dialog 2025-10-13 14:51:08 +02:00
Jonas Bark
a45e5c4874 Merge branch 'main' of github.com:jonasbark/swiftcontrol 2025-10-13 14:48:33 +02:00
jonasbark
d5926f1d5c Merge pull request #98 from jmoro/main
Fix drag-and-drop in keymap editor
2025-10-13 14:48:15 +02:00
Javier Moro Sotelo
c08ac5468a Fix drag-and-drop in keymap editor
Replaced velocity-based drag detection with distance-based threshold to ensure button positions update correctly even when dragging over other buttons, which can cause velocity to drop to zero.

Fixes #97

Signed-off-by: Javier Moro Sotelo <810976+jmoro@users.noreply.github.com>
2025-10-13 14:42:12 +02:00
Jonas Bark
32ad152079 update supported devices 2025-10-13 13:26:10 +02:00
jonasbark
94372918ac Merge pull request #96 from bin101/patch-1
fix: change key mappings from 'A' and 'D' to arrow keys
2025-10-13 12:24:11 +02:00
jonasbark
3ce364a5be Merge branch 'main' into patch-1 2025-10-13 12:23:57 +02:00
Jonas Bark
e4105ea248 Merge branch 'wahoo_kickr_bike_shift' 2025-10-13 12:22:46 +02:00
Jonas Bark
604a8b6bd6 CI changes 2025-10-13 12:22:35 +02:00
Jonas Bark
fc82a62af3 initial support for wahoo kickr bike shifting 2025-10-13 12:13:45 +02:00
Jens van Almsick
67aeb3e257 fix: change key mappings from 'A' and 'D' to arrow keys
see https://mywhooshinfo.com/blog/mywhoosh-keyboard-shortcuts
2025-10-13 12:04:41 +02:00
Jonas Bark
d371ec6d6e add initial support for Elite Square 2025-10-13 11:42:38 +02:00
Jonas Bark
01509eaae9 refactor device handling to support more devices #2 2025-10-13 11:09:18 +02:00
Jonas Bark
b0df25241a refactor device handling to support more devices #1 2025-10-13 10:59:12 +02:00
Jonas Bark
56447743b2 revise update mechanism 2025-10-13 10:09:58 +02:00
Jonas Bark
301dc39648 Merge branch 'main' of github.com:jonasbark/swiftcontrol 2025-10-13 09:11:30 +02:00
jonasbark
3195568399 Clean up Windows section in README
Removed redundant text from the Windows section.
2025-10-13 09:08:54 +02:00
jonasbark
200b13c97f Add download links to README
Added download links for Google Play and App Store.
2025-10-13 09:02:29 +02:00
jonasbark
47173f6dbd Enhance README with compatibility matrix and links
Added compatibility matrix and download links for platforms.
2025-10-13 09:02:16 +02:00
Jonas Bark
83bf1fe047 cleanup 2025-10-13 00:14:51 +02:00
jonasbark
aa8310905d Update README with app support and web demo details 2025-10-13 00:12:44 +02:00
Jonas Bark
a67a82d638 Merge branch 'main' of github.com:jonasbark/swiftcontrol 2025-10-13 00:10:28 +02:00
jonasbark
65b0807903 Revise README with app and platform updates
Updated supported apps and platforms, added details for iOS and Android usage, and improved troubleshooting section.
2025-10-13 00:10:01 +02:00
Jonas Bark
ca4702a684 github actions patch pipeline 2025-10-12 13:08:55 +02:00
Jonas Bark
a89ffc7ffd integrate shorebird 2025-10-12 12:12:46 +02:00
Jonas Bark
4e75270e49 Merge branch 'ios' 2025-10-12 11:33:57 +02:00
Jonas Bark
e08a1dc183 version++ 2025-10-12 11:33:51 +02:00
Jonas Bark
8fa31968c0 integrate shorebird 2025-10-12 11:13:54 +02:00
Jonas Bark
27e25978f2 integrate shorebird 2025-10-12 11:06:24 +02:00
Jonas Bark
5a0761ef1a integrate shorebird 2025-10-12 11:05:13 +02:00
Jonas Bark
52c40e6f5c fix a few issues in button customization screen 2025-10-12 10:16:36 +02:00
Jonas Bark
be7a18384c fix desktop actions when device pixel ratio is not 1 2025-10-11 10:44:35 +02:00
Jonas Bark
b4693229d2 github actions change 2025-10-10 21:28:13 +02:00
Jonas Bark
dc28be0657 screenshot mode 2025-10-10 15:20:58 +02:00
Jonas Bark
ce6f33522f version++ 2025-10-10 15:03:37 +02:00
Jonas Bark
200ac9d81e Merge branch 'copilot/fix-2d2954be-782f-43b7-b654-d4aa8263083d' into ios 2025-10-10 15:02:40 +02:00
Jonas Bark
078398daba make the UI look nicer 2025-10-10 14:58:30 +02:00
Jonas Bark
9ac73ec6fc make the UI look nicer 2025-10-10 14:23:14 +02:00
Jonas Bark
a469134d2f UI changes and fixes 2025-10-10 12:26:20 +02:00
Jonas Bark
57690808dd UI changes and fixes 2025-10-10 11:10:12 +02:00
Jonas Bark
4edc8ef10c UI changes and fixes 2025-10-10 11:06:16 +02:00
Jonas Bark
576e66c60c fix merge 2025-10-10 09:42:15 +02:00
Jonas Bark
0e53f225d0 Merge branch 'ios' into copilot/fix-2d2954be-782f-43b7-b654-d4aa8263083d
# Conflicts:
#	lib/pages/touch_area.dart
2025-10-10 09:41:16 +02:00
Jonas Bark
5d656913a8 fix when setting full screen takes long time 2025-10-09 23:14:23 +02:00
Jonas Bark
49cea5f45d fix UI 2025-10-09 23:08:54 +02:00
Jonas Bark
255435e419 fix coordinates 2025-10-09 22:48:09 +02:00
Jonas Bark
1657338640 Merge branch 'ios' into copilot/fix-2d2954be-782f-43b7-b654-d4aa8263083d 2025-10-09 22:41:33 +02:00
Jonas Bark
eb66731784 dev fix 2025-10-09 22:41:26 +02:00
Jonas Bark
07c9abc87b fix simulate button 2025-10-09 22:41:15 +02:00
Jonas Bark
f5e8bad1ae initial fixes 2025-10-09 22:37:07 +02:00
Jonas Bark
38e9533bfa Merge branch 'ios' into copilot/fix-2d2954be-782f-43b7-b654-d4aa8263083d 2025-10-09 22:17:28 +02:00
copilot-swe-agent[bot]
2cd0273382 Remove screenSize parameter from encode/decode methods
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-10-09 20:06:11 +00:00
copilot-swe-agent[bot]
d62d572387 Implement full migration to percentage-based keymap coordinates
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-10-09 19:46:16 +00:00
copilot-swe-agent[bot]
b65fe57c68 Add comprehensive tests for import/export and percentage-based keymaps
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-10-09 19:33:56 +00:00
copilot-swe-agent[bot]
0e5f6ef2dd Add import/export functionality for keymap profiles
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-10-09 19:32:46 +00:00
copilot-swe-agent[bot]
45112ccfcf Implement percentage-based keymap storage for better device compatibility
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-10-09 19:30:34 +00:00
copilot-swe-agent[bot]
d26e937066 Remove documentation file and refactor to use Settings methods instead of exposing prefs
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-10-09 19:26:22 +00:00
Jonas Bark
bb1bb42214 build Android for Play Store 2025-10-09 21:21:51 +02:00
Jonas Bark
07c16dcbe2 build Android for Play Store 2025-10-09 20:46:18 +02:00
Jonas Bark
1b4f5613ac build Android for Play Store 2025-10-09 20:43:07 +02:00
jonasbark
3315bcd73e Revise download section in README.md
iOS + Mac App Store links
2025-10-09 16:05:55 +02:00
Jonas Bark
87f33b9a15 rebuild 2025-10-09 15:55:15 +02:00
Jonas Bark
c06d364344 rebuild 2025-10-09 15:28:01 +02:00
Jonas Bark
cbab56c17b rebuild 2025-10-09 15:10:57 +02:00
Jonas Bark
585c78c232 rebuild 2025-10-09 15:06:38 +02:00
Jonas Bark
e569b20b9f zommable customize keymap screen 2025-10-09 14:53:54 +02:00
Jonas Bark
590e18ee43 rebuild 2025-10-09 14:20:06 +02:00
Jonas Bark
a8edd09eae rebuild 2025-10-09 14:10:40 +02:00
Jonas Bark
f3dae6fb48 rebuild 2025-10-09 13:52:18 +02:00
Jonas Bark
b4672c7f39 rebuild 2025-10-09 13:39:28 +02:00
Jonas Bark
e60a7b61a8 rebuild 2025-10-09 13:39:05 +02:00
Jonas Bark
e443e5ab0d rebuild 2025-10-09 13:34:58 +02:00
Jonas Bark
29f773d212 rebuild 2025-10-09 13:30:25 +02:00
Jonas Bark
86d09450b0 rebuild 2025-10-09 13:25:28 +02:00
jonasbark
c081da9545 Merge pull request #91 from jmoro/main
feature: add analog paddle support for Zwift Ride
2025-10-09 12:53:20 +02:00
Jonas Bark
4d0f447b25 rebuild 2025-10-09 12:52:28 +02:00
Jonas Bark
9cc7c1b123 rebuild 2025-10-09 12:46:33 +02:00
Jonas Bark
354742a545 rebuild 2025-10-09 12:44:42 +02:00
Jonas Bark
b64fbfb6e4 rebuild 2025-10-09 12:40:12 +02:00
Jonas Bark
3a2ff5c8d2 rebuild 2025-10-09 12:31:57 +02:00
Jonas Bark
a5a4d9e0c2 rebuild 2025-10-09 12:19:35 +02:00
Jonas Bark
cfeef1621a rebuild 2025-10-09 12:18:48 +02:00
Jonas Bark
2e25b09bdf rebuild 2025-10-09 12:15:22 +02:00
Jonas Bark
5ba70376e6 rebuild 2025-10-09 12:05:26 +02:00
Jonas Bark
7c07d6ecf8 rebuild 2025-10-09 12:02:42 +02:00
Jonas Bark
2788ecc32e rebuild 2025-10-09 11:56:18 +02:00
Jonas Bark
26dc9e93b3 rebuild 2025-10-09 11:52:58 +02:00
Jonas Bark
14bf6c9ac3 rebuild 2025-10-09 11:25:39 +02:00
Jonas Bark
1db9669ed2 rebuild 2025-10-09 10:53:37 +02:00
Jonas Bark
c466e6dfa3 rebuild 2025-10-09 10:51:59 +02:00
Jonas Bark
1c00921ee1 - keep iOS app alive when in background
- keep app active on iOS to keep the remote control happy
- reconnect when this was ignored
2025-10-09 10:45:02 +02:00
Jonas Bark
df432542b5 - keep iOS app alive when in background
- keep app active on iOS to keep the remote control happy
- reconnect when this was ignored
2025-10-09 09:51:47 +02:00
Jonas Bark
fe989750e7 app store compliance 2025-10-08 20:56:40 +02:00
Jonas Bark
e008dea61e fix BT connection issues 2025-10-08 13:08:40 +02:00
Jonas Bark
7a8c7c963b add troubleshooting guide 2025-10-08 12:04:57 +02:00
Jonas Bark
0ecf285a95 adjust readme, changelog 2025-10-08 11:26:17 +02:00
Jonas Bark
b14500351f android works okish 2025-10-08 11:10:26 +02:00
Jonas Bark
97693e25b8 zwift ride does not need encryption 2025-10-08 11:02:02 +02:00
Jonas Bark
12d573bc55 refactoring to allow remote handling on non iOS devices 2025-10-08 10:34:53 +02:00
Javier Moro Sotelo
68562aaec9 fixup! fixup! feature: add analog paddle support for Zwift Ride 2025-10-08 09:56:49 +02:00
Javier Moro Sotelo
2c7e714856 fixup! feature: add analog paddle support for Zwift Ride 2025-10-08 09:34:40 +02:00
Jonas Bark
a7183cc519 remove donate button from iOS 2025-10-08 09:24:43 +02:00
Jonas Bark
bfffb2856d try it on Android #1 2025-10-08 09:18:53 +02:00
Javier Moro Sotelo
d2be747fc1 feature: add analog paddle support for Zwift Ride
Implement analog paddle detection for Zwift Ride with Protocol Buffer parsing.
Paddles (Location 0=left, 1=right) trigger when pressure exceeds threshold and
are user-configurable via keymap settings.

Includes comprehensive test suite and reusable Protocol Buffer parser utilities
for handling non-standard embedded analog data.

Fixes #21

Signed-off-by: Javier Moro Sotelo <810976+jmoro@users.noreply.github.com>
2025-10-08 08:13:40 +02:00
Jonas Bark
7fb44d2782 use relative coordinates on iOS touch targets 2025-10-07 21:52:41 +02:00
Jonas Bark
d7b46205fa make macOS work #7 2025-10-07 20:42:12 +02:00
Jonas Bark
0e0835c2f7 make macOS work #7 2025-10-07 20:08:46 +02:00
Jonas Bark
e81d6cb86f make it work #7 2025-10-07 19:22:38 +02:00
Jonas Bark
8eef01437c make it work #6 2025-10-07 18:33:00 +02:00
Jonas Bark
0d446ee293 make it work #5 2025-10-07 17:47:05 +02:00
Jonas Bark
c0afe1792e make it work #4 2025-10-07 16:53:19 +02:00
Jonas Bark
11fdcad57d make it work #3 2025-10-07 16:41:53 +02:00
Jonas Bark
2ac94907e8 make it work #2 2025-10-06 22:43:36 +02:00
Jonas Bark
f7669b2bbc make it work 2025-10-06 21:41:37 +02:00
Jonas Bark
89d200243b Revert "try flutter_ble_peripheral"
This reverts commit 013b078a44.
2025-10-06 19:28:43 +02:00
Jonas Bark
013b078a44 try flutter_ble_peripheral 2025-10-06 19:27:52 +02:00
Jonas Bark
06aefdedc2 try bluetooth_low_energy 2025-10-06 18:46:46 +02:00
copilot-swe-agent[bot]
4071a12c11 Add documentation for custom profiles feature
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-10-05 10:28:38 +00:00
copilot-swe-agent[bot]
83cdb6efd7 Add comprehensive tests for custom profile functionality
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-10-05 10:26:52 +00:00
copilot-swe-agent[bot]
040c0d3027 Implement multiple custom mapping profiles feature
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-10-05 10:26:20 +00:00
copilot-swe-agent[bot]
a44d4d62d0 Initial plan 2025-10-05 10:19:54 +00:00
Jonas Bark
f51d588510 improve UI when handling custom keymaps around the edges of the screen 2025-10-02 21:38:56 +02:00
Jonas Bark
54b2f73384 fix delayed clicks in some apps 2025-10-02 21:05:15 +02:00
Jonas Bark
dc63f693f0 fix double clicks in some apps 2025-10-02 18:10:12 +02:00
Jonas Bark
455db754d8 fix #82 2025-10-01 20:33:56 +02:00
Jonas Bark
cbef8fc044 fix #82 2025-10-01 20:23:02 +02:00
Jonas Bark
d8e45f849a ui fixes, increase repeating timer 2025-10-01 20:11:01 +02:00
Jonas Bark
f83defb37b introduce workaround for Zwift Click V2 (reset every minute) 2025-10-01 16:17:20 +02:00
Jonas Bark
5c8db11536 Merge branch 'web' 2025-10-01 15:42:43 +02:00
Jonas Bark
30aa5b33a3 fix issue #81 2025-10-01 15:42:20 +02:00
Jonas Bark
ca41e69a17 fix issue #81 2025-10-01 15:41:19 +02:00
Jonas Bark
af4d8ab183 Merge branch 'main' into web 2025-09-30 17:59:18 +02:00
Jonas Bark
c1a24cfbd1 some more experiments 2025-09-30 17:59:12 +02:00
Jonas Bark
86b406e2a4 adjust changelog 2025-09-30 15:19:35 +02:00
Jonas Bark
1ec93330b0 Merge branch 'web' 2025-09-30 15:18:54 +02:00
Jonas Bark
4ed3c5fefe adjust changelog 2025-09-30 15:18:38 +02:00
Jonas Bark
54d106ff4e some more experiments - make it clear how to properly use Zwift Click v2 2025-09-30 15:17:51 +02:00
Jonas Bark
996669ec44 implement updated protocol for Zwift Ride and Zwift Click V2 2025-09-30 11:33:54 +02:00
Jonas Bark
1d38ff521a misc changes 2025-09-30 10:01:01 +02:00
Jonas Bark
f0c1409da4 misc changes 2025-09-30 09:12:50 +02:00
Jonas Bark
9617198db7 adjust changelog 2025-09-30 09:01:54 +02:00
Jonas Bark
e4863b1ebd Merge branch 'web' of github.com:jonasbark/swiftcontrol into web 2025-09-30 09:00:45 +02:00
Jonas Bark
d51a4cc29d cleanup 2025-09-30 09:00:41 +02:00
Jonas Bark
dcbb225355 cleanup 2025-09-30 09:00:30 +02:00
jonasbark
cba449b493 Merge pull request #80 from jonasbark/copilot/fix-3ddab2b9-517e-451f-827c-78dff444def4
[WIP] Create a setting, visible only when connected to a Zwift Ride device, to enable or disable the vibration message. Default is on.
2025-09-30 09:00:07 +02:00
copilot-swe-agent[bot]
559fe1232b Add test for vibration setting functionality
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-09-30 06:59:18 +00:00
copilot-swe-agent[bot]
a7f9ca489e Add vibration toggle setting for Zwift Ride devices
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-09-30 06:57:43 +00:00
copilot-swe-agent[bot]
74bf75a82e Initial plan 2025-09-30 06:54:32 +00:00
Jonas Bark
747629cebf Merge branch 'web' of github.com:jonasbark/swiftcontrol into web 2025-09-30 08:53:40 +02:00
jonasbark
aca6e9272b Merge pull request #79 from jonasbark/copilot/fix-b3d14829-b03a-4383-a558-c58fb62f2f16
Integrate changelog: Add in-app changelog screen, update dialog, and Play Store automation
2025-09-30 08:53:34 +02:00
copilot-swe-agent[bot]
18e6f9a1b5 Update build.yml to use changelog script for Play Store uploads
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-09-30 06:51:21 +00:00
copilot-swe-agent[bot]
c3532d5c35 Add quick reference guide for changelog integration
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-09-30 06:46:31 +00:00
copilot-swe-agent[bot]
1a88f45c93 Add implementation summary for changelog integration
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-09-30 06:45:12 +00:00
copilot-swe-agent[bot]
b49eda7fc7 Add comprehensive documentation for changelog integration
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-09-30 06:44:18 +00:00
Jonas Bark
f0b3bc70b2 Android: stop foreground service when disconnecting, update dependencies 2025-09-30 08:42:27 +02:00
copilot-swe-agent[bot]
08700edc22 Implement changelog integration features
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-09-30 06:41:46 +00:00
copilot-swe-agent[bot]
d698c9bbea Initial plan 2025-09-30 06:35:36 +00:00
jonasbark
eea1b8eb40 Merge pull request #78 from jonasbark/copilot/fix-d9ff38c6-4028-48c0-83e5-8755ed4d98b0
Fix keymap editing orientation to prevent misplaced touch positions
2025-09-29 17:48:56 +02:00
copilot-swe-agent[bot]
0118c5a87c Update keymap editing instructions to clarify landscape orientation
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-09-29 15:31:50 +00:00
copilot-swe-agent[bot]
65a3374d9c Force landscape orientation during keymap editing
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-09-29 15:29:32 +00:00
copilot-swe-agent[bot]
536225bf12 Initial plan 2025-09-29 15:25:09 +00:00
Jonas Bark
e858d35617 web fixes 2025-09-29 13:07:11 +02:00
Jonas Bark
6d87e85353 web only pipeline 2025-09-29 12:57:11 +02:00
Jonas Bark
d1fed35c3e some experiments for Click V2 2025-09-29 12:56:04 +02:00
Jonas Bark
d9297bd40e make connection work on iOS 2025-09-29 10:14:19 +02:00
Jonas Bark
a1926dfc00 Revert "remove iOS folder as Apple does not support the core functionality"
This reverts commit d0291c68d7.
2025-09-29 09:54:43 +02:00
Jonas Bark
d55ba039af version++ 2025-09-28 15:45:20 +02:00
Jonas Bark
c9ebc5a9f6 don't show actual touches on screen for Android 2025-09-28 15:39:01 +02:00
Jonas Bark
be0c2d97ba show firmware version of connected device 2025-09-27 15:11:24 +02:00
Jonas Bark
a03cc76eaa show firmware version of connected device 2025-09-27 15:03:02 +02:00
Jonas Bark
504c71d5c4 refactor touch placements: show touches on screen, fix misplaced coordinates - should fix #64 2025-09-27 14:48:23 +02:00
Jonas Bark
d0291c68d7 remove iOS folder as Apple does not support the core functionality 2025-09-27 14:02:10 +02:00
Jonas Bark
33e5e41eff disconnect devices when still connected from previous session, don't show update app dialog during debugging 2025-09-27 12:34:40 +02:00
Jonas Bark
221d5a0b8d fix crashes on some Android devices 2025-09-27 12:18:50 +02:00
Jonas Bark
b899487ee9 Merge branch 'main' of github.com:jonasbark/swiftcontrol 2025-09-26 15:06:38 +02:00
jonasbark
ff0b724a73 Update README.md 2025-09-26 11:12:34 +02:00
jonasbark
647c20a6a3 Make Google Play badge clickable in README
Updated Google Play badge to be a clickable link.
2025-09-26 11:02:27 +02:00
jonasbark
c36e63aa8d Fix Google Play badge and update download info
Updated Google Play badge link and added image.
2025-09-26 11:01:54 +02:00
jonasbark
cb523ea656 Update README to specify Zwift Click v2 support
Clarify support status for Zwift Click v2.
2025-09-26 10:57:40 +02:00
Jonas Bark
22b99f4f6d Merge branch 'main' of github.com:jonasbark/swiftcontrol 2025-09-25 14:21:03 +02:00
Jonas Bark
05e681b59a use prerelease attribute in github actions 2025-09-25 14:19:42 +02:00
jonasbark
07ee91c17a Clarify download link for latest version
Updated the download link description for clarity.
2025-09-25 13:46:34 +02:00
Jonas Bark
323a344c3a actions test 2025-09-25 13:42:08 +02:00
Jonas Bark
0172b1cf90 actions test 2025-09-25 13:26:24 +02:00
Jonas Bark
5a5e4066f6 Merge remote-tracking branch 'origin/main' 2025-09-25 12:56:10 +02:00
Jonas Bark
3256f5aa15 actions test 2025-09-25 12:56:02 +02:00
Jonas Bark
476a9a337f actions test 2025-09-25 12:54:22 +02:00
jonasbark
1f1ce58bd9 Update CHANGELOG for version 2.5.0
Added note about voucher for donors
2025-09-25 11:34:40 +02:00
Jonas Bark
bbb3dd3397 increase version 2025-09-25 11:16:49 +02:00
Jonas Bark
d7cee77c8b improve usability 2025-09-25 11:03:33 +02:00
Jonas Bark
e2ac975c75 rename Android package name, revert Zwift Click V2 encryption support, add play store assets 2025-09-24 09:12:21 +02:00
Jonas Bark
5e9352316c offer to get app from Play Store 2025-09-24 08:51:19 +02:00
Jonas Bark
c73adb7c0d version++ 2025-09-24 08:47:44 +02:00
Jonas Bark
c3b41f56d4 Merge remote-tracking branch 'origin/copilot/fix-74' 2025-09-24 08:42:39 +02:00
copilot-swe-agent[bot]
6fe841af58 Enhance disclosure dialog with navigation prevention and Play Store description
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-09-24 06:28:31 +00:00
copilot-swe-agent[bot]
d97307de6f Add accessibility disclosure dialog with proper consent options
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-09-24 06:26:05 +00:00
copilot-swe-agent[bot]
826dc2327f Initial plan 2025-09-24 06:20:32 +00:00
Jonas Bark
3466e504e3 implement in app update for Android 2025-09-22 13:41:50 +02:00
Jonas Bark
ebd7f80947 upload app bundle to play store 2025-09-22 13:27:30 +02:00
Jonas Bark
43e827d8f5 build app bundle for play store 2025-09-22 10:11:25 +02:00
Jonas Bark
5d5dc2e152 build app bundle for play store 2025-09-22 09:53:25 +02:00
Jonas Bark
c0d2eaa897 adjust readme to ensure Windows users to not pair their Zwift device with Windows 2025-09-22 09:35:55 +02:00
Jonas Bark
13c70fc445 enable encryption for Zwift Click v2 to potentially fix #68 2025-09-22 09:28:35 +02:00
jonasbark
1e11d28765 Merge pull request #71 from jonasbark/copilot/fix-64
Fix Windows mouse clicks at wrong location due to display scaling
2025-09-17 08:49:53 +02:00
copilot-swe-agent[bot]
7ee9bc43a0 Fix changelog date to 2025-09-17
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-09-17 06:49:09 +00:00
copilot-swe-agent[bot]
372085ec0e Update version to 2.4.0+1 and add changelog entry
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-09-17 06:46:52 +00:00
copilot-swe-agent[bot]
e758b35837 Fix Windows mouse click scaling for high DPI displays
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-09-17 06:32:42 +00:00
copilot-swe-agent[bot]
dee7b86120 Initial plan 2025-09-17 06:28:06 +00:00
Jonas Bark
b3ec7e7a3a funding 2025-09-16 20:08:51 +02:00
Jonas Bark
bbd01d023a - Show an overview of the keymap bindings
- Allow customizing an existing keymap
2025-09-16 10:32:09 +02:00
Jonas Bark
36282c9fa9 better donate options 2025-09-16 08:59:50 +02:00
jonasbark
daea07c409 Clarify iOS not being supported 2025-09-15 08:08:07 +02:00
jonasbark
49d7445d0e Aktualisieren von README.md 2025-09-11 21:14:32 +02:00
jonasbark
9bb0e5616a Aktualisieren von pubspec.yaml 2025-09-11 19:27:47 +02:00
jonasbark
7e98f595ee Aktualisieren von CHANGELOG.md 2025-09-11 19:27:18 +02:00
Jonas Bark
a9fdc4b16e attempt to add support for Zwift Click v2 2025-09-10 17:40:14 +02:00
Jonas Bark
c06819b502 attempt to add support for Zwift Click v2 2025-09-10 08:42:55 +02:00
Jonas Bark
969faca658 attempt to add support for Zwift Click v2 2025-09-09 09:19:52 +02:00
Jonas Bark
61fbb099e2 actions fix 2025-09-08 16:55:28 +02:00
Jonas Bark
fbd6356be0 donate button change 2025-09-08 16:54:23 +02:00
Jonas Bark
1c40455bf3 update readme 2025-09-08 16:42:30 +02:00
Jonas Bark
15129634a6 update some libraries to ensure compatibility with latest Flutter 2025-09-08 16:23:20 +02:00
Jonas Bark
89d35d7734 update some libraries to ensure compatibility with latest Flutter 2025-09-08 15:49:31 +02:00
Jonas Bark
d959bfb4c9 Windows: adjust key sending method to improve compatibility with more apps (fixes #62) 2025-09-08 15:33:28 +02:00
Jonas Bark
9bc25514ae add launch.json for easier entry when using Visual Studio Code 2025-09-08 14:46:07 +02:00
Jonas Bark
25210b57ba try to add dlls to ZIP to potentially fix #54 2025-09-08 14:21:27 +02:00
jonasbark
c9317e369c Merge pull request #62 from jonasbark/copilot/fix-61
Add long press mode option for custom keymaps
2025-09-08 14:02:04 +02:00
Jonas Bark
2195c19ed9 allow long touches / keyboard presses (fixes #61) 2025-09-08 14:01:28 +02:00
Jonas Bark
d13a9d72c9 mark versions not ending with +0 as beta versions 2025-09-08 13:43:14 +02:00
Jonas Bark
55d230e41c Merge branch 'main' into copilot/fix-61 2025-09-08 12:59:14 +02:00
Jonas Bark
ffa604f921 fix logging messages 2025-09-08 12:59:04 +02:00
copilot-swe-agent[bot]
93bdfeeaa7 Refactor action method parameters from isPressed/isRepeated to isKeyDown/isKeyUp
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-09-07 10:18:20 +00:00
copilot-swe-agent[bot]
336c64e5a9 Update version to 2.2.0 in pubspec.yaml and CHANGELOG.md
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-09-06 07:03:19 +00:00
copilot-swe-agent[bot]
20a706d93d Address feedback: remove documentation file, revert README changes, bump version and update changelog
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-09-06 06:58:55 +00:00
copilot-swe-agent[bot]
21cb8844fc Complete long press feature implementation with cleanup, tests and documentation
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-09-06 06:48:13 +00:00
copilot-swe-agent[bot]
4bc1a3b1d0 Add long press functionality to KeyPair and update UI
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-09-06 06:46:23 +00:00
copilot-swe-agent[bot]
9df1f7cfa6 Initial plan 2025-09-06 06:39:18 +00:00
jonasbark
72cdf86802 Update README.md 2025-08-18 10:06:22 +02:00
jonasbark
9a53d5fdab Merge pull request #32 from jonasbark/copilot/fix-31
Fix Windows compilation error: FindTargetWindow identifier not found
2025-07-04 09:25:26 +02:00
copilot-swe-agent[bot]
458e6333a0 Fix C++ forward declaration error for FindTargetWindow
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-07-04 07:22:34 +00:00
copilot-swe-agent[bot]
f42e483260 Initial plan 2025-07-04 07:19:09 +00:00
jonasbark
dda2135129 Merge pull request #30 from jonasbark/copilot/fix-26
Implement window-focused key simulation for Windows applications
2025-07-04 08:51:42 +02:00
copilot-swe-agent[bot]
bc2831c17e Update version to 2.1.0 and add changelog entry for automatic window focusing feature
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-07-03 15:00:12 +00:00
copilot-swe-agent[bot]
310313c3b2 Add check to avoid focusing window if already in foreground
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-07-03 14:56:11 +00:00
copilot-swe-agent[bot]
2122568461 Remove documentation and utility files as requested, keep automatic window focusing in Windows C++ plugin
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-07-03 14:23:43 +00:00
copilot-swe-agent[bot]
144fd5b740 Remove Dart API changes and implement automatic window focusing in Windows SimulateKeyPress method
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-07-03 14:13:14 +00:00
copilot-swe-agent[bot]
5f7a1a8203 Complete window-focused key simulation implementation with utilities and README update
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-07-03 14:02:59 +00:00
copilot-swe-agent[bot]
258b396444 Add documentation and testing tools for window-focused key simulation feature
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-07-03 14:01:10 +00:00
copilot-swe-agent[bot]
5861533793 Improve window-focused key simulation with better error handling and SendInput fallback
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-07-03 13:59:47 +00:00
copilot-swe-agent[bot]
3106bd09e8 Implement window-focused key simulation for Windows applications
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-07-03 13:53:30 +00:00
copilot-swe-agent[bot]
a3475a02d2 Initial plan 2025-07-03 13:42:04 +00:00
Jonas Bark
fb1a1f35ad you can now assign Escape and arrow down key to your custom keymap (fixes #18) 2025-05-04 10:46:00 +02:00
Jonas Bark
71aadde901 more troubleshooting, always use light theme 2025-05-02 19:10:56 +02:00
Jonas Bark
f7bfd8c206 UX improvements 2025-04-25 09:23:58 +02:00
Jonas Bark
ff83e5271b add Biketerra keymap (fixes #17) 2025-04-23 08:29:34 +02:00
Jonas Bark
ec6edb2864 add Biketerra keymap (fixes #17) 2025-04-18 09:44:19 +02:00
Jonas Bark
4f4a6f60c5 fix MyWhoosh up / downshift button assignment (I key vs K key) 2025-04-15 11:18:42 +02:00
Jonas Bark
354e13678b fix Zwift Click button assignment #12 2025-04-13 20:47:42 +02:00
Jonas Bark
f1b8822e20 vibrate Zwift Play / Zwift Ride controller on gear shift (thanks @cagnulein, closes #16) 2025-04-10 13:31:55 +02:00
jonasbark
6bf83b1034 Aktualisieren von README.md 2025-04-09 17:43:06 +02:00
Jonas Bark
7b1e4ede2a version++ 2025-04-08 08:53:57 +02:00
Jonas Bark
a554820115 open menu to make it clear you can simulate touch *and* keyboard press 2025-04-08 08:42:43 +02:00
Jonas Bark
cb9f9ea5b3 reconnect device if connection is lost 2025-04-08 08:33:18 +02:00
Jonas Bark
4051553a56 fix button assignment and logging 2025-04-08 08:20:15 +02:00
Jonas Bark
01a213354b potentially fix #12 2025-04-08 08:05:37 +02:00
Jonas Bark
962abfb38e add some personal preference for MyWhoosh 2025-04-07 15:35:05 +02:00
Jonas Bark
ada4cf0dfd Android: better approximation of button placement for freeform windows 2025-04-07 15:21:45 +02:00
Jonas Bark
aff1137c3d fix bluetooth scan issues on older Android devices by asking for location permission 2025-04-07 12:48:20 +02:00
533 changed files with 42217 additions and 4262 deletions

3
.github/FUNDING.yml vendored
View File

@@ -1,3 +1,2 @@
github: [jonasbark]
open_collective: jonas-bark1
custom: ["https://paypal.me/boni"]
custom: ["https://paypal.me/boni", "https://donate.stripe.com/9B6aEX0muajY8bZ1Kl6J200"]

View File

@@ -1,15 +1,37 @@
name: "Build"
on:
push:
branches:
- main
paths:
- '.github/workflows/**'
- 'lib/**'
- 'accessibility/**'
- 'keypress_simulator/**'
- 'pubspec.yaml'
workflow_dispatch:
inputs:
build_mac:
description: 'Build for macOS'
required: false
default: true
type: boolean
build_github:
description: 'Build for GitHub'
required: false
default: true
type: boolean
build_windows:
description: 'Build for Windows'
required: false
default: true
type: boolean
build_android:
description: 'Build for Android'
required: false
default: true
type: boolean
build_ios:
description: 'Build for iOS'
required: false
default: true
type: boolean
env:
SHOREBIRD_TOKEN: ${{ secrets.SHOREBIRD_TOKEN }}
FLUTTER_VERSION: 3.41.0
jobs:
build:
@@ -25,19 +47,43 @@ jobs:
#1 Checkout Repository
- name: Checkout Repository
uses: actions/checkout@v3
with:
submodules: recursive
token: ${{ secrets.PAT_TOKEN }}
- name: rename pubspec_overrides_ci.yaml to pubspec_overrides.yaml
run: |
if [ -f pubspec_overrides_ci.yaml ]; then
mv pubspec_overrides_ci.yaml pubspec_overrides.yaml
else
echo "No pubspec_overrides_ci.yaml found, skipping rename."
fi
- name: Install certificates
if: inputs.build_mac || inputs.build_ios
env:
DEVELOPER_ID_APPLICATION_P12_BASE64_MAC: ${{ secrets.DEVELOPER_ID_APPLICATION_P12_BASE64_MAC }}
DEVELOPER_ID_INSTALLER_P12_BASE64_MAC: ${{ secrets.DEVELOPER_ID_INSTALLER_P12_BASE64_MAC }}
P12_PASSWORD: ${{ secrets.P12_PASSWORD }}
KEYCHAIN_PASSWORD: ${{ secrets.KEYCHAIN_PASSWORD }}
APPSTORE_PROFILE_IOS_BASE64: ${{ secrets.APPSTORE_PROFILE_IOS_BASE64 }}
APPSTORE_PROFILE_MACOS_BASE64: ${{ secrets.APPSTORE_PROFILE_MACOS_BASE64 }}
APPSTORE_PROFILE_DEV_IOS_BASE64: ${{ secrets.APPSTORE_PROFILE_DEV_IOS_BASE64 }}
run: |
# create variables
DEVELOPER_ID_APPLICATION_CERTIFICATE_PATH=$RUNNER_TEMP/build_developerID_application_certificate.p12
DEVELOPER_ID_INSTALLER_CERTIFICATE_PATH=$RUNNER_TEMP/build_developerID_installer_certificate.p12
PP_PATH_IOS=$RUNNER_TEMP/build_pp_ios.mobileprovision
PP_PATH_IOS_DEV=$RUNNER_TEMP/build_pp_ios_dev.mobileprovision
PP_PATH_MACOS=$RUNNER_TEMP/build_pp_macos.provisionprofile
KEYCHAIN_PATH=$RUNNER_TEMP/pg-signing.keychain-db
# import certificate and provisioning profile from secrets
echo -n "$DEVELOPER_ID_APPLICATION_P12_BASE64_MAC" | base64 --decode --output $DEVELOPER_ID_APPLICATION_CERTIFICATE_PATH
echo -n "$DEVELOPER_ID_INSTALLER_P12_BASE64_MAC" | base64 --decode --output $DEVELOPER_ID_INSTALLER_CERTIFICATE_PATH
echo -n "$APPSTORE_PROFILE_IOS_BASE64" | base64 --decode -o $PP_PATH_IOS
echo -n "$APPSTORE_PROFILE_DEV_IOS_BASE64" | base64 --decode -o $PP_PATH_IOS_DEV
echo -n "$APPSTORE_PROFILE_MACOS_BASE64" | base64 --decode -o $PP_PATH_MACOS
# create temporary keychain
security create-keychain -p "$KEYCHAIN_PASSWORD" $KEYCHAIN_PATH
@@ -47,150 +93,167 @@ jobs:
# import certificate to keychain
security import $DEVELOPER_ID_APPLICATION_CERTIFICATE_PATH -P "$P12_PASSWORD" -A -t cert -f pkcs12 -k $KEYCHAIN_PATH
security import $DEVELOPER_ID_INSTALLER_CERTIFICATE_PATH -P "$P12_PASSWORD" -A -t cert -f pkcs12 -k $KEYCHAIN_PATH
security list-keychain -d user -s $KEYCHAIN_PATH
security set-key-partition-list -S apple-tool:,apple:,codesign: -s -k "$KEYCHAIN_PASSWORD" $KEYCHAIN_PATH
mkdir -p ~/Library/MobileDevice/Provisioning\ Profiles
cp $PP_PATH_IOS ~/Library/MobileDevice/Provisioning\ Profiles
cp $PP_PATH_IOS_DEV ~/Library/MobileDevice/Provisioning\ Profiles
cp $PP_PATH_MACOS ~/Library/MobileDevice/Provisioning\ Profiles
#2 Setup Java
- name: Set Up Java
uses: actions/setup-java@v3.12.0
- name: 🐦 Setup Shorebird
#if: inputs.build_mac || inputs.build_android || inputs.build_ios
if: inputs.build_android || inputs.build_ios
uses: shorebirdtech/setup-shorebird@v1
with:
distribution: 'oracle'
java-version: '17'
cache: true
#3 Setup Flutter
- name: Set Up Flutter
- name: Set Up Flutter maCOS
uses: subosito/flutter-action@v2
with:
channel: 'stable'
flutter-version: ${{ env.FLUTTER_VERSION }}
#4 Install Dependencies
- name: Install Dependencies
run: flutter pub get
- name: Generate translation files
run: |
flutter pub global activate intl_utils;
flutter pub global run intl_utils:generate;
#8 Build app ( macos Build )
- name: Build App
run: flutter build macos --release
- name: 🚀 Shorebird Release macOS
if: inputs.build_mac && false
uses: shorebirdtech/shorebird-release@v1
with:
flutter-version: ${{ env.FLUTTER_VERSION }}
platform: macos
args: "-- --obfuscate --split-debug-info=symbols --dart-define=VERIFYING_SHARED_SECRET=${{ secrets.VERIFYING_SHARED_SECRET }} --dart-define=REVENUECAT_API_KEY_IOS=${{ secrets.REVENUECAT_API_KEY_IOS }}"
- name: Code Signing
run: /usr/bin/codesign --deep --force -s "$DEVELOPER_ID_APPLICATION_SIGNING_IDENTITY" --options runtime SwiftControl.app -v
working-directory: build/macos/Build/Products/Release
env:
DEVELOPER_ID_APPLICATION_SIGNING_IDENTITY: ${{ secrets.DEVELOPER_ID_APPLICATION_SIGNING_IDENTITY }}
- name: Flutter Release macOS
if: inputs.build_mac
run:
flutter build macos --release --obfuscate --split-debug-info=symbols --dart-define=VERIFYING_SHARED_SECRET=${{ secrets.VERIFYING_SHARED_SECRET }} --dart-define=REVENUECAT_API_KEY_IOS=${{ secrets.REVENUECAT_API_KEY_IOS }}
- name: Decode Keystore
if: inputs.build_android
run: |
echo "${{ secrets.KEYSTORE_BASE64 }}" | base64 --decode > android/android.keystore;
echo "${{ secrets.KEYSTORE_PROPERTIES }}" > android/keystore.properties;
#6 Building APK
- name: Build APK
run: flutter build apk --release
- name: Build Web
run: flutter build web --release --base-href "/swiftcontrol/"
- name: Handle archives
run: |
cp build/app/outputs/flutter-apk/app-release.apk build/app/outputs/flutter-apk/SwiftControl.android.apk
cd build/macos/Build/Products/Release/
zip -r SwiftControl.macos.zip SwiftControl.app/
#9 Upload Artifacts
- name: Upload Artifacts
uses: actions/upload-artifact@v4
- name: 🚀 Shorebird Release Android
if: inputs.build_android
uses: shorebirdtech/shorebird-release@v1
with:
name: Releases
path: |
build/app/outputs/flutter-apk/SwiftControl.android.apk
build/macos/Build/Products/Release/SwiftControl.macos.zip
flutter-version: ${{ env.FLUTTER_VERSION }}
platform: android
args: "-- --obfuscate --split-debug-info=symbols --dart-define=REVENUECAT_API_KEY_ANDROID=${{ secrets.REVENUECAT_API_KEY_ANDROID }}"
- name: Extract latest changelog
id: changelog
run: |
chmod +x scripts/get_latest_changelog.sh
mkdir -p whatsnew
./scripts/get_latest_changelog.sh | head -c 500 > whatsnew/whatsnew-en-US
- name: Generate release body
if: inputs.build_github
run: |
chmod +x scripts/generate_release_body.sh
./scripts/generate_release_body.sh > /tmp/release_body.md
- name: 🚀 Shorebird Release iOS
if: inputs.build_ios
uses: shorebirdtech/shorebird-release@v1
with:
flutter-version: ${{ env.FLUTTER_VERSION }}
platform: ios
args: "--export-options-plist ios/ExportOptions.plist -- --dart-define=VERIFYING_SHARED_SECRET=${{ secrets.VERIFYING_SHARED_SECRET }} --dart-define=REVENUECAT_API_KEY_IOS=${{ secrets.REVENUECAT_API_KEY_IOS }}"
- name: Prepare App Store authentication key
if: inputs.build_ios || inputs.build_mac
env:
API_KEY_BASE64: ${{ secrets.APPSTORE_API_KEY_FILE_BASE64 }}
APPSTORE_API_KEY: ${{ secrets.APPSTORE_API_KEY }}
run: |
mkdir -p ./private_keys;
printf %s "$API_KEY_BASE64" | base64 -D > "./private_keys/AuthKey_${APPSTORE_API_KEY}.p8";
- name: Upload to Play Store
if: inputs.build_android
uses: r0adkll/upload-google-play@v1
with:
serviceAccountJsonPlainText: ${{ secrets.SERVICE_ACCOUNT_JSON }}
packageName: de.jonasbark.swiftcontrol
releaseFiles: build/app/outputs/bundle/release/app-release.aab
track: ${{ github.ref == 'refs/heads/main' && 'production' || 'alpha' }}
whatsNewDirectory: whatsnew
- name: Upload to macOS App Store
if: inputs.build_mac
env:
APPSTORE_API_KEY: ${{ secrets.APPSTORE_API_KEY }}
APPSTORE_API_ISSUER_ID: ${{ secrets.APPSTORE_API_ISSUER_ID }}
run: |
productbuild --component "build/macos/Build/Products/Release/BikeControl.app" /Applications "BikeControl.pkg" --sign "3rd Party Mac Developer Installer: JONAS TASSILO BARK (UZRHKPVWN9)";
xcrun altool --upload-app -f BikeControl.pkg -t osx --apiKey "$APPSTORE_API_KEY" --apiIssuer "$APPSTORE_API_ISSUER_ID";
- name: Upload to iOS App Store
if: inputs.build_ios
env:
APPSTORE_API_KEY: ${{ secrets.APPSTORE_API_KEY }}
APPSTORE_API_ISSUER_ID: ${{ secrets.APPSTORE_API_ISSUER_ID }}
run: |
xcrun altool --upload-app -f build/ios/ipa/swift_play.ipa -t ios --apiKey "$APPSTORE_API_KEY" --apiIssuer "$APPSTORE_API_ISSUER_ID";
#10 Extract Version
- name: Extract version from pubspec.yaml
if: inputs.build_github
id: extract_version
run: |
version=$(grep '^version: ' pubspec.yaml | cut -d ' ' -f 2 | tr -d '\r')
echo "VERSION=$version" >> $GITHUB_ENV
#11 Check if Tag Exists
- name: Check if Tag Exists
id: check_tag
run: |
if git rev-parse "v${{ env.VERSION }}" >/dev/null 2>&1; then
echo "TAG_EXISTS=true" >> $GITHUB_ENV
else
echo "TAG_EXISTS=false" >> $GITHUB_ENV
fi
#12 Modify Tag if it Exists
- name: Modify Tag
if: env.TAG_EXISTS == 'true'
id: modify_tag
run: |
new_version="${{ env.VERSION }}-build-${{ github.run_number }}"
echo "VERSION=$new_version" >> $GITHUB_ENV
- name: Upload Symbols
uses: actions/upload-artifact@v4
with:
overwrite: true
name: Symbols
path: symbols/
#13 Create Release
- name: Create Release
if: inputs.build_github
uses: ncipollo/release-action@v1
with:
artifacts: "build/app/outputs/flutter-apk/SwiftControl.android.apk,build/macos/Build/Products/Release/SwiftControl.macos.zip"
artifacts: "build/app/outputs/flutter-apk/BikeControl.android.apk,build/macos/Build/Products/Release/BikeControl.macos.zip"
allowUpdates: true
prerelease: true
bodyFile: /tmp/release_body.md
tag: v${{ env.VERSION }}
token: ${{ secrets.TOKEN }}
- name: Upload static files as artifact
id: deployment
uses: actions/upload-pages-artifact@v3
with:
path: build/web
- name: Web Deploy
uses: actions/deploy-pages@v4
windows:
needs: build
if: inputs.build_windows
name: Build & Release on Windows
runs-on: windows-latest
runs-on: windows-2025
steps:
#1 Checkout Repository
- name: Checkout Repository
uses: actions/checkout@v3
#2 Setup Java
- name: Set Up Java
uses: actions/setup-java@v3.12.0
with:
distribution: 'oracle'
java-version: '17'
submodules: recursive
token: ${{ secrets.PAT_TOKEN }}
#3 Setup Flutter
- name: Set Up Flutter
uses: subosito/flutter-action@v2
with:
channel: 'stable'
#4 Install Dependencies
- name: Install Dependencies
run: flutter pub get
- name: Build App
run: flutter build windows
- name: Zip directory (Windows)
- name: rename pubspec_overrides_ci.yaml to pubspec_overrides.yaml
shell: pwsh
run: |
Compress-Archive -Path "build/windows/x64/runner/Release/*" -DestinationPath "build/windows/x64/runner/Release/SwiftControl.windows.zip"
if (Test-Path pubspec_overrides_ci.yaml) {
Rename-Item -Path pubspec_overrides_ci.yaml -NewName pubspec_overrides.yaml
} else {
Write-Output "No pubspec_overrides_ci.yaml found, skipping rename."
}
#9 Upload Artifacts
- name: Upload Artifacts
uses: actions/upload-artifact@v4
with:
overwrite: true
name: Releases
path: |
build/windows/x64/runner/Release/SwiftControl.windows.zip
#10 Extract Version
- name: Extract version from pubspec.yaml (Windows)
shell: pwsh
run: |
@@ -199,12 +262,72 @@ jobs:
}
echo "VERSION=$version" >> $env:GITHUB_ENV
# add artifact to release
- name: Create Release
uses: ncipollo/release-action@v1
- name: 🐦 Setup Shorebird
uses: shorebirdtech/setup-shorebird@v1
with:
allowUpdates: true
artifacts: "build/windows/x64/runner/Release/SwiftControl.windows.zip"
tag: v${{ env.VERSION }}
token: ${{ secrets.TOKEN }}
cache: true
- name: Set Up Flutter
uses: subosito/flutter-action@v2
with:
channel: 'stable'
flutter-version: ${{ env.FLUTTER_VERSION }}
- name: Generate translation files
run: |
flutter pub global activate intl_utils;
flutter pub global run intl_utils:generate;
- name: 🚀 Shorebird Release Windows
uses: shorebirdtech/shorebird-release@v1
with:
flutter-version: ${{ env.FLUTTER_VERSION }}
platform: windows
args: "-- --obfuscate --split-debug-info=symbols-win"
- name: Zip directory (Windows)
shell: pwsh
run: |
$source = "C:\Windows\System32"
$destination = "build\windows\x64\runner\Release"
# List of required DLLs
$dlls = @("msvcp140.dll", "vcruntime140.dll", "vcruntime140_1.dll")
# Copy each file
foreach ($dll in $dlls) {
$srcPath = Join-Path $source $dll
$destPath = Join-Path $destination $dll
if (Test-Path $srcPath) {
Copy-Item -Path $srcPath -Destination $destPath -Force
Write-Output "Copied $dll to $destination"
} else {
Write-Warning "$dll not found in $source"
}
}
Compress-Archive -Path "build/windows/x64/runner/Release/*" -DestinationPath "build/windows/x64/runner/Release/bike_control.windows.zip"
- uses: microsoft/setup-msstore-cli@v1
if: false
- name: Configure the Microsoft Store CLI
if: false
run: msstore reconfigure --tenantId $ --clientId $ --clientSecret $ --sellerId $
- name: Create MSIX package
run: dart run msix:create
- name: Publish MSIX to the Microsoft Store
if: false
run: msstore publish -v "build/windows/x64/runner/Release/"
- name: Upload Artifacts
uses: actions/upload-artifact@v4
with:
overwrite: true
name: Releases
path: |
build/windows/x64/runner/Release/bike_control.msix
symbols-win/

163
.github/workflows/patch.yml vendored Normal file
View File

@@ -0,0 +1,163 @@
name: "Patch"
on:
workflow_dispatch:
env:
SHOREBIRD_TOKEN: ${{ secrets.SHOREBIRD_TOKEN }}
FLUTTER_VERSION: 3.38.5
jobs:
build:
name: Patch iOS, Android & macOS
runs-on: macos-latest
permissions:
id-token: write
pages: write
contents: write
steps:
#1 Checkout Repository
- name: Checkout Repository
uses: actions/checkout@v3
with:
submodules: recursive
token: ${{ secrets.PAT_TOKEN }}
- name: rename pubspec_overrides_ci.yaml to pubspec_overrides.yaml
run: |
if [ -f pubspec_overrides_ci.yaml ]; then
mv pubspec_overrides_ci.yaml pubspec_overrides.yaml
else
echo "No pubspec_overrides_ci.yaml found, skipping rename."
fi
- name: 🐦 Setup Shorebird
uses: shorebirdtech/setup-shorebird@v1
with:
cache: true
- name: Set Up Flutter
uses: subosito/flutter-action@v2
with:
channel: 'stable'
flutter-version: ${{ env.FLUTTER_VERSION }}
- name: Generate translation files
run: |
flutter pub global activate intl_utils;
flutter pub global run intl_utils:generate;
- name: Install certificates
env:
DEVELOPER_ID_APPLICATION_P12_BASE64_MAC: ${{ secrets.DEVELOPER_ID_APPLICATION_P12_BASE64_MAC }}
DEVELOPER_ID_INSTALLER_P12_BASE64_MAC: ${{ secrets.DEVELOPER_ID_INSTALLER_P12_BASE64_MAC }}
P12_PASSWORD: ${{ secrets.P12_PASSWORD }}
KEYCHAIN_PASSWORD: ${{ secrets.KEYCHAIN_PASSWORD }}
APPSTORE_PROFILE_IOS_BASE64: ${{ secrets.APPSTORE_PROFILE_IOS_BASE64 }}
APPSTORE_PROFILE_MACOS_BASE64: ${{ secrets.APPSTORE_PROFILE_MACOS_BASE64 }}
APPSTORE_PROFILE_DEV_IOS_BASE64: ${{ secrets.APPSTORE_PROFILE_DEV_IOS_BASE64 }}
run: |
# create variables
DEVELOPER_ID_APPLICATION_CERTIFICATE_PATH=$RUNNER_TEMP/build_developerID_application_certificate.p12
DEVELOPER_ID_INSTALLER_CERTIFICATE_PATH=$RUNNER_TEMP/build_developerID_installer_certificate.p12
PP_PATH_IOS=$RUNNER_TEMP/build_pp_ios.mobileprovision
PP_PATH_IOS_DEV=$RUNNER_TEMP/build_pp_ios_dev.mobileprovision
PP_PATH_MACOS=$RUNNER_TEMP/build_pp_macos.provisionprofile
KEYCHAIN_PATH=$RUNNER_TEMP/pg-signing.keychain-db
# import certificate and provisioning profile from secrets
echo -n "$DEVELOPER_ID_APPLICATION_P12_BASE64_MAC" | base64 --decode --output $DEVELOPER_ID_APPLICATION_CERTIFICATE_PATH
echo -n "$DEVELOPER_ID_INSTALLER_P12_BASE64_MAC" | base64 --decode --output $DEVELOPER_ID_INSTALLER_CERTIFICATE_PATH
echo -n "$APPSTORE_PROFILE_IOS_BASE64" | base64 --decode -o $PP_PATH_IOS
echo -n "$APPSTORE_PROFILE_DEV_IOS_BASE64" | base64 --decode -o $PP_PATH_IOS_DEV
echo -n "$APPSTORE_PROFILE_MACOS_BASE64" | base64 --decode -o $PP_PATH_MACOS
# create temporary keychain
security create-keychain -p "$KEYCHAIN_PASSWORD" $KEYCHAIN_PATH
# security default-keychain -s $KEYCHAIN_PATH
security set-keychain-settings -lut 21600 $KEYCHAIN_PATH
security unlock-keychain -p "$KEYCHAIN_PASSWORD" $KEYCHAIN_PATH
# import certificate to keychain
security import $DEVELOPER_ID_APPLICATION_CERTIFICATE_PATH -P "$P12_PASSWORD" -A -t cert -f pkcs12 -k $KEYCHAIN_PATH
security import $DEVELOPER_ID_INSTALLER_CERTIFICATE_PATH -P "$P12_PASSWORD" -A -t cert -f pkcs12 -k $KEYCHAIN_PATH
security list-keychain -d user -s $KEYCHAIN_PATH
security set-key-partition-list -S apple-tool:,apple:,codesign: -s -k "$KEYCHAIN_PASSWORD" $KEYCHAIN_PATH
mkdir -p ~/Library/MobileDevice/Provisioning\ Profiles
cp $PP_PATH_IOS ~/Library/MobileDevice/Provisioning\ Profiles
cp $PP_PATH_IOS_DEV ~/Library/MobileDevice/Provisioning\ Profiles
cp $PP_PATH_MACOS ~/Library/MobileDevice/Provisioning\ Profiles
- name: Decode Keystore
run: |
echo "${{ secrets.KEYSTORE_BASE64 }}" | base64 --decode > android/android.keystore;
echo "${{ secrets.KEYSTORE_PROPERTIES }}" > android/keystore.properties;
- name: 🚀 Shorebird Patch macOS
if: false # patch doesn't work: https://github.com/OpenBikeControl/bikecontrol/issues/143
uses: shorebirdtech/shorebird-patch@v1
with:
platform: macos
release-version: latest
args: '--allow-asset-diffs --allow-native-diffs -- --dart-define=VERIFYING_SHARED_SECRET=${{ secrets.VERIFYING_SHARED_SECRET }} --dart-define=REVENUECAT_API_KEY_IOS=${{ secrets.REVENUECAT_API_KEY_IOS }}'
- name: 🚀 Shorebird Patch Android
uses: shorebirdtech/shorebird-patch@v1
with:
platform: android
release-version: latest
args: '--allow-asset-diffs --allow-native-diffs -- --obfuscate --split-debug-info=symbols --dart-define=REVENUECAT_API_KEY_ANDROID=${{ secrets.REVENUECAT_API_KEY_ANDROID }}'
- name: 🚀 Shorebird Patch iOS
uses: shorebirdtech/shorebird-patch@v1
with:
platform: ios
release-version: latest
args: '--allow-asset-diffs --allow-native-diffs -- --dart-define=VERIFYING_SHARED_SECRET=${{ secrets.VERIFYING_SHARED_SECRET }} --dart-define=REVENUECAT_API_KEY_IOS=${{ secrets.REVENUECAT_API_KEY_IOS }}'
windows:
name: Patch Windows
runs-on: windows-latest
steps:
#1 Checkout Repository
- name: Checkout Repository
uses: actions/checkout@v3
with:
submodules: recursive
token: ${{ secrets.PAT_TOKEN }}
- name: rename pubspec_overrides_ci.yaml to pubspec_overrides.yaml
shell: pwsh
run: |
if (Test-Path pubspec_overrides_ci.yaml) {
Rename-Item -Path pubspec_overrides_ci.yaml -NewName pubspec_overrides.yaml
} else {
Write-Output "No pubspec_overrides_ci.yaml found, skipping rename."
}
- name: 🐦 Setup Shorebird
uses: shorebirdtech/setup-shorebird@v1
with:
cache: true
- name: Set Up Flutter
uses: subosito/flutter-action@v2
with:
channel: 'stable'
flutter-version: ${{ env.FLUTTER_VERSION }}
- name: Generate translation files
run: |
flutter pub global activate intl_utils;
flutter pub global run intl_utils:generate;
- name: 🚀 Shorebird Patch Windows
uses: shorebirdtech/shorebird-patch@v1
with:
platform: windows
release-version: latest
args: '--allow-asset-diffs --allow-native-diffs -- --obfuscate --split-debug-info=symbols'

56
.github/workflows/web.yml vendored Normal file
View File

@@ -0,0 +1,56 @@
name: "Build Web"
on:
push:
branches:
- web
- main
paths:
- '.github/workflows/web.yml'
- 'lib/**'
- 'accessibility/**'
- 'keypress_simulator/**'
- 'pubspec.yaml'
jobs:
build:
name: Build Web
runs-on: macos-latest
permissions:
id-token: write
pages: write
contents: write
steps:
#1 Checkout Repository
- name: Checkout Repository
uses: actions/checkout@v3
#3 Setup Flutter
- name: Set Up Flutter
uses: subosito/flutter-action@v2
with:
channel: 'stable'
- name: Generate translation files
run: |
flutter pub global activate intl_utils;
flutter pub global run intl_utils:generate;
#4 Install Dependencies
- name: Install Dependencies
run: flutter pub get
- name: Build Web
run: flutter build web --release --base-href "/bikecontrol/"
- name: Upload static files as artifact
id: deployment
uses: actions/upload-pages-artifact@v3
with:
path: build/web
- name: Web Deploy
uses: actions/deploy-pages@v4

9
.gitignore vendored
View File

@@ -10,6 +10,7 @@
.history
.svn/
.swiftpm/
debug/
migrate_working_dir/
android/keystore.properties
@@ -40,8 +41,16 @@ app.*.symbols
# Obfuscation related
app.*.map.json
localazy.json
# Android Studio will place build artifacts here
/android/app/debug
/android/app/profile
/android/app/release
lib/gen/
service-account.json
.env
lib/generated
pubspec_overrides.yaml

3
.gitmodules vendored Normal file
View File

@@ -0,0 +1,3 @@
[submodule "prop"]
path = prop
url = git@github.com:OpenBikeControl/prop.git

24
.vscode/launch.json vendored Normal file
View File

@@ -0,0 +1,24 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "swiftcontrol",
"request": "launch",
"type": "dart",
"program": "lib/main.dart"
},
{
"name": "swiftcontrol (profile mode)",
"request": "launch",
"type": "dart",
"flutterMode": "profile"
},
{
"name": "swiftcontrol (release mode)",
"request": "launch",
"type": "dart",
"flutterMode": "release"
}
]
}

View File

@@ -1,7 +1,241 @@
#### 2.0.1 (2025-04-06)
### 4.8.0 (15-02-2026)
**Features**:
- Bluetooth media buttons are now supported on iOS
- Shimano Di2: long press and double clicks are now supported:
- perform steering using long presses
- gear changes are now reflected properly without losing any button presses
### 4.7.0 (04-02-2026)
**Features**:
- new connection method: act as Bluetooth Keyboard:
Your device can now act as Bluetooth keyboard, allowing you to send keyboard shortcuts (e.g. for virtual shifting) directly to your connected device. Especially useful for tablets / iPads.
- added new keyboard shortcuts for Rouvy (Kudos, Pause workout)
**Fixes**:
- you can now finally buy the full version on Android :)
- save "Enable Media Key detection" setting across app restarts
- UI adjustments and fixes in the controller configuration screen
- iOS: Remote pairing now works again
### 4.6.0 (28-01-2026)
**Features**:
- Improve Zwift Click V2 connection and handling
- Buttons in Configuration are now grouped by device
### 4.5.0 (22-01-2026)
**Features**:
- Android: simulate additional actions for local connection method (Left, Down, Right, Up, Select, Back, Home, Recent Apps)
- control your phone with your controller
- control UI within the trainer app (if supported)
- BikeControl now supports individual mapping when you use more than one Cycplus BC2 and ThinkRider VS200 controller
- Windows & macOS: allow configuration of volume keys on Bluetooth HID devices
### 4.4.0 (16-01-2026)
**Features**:
- Support for Thinkrider VS200
**Fixes**:
- Android: Local connection method allows passing keyboard events to the trainer app
- macOS: Compatibility with macOS Tahoe
- Windows: send keyboard events to the correct window when using multiple monitors or when another app is focused
- Windows: fix media key detection
### 4.3.0 (07-01-2026)
**Features**:
- Onboarding for new users
- support controlling music & volume for Windows, macOS and Android
- App is now available in Italian (thanks to Connect_Thanks2613)
**Fixes**:
- Vibration setting now available for Zwift Ride devices
### 4.2.0 (20-12-2025)
BikeControl now offers a free trial period of 5 days for all features, so you can test everything before deciding to purchase a license. Please contact the support if you experience any issues!
**Features**:
- support for SRAM AXS/eTap
- only single or double click is supported (no individual button mapping possible, yet)
- use your phone/tablet for steering by attaching your device on your handlebar!
- App is now available in Polish (thanks to Wandrocek)
**Fixes**:
- You will now be notified when a connection to your controller is lost
- improved UI of the Keymap customization screen
### 4.1.0 (16-12-2025)
**Features**:
- control your trainer manually without requiring a controller - just like a Companion app
- support for Wahoo KICKR HEADWIND: control the fan via your controller
**Fixes**:
- Gamepads: handle analog values correctly on Windows
- MyWhoosh: updated default keymap to use the new A+D keys for steering
### 4.0.0 (07-12-2025)
- a brand-new design
- Accessibility Permission is now optional on Android
- Zwift is now fully supported on all operating systems
- you can choose between network based control or bluetooth based control
- MyWhoosh can now also be controlled with BikeControl running on the same iPad / iPhone
- Translations available in German and French
- support for Wahoo KICKR BIKE PRO
- support for the OpenBikeControl protocol for supported Trainer apps
- this enables seamless and official integration, independent of the operating system
- learn more at https://openbikecontrol.org
### 3.6.0 (23-11-2025)
SwiftControl is now called BikeControl!
**Features:**
- show a list of predefined keymaps for the selected trainer app when using a custom keymap
- status icons so it's clear what's missing
**Fixes:**
- Update Rouvy keymap to support virtual shifting in their latest version
### 3.5.0 (16-11-2025)
**New Features:**
- Dark mode support
- Cycplus BC2 support (thanks @schneewoehner)
- Ignored devices now persist across app restarts - remove them from ignored devices via the menu
**Fixes:**
- resolve issues during app start
### 3.4.0 (08-11-2025)
**New Features:**
- Support for Shimano Di2
- Support Keyboard shortcuts with modifier keys (Ctrl, Alt, Shift, ...)
- Support cheap BLE HID remotes
- add Keymap for Rouvy, supporting the new keyboard shortcuts for virtual shifting
**Fixes:**
- fix detection of Elite Square Sterzo devices
- recognize cheap Bluetooth device clicks also when BikeControl is in the background
### 3.3.0 (31-10-2025)
**New Features:**
- Support for Elite Sterzo (thanks @michidk)
- Support for Gamepads
- Support for cheap bluetooth remotes (such as [these](https://www.amazon.com/s?k=bluetooth+remote))
- you can now customize the Keymap right from the Customize section
- show signal strength of connected devices (thanks @michidk)
- Android and Windows only: simulate bluetooth controllers
- enables gamepad and bluetooth remotes support for Zwift, Rouvy and Biketerra
**Fixes:**
- fix firmware version display for Zwift Click V2 devices
- fix touch position on some Android devices
- Wahoo Kickr Bike Shift can now be connected
- update default keymap for TrainingPeaks
### 3.2.0 (2025-10-22)
- a brand-new way of controlling MyWhoosh:
- device pairing no longer required as mouse emulation is no longer needed
- BikeControl can now stay in the background
- more devices can be controlled
- do more, such as define Emotes, Camera angles and steering
### 3.1.0 (2025-10-17)
- new app icon
- adjusted MyWhoosh keyboard navigation mapping (thanks @bin101)
- support for Wahook Kickr Bike Shift (thanks @MattW2)
- initial support for Elite Square Smart Frame
- reconnects to your device automatically when connection is lost
- BikeControl now warns you if your device firmware is outdated
- BikeControl is now available in Microsoft Store: https://apps.microsoft.com/detail/9NP42GS03Z26
### 3.0.3 (2025-10-12)
- BikeControl now supports iOS!
- Note that you can't run BikeControl and your trainer app on the same iPhone due to iOS limitations but...:
- You can now use BikeControl as "remote control" for other devices, such as an iPad. Example scenario:
- your phone (Android/iOS) runs BikeControl and connects to your Click devices
- your iPad or other tablet runs e.g. MyWhoosh (does not need to have BikeControl installed)
- after pairing BikeControl to your iPad / tablet via Bluetooth your phone will send the button presses to your iPad / tablet
- Ride: analog paddles are now supported thanks to contributor @jmoro
- you can now zoom in and out in the Keymap customization screen
### 2.6.3 (2025-10-01)
- fix a few issues with the new touch placement feature
- add a workaround for Zwift Click V2 which resets the device when button events are no longer sent
- fix issue on Android and Desktop where only a "touch down" was sent, but no "touch up"
- improve UI when handling custom keymaps around the edges of the screen
### 2.6.0 (2025-09-30)
- refactor touch placements: show touches on screen, fix misplaced coordinates - should fix #64
- show firmware version of connected device
- Fix crashes on some Android devices
- warn the user how to make Zwift Click V2 work properly
- many UI improvements
- add setting to enable or disable vibration on button press for Zwift Ride and Zwift Play controllers
### 2.5.0 (2025-09-25)
- Improve usability
- BikeControl is now available via the Play Store: https://play.google.com/store/apps/details?id=de.jonasbark.swiftcontrol
- BikeControl will continue to be available to download for free on GitHub
- contact me if you already donated and I'll get a voucher for you :)
### 2.4.0+1 (2025-09-17)
- Windows: fix mouse clicks at wrong location due to display scaling (fixes #64)
### 2.4.0 (2025-09-16)
- Show an overview of the keymap bindings
- Allow customizing an existing keymap
- Add more donation options
### 2.3.0 (2025-09-11)
- Add support for latest Zwift Click v2
### 2.2.0 (2025-09-08)
- Add Long Press Mode option for custom keymaps - buttons can now send sustained key presses instead of repeated taps, perfect for movement controls in games (fixes #61)
- Windows: adjust key sending method to improve compatibility with more apps (fixes #62)
### 2.1.0 (2025-07-03)
- Windows: automatically focus compatible training apps (MyWhoosh, IndieVelo, Biketerra) when sending keystrokes, enabling seamless multi-window usage
### 2.0.9 (2025-05-04)
- you can now assign Escape and arrow down key to your custom keymap (#18)
### 2.0.8 (2025-05-02)
- only use the light theme for the app
- more troubleshooting information
### 2.0.7 (2025-04-18)
- add Biketerra.com keymap
- some UX improvements
### 2.0.6 (2025-04-15)
- fix MyWhoosh up / downshift button assignment (I key vs K key)
### 2.0.5 (2025-04-13)
- fix Zwift Click button assignment (#12)
### 2.0.4 (2025-04-10)
- vibrate Zwift Play / Zwift Ride controller on gear shift (thanks @cagnulein, closes #16)
### 2.0.3 (2025-04-08)
- adjust TrainingPeaks Virtual key mapping (#12)
- attempt to reconnect device if connection is lost
- Android: detect freeform windows for MyWhoosh + TrainingPeaks Virtual keymaps
### 2.0.2 (2025-04-07)
- fix bluetooth scan issues on older Android devices by asking for location permission
### 2.0.1 (2025-04-06)
- long pressing a button will trigger the action again every 250ms
#### 2.0.0 (2025-04-06)
### 2.0.0 (2025-04-06)
- You can now customize the actions (touches, mouse clicks or keyboard keys) for all buttons on all supported Zwift devices
- now shows the battery level of the connected devices
- add more troubleshooting information

1
INSTRUCTIONS_IOS.md Normal file
View File

@@ -0,0 +1 @@
Moved to [INSTRUCTIONS_MYWHOOSH_LINK.md](INSTRUCTIONS_MYWHOOSH_LINK.md)

17
INSTRUCTIONS_LOCAL.md Normal file
View File

@@ -0,0 +1,17 @@
## What is the Local connection method?
*
The Local connection method works by directly controlling the target trainer app on the same device by simulating user input (taps, keyboard inputs). This method does not require any network connection or additional hardware, making it the simplest and most straightforward way to connect to the trainer app.
There are predefined keymaps (touch positions or keyboard shortcuts) for popular trainer apps, allowing users to easily set up and start using the Local connection method without needing to configure anything manually. You can configure these keymaps in the Configuration tab. Note though that supported keyboard keys depend on the trainer app.
## When to use the Local connection method?
*
The Local connection method is ideal for users who:
- Are running the trainer app on the same device as the controller app (e.g., both apps on a smartphone or tablet).
- Do not want to deal with network configurations or potential connectivity issues.
## Limitations of the Local connection method
*
While the Local connection method is easy to set up and use, it has some limitations:
- It may not work well with trainer apps that have complex user interfaces or require precise timing.
- It is limited to the device on which both the controller and trainer apps are running, meaning it cannot be used for remote control scenarios.

View File

@@ -0,0 +1,39 @@
## Instructions for using the MyWhoosh "Link" connection method
*
1) Launch MyWhoosh on the device of your choice
2) Only needed once: open the "MyWhoosh Link" app on the same device where you want to use BikeControl. Make sure the Link app is able to connect to MyWhoosh. If it does, close MyWhoosh Link.
3) Make sure the "MyWhoosh Link" app is not active at the same time as BikeControl
4) Open BikeControl, enable the Link connection method, and follow the on-screen instructions
Here's a video with a few explanations. Note that it uses an older version, but the idea is the same.
[![BikeControl Instruction for iOS](https://img.youtube.com/vi/p8sgQhuufeI/0.jpg)](https://www.youtube.com/watch?v=p8sgQhuufeI)
[https://www.youtube.com/watch?v=p8sgQhuufeI](https://www.youtube.com/watch?v=p8sgQhuufeI)
## MyWhoosh "Link" method never connects
*
This is a network/local-discovery problem. BikeControl needs the same kind of local network access as MyWhoosh Link.
Checklist:
- Use the MyWhoosh Link app to confirm if "Link" works in general
- Use MyWhoosh Link app and connect, then close it, then open up BikeControl - this is key for some users
- Both devices (if you use BikeControl on another device than MyWhoosh) are on the **same WiFi SSID**
- Avoid “Guest” networks
- Avoid “extenders/mesh guest mode” and networks with device isolation
- If your router has it, disable:
- “AP isolation / client isolation”
- Try moving both devices to the same band:
- Prefer **2.4 GHz** (often more reliable for local discovery than mixed/steering)
- Temporarily disable:
- VPNs
- iCloud Private Relay (if enabled)
- “Limit IP Address Tracking” (iOS WiFi option)
- iOS WiFi settings for that network:
- Turn off **Private WiFi Address**
- Turn off **Limit IP Address Tracking**
- Mesh networks: may work, but if it doesnt, test with a simple router or phone hotspot.
Official MyWhoosh troubleshooting links:
- https://mywhoosh.com/troubleshoot/
- https://www.facebook.com/groups/mywhoosh/posts/1323791068858873/

View File

@@ -0,0 +1,13 @@
## Remote control is not working - nothing happens
*
- Try to unpair it from your phone / computer Bluetooth settings, then re-pair it.
- Try restarting the pairing process in BikeControl
- try restarting Bluetooth on your phone and on the device you want to control
- If your other device is an iOS device, go to Settings > Accessibility > Touch > AssistiveTouch > Pointer Devices > Devices and pair your device. Make sure AssistiveTouch is enabled.
- it is very important that both devices (e.g. iPhone and iPad) receive the "pairing dialog" after initial connection. If you miss it, unpair and try again. It may take a few seconds for the dialog to appear. Afterwards you may need to click on "Reconnect" in BikeControl / restart BikeControl.
## Remote control only clicks on a single coordinate on my iPad
*
iOS seems to be buggy here - try this in the iOS settings:
AssistiveTouch settings > Pointer Devices > Devices > Connected Devices > iPhone (or BikeControl iOS) > Button 1
switch the setting to None, then back to Single-Tap and it should work again

4
INSTRUCTIONS_ROUVY.md Normal file
View File

@@ -0,0 +1,4 @@
## Local Connection method
*
The local connection method (avalable on Android, Windows and macOS) allows BikeControl to directly control Rouvy either using touch or keyboard keys. This way you don't need to select any "Controllers" at all in Rouvy.
Make sure the "Virtual Shifting Controls" are enabled: https://support.rouvy.com/hc/en-us/articles/32452137189393-Virtual-Shifting#h_01K9SWGWYMAVQV108SQ9KWQAKC

0
INSTRUCTIONS_ZWIFT.md Normal file
View File

771
LICENSE
View File

@@ -1,674 +1,97 @@
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The GNU General Public License is a free, copyleft license for
software and other kinds of works.
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
the GNU General Public License is intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users. We, the Free Software Foundation, use the
GNU General Public License for most of our software; it applies also to
any other work released this way by its authors. You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
To protect your rights, we need to prevent others from denying you
these rights or asking you to surrender the rights. Therefore, you have
certain responsibilities if you distribute copies of the software, or if
you modify it: responsibilities to respect the freedom of others.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must pass on to the recipients the same
freedoms that you received. You must make sure that they, too, receive
or can get the source code. And you must show them these terms so they
know their rights.
Developers that use the GNU GPL protect your rights with two steps:
(1) assert copyright on the software, and (2) offer you this License
giving you legal permission to copy, distribute and/or modify it.
For the developers' and authors' protection, the GPL clearly explains
that there is no warranty for this free software. For both users' and
authors' sake, the GPL requires that modified versions be marked as
changed, so that their problems will not be attributed erroneously to
authors of previous versions.
Some devices are designed to deny users access to install or run
modified versions of the software inside them, although the manufacturer
can do so. This is fundamentally incompatible with the aim of
protecting users' freedom to change the software. The systematic
pattern of such abuse occurs in the area of products for individuals to
use, which is precisely where it is most unacceptable. Therefore, we
have designed this version of the GPL to prohibit the practice for those
products. If such problems arise substantially in other domains, we
stand ready to extend this provision to those domains in future versions
of the GPL, as needed to protect the freedom of users.
Finally, every program is threatened constantly by software patents.
States should not allow patents to restrict development and use of
software on general-purpose computers, but in those that do, we wish to
avoid the special danger that patents applied to a free program could
make it effectively proprietary. To prevent this, the GPL assures that
patents cannot be used to render the program non-free.
The precise terms and conditions for copying, distribution and
modification follow.
TERMS AND CONDITIONS
0. Definitions.
"This License" refers to version 3 of the GNU General Public License.
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.
A "covered work" means either the unmodified Program or a work based
on the Program.
To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.
An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
1. Source Code.
The "source code" for a work means the preferred form of the work
for making modifications to it. "Object code" means any non-source
form of a work.
A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.
The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form. A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.
The Corresponding Source for a work in source code form is that
same work.
2. Basic Permissions.
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.
b) The work must carry prominent notices stating that it is
released under this License and any conditions added under section
7. This requirement modifies the requirement in section 4 to
"keep intact all notices".
c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:
a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product
model, to give anyone who possesses the object code either (1) a
copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the
Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.
d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
further charge. You need not require recipients to copy the
Corresponding Source along with the object code. If the place to
copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party)
that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding
Source of the work are being offered to the general public at no
charge under subsection 6d.
A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling. In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage. For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.
"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or
authors of the material; or
e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions of
it) with contractual assumptions of liability to the recipient, for
any liability that these contractual assumptions directly impose on
those licensors and authors.
All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).
However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
11. Patents.
A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".
A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.
In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.
If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.
A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License. You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
13. Use with the GNU Affero General Public License.
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU Affero General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the special requirements of the GNU Affero General Public License,
section 13, concerning interaction through a network will apply to the
combination as such.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of
the GNU General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU General Public License, you may choose any version ever published
by the Free Software Foundation.
If the Program specifies that a proxy can decide which future
versions of the GNU General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper mail.
If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:
<program> Copyright (C) <year> <name of author>
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, your program's commands
might be different; for a GUI interface, you would use an "about box".
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU GPL, see
<https://www.gnu.org/licenses/>.
The GNU General Public License does not permit incorporating your program
into proprietary programs. If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<https://www.gnu.org/licenses/why-not-lgpl.html>.
License notice:
Versions of this project released prior to repository tag gpl3 were licensed
under GPL-3.0. Those versions remain available under their original
license. Versions released after that point are licensed under the
Non-Commercial License.
NON-COMMERCIAL SOFTWARE LICENSE AGREEMENT
Version 1.0
Copyright (c) 2026 OpenBikeControl UG (haftungsbeschränkt).
All rights reserved.
1. Definitions
“Software” means the source code, object code, binaries, and associated documentation made available by the Licensor under this License.
“Commercial Use” means any use of the Software, directly or indirectly, that is intended for or results in:
• monetary compensation,
• sale, licensing, or subscription fees,
• advertising or sponsorship revenue,
• inclusion in a product or service that is sold or monetized,
• distribution through paid applications or application marketplaces.
“Licensor” means the copyright holder.
2. Grant of License
Subject to the terms of this License, the Licensor grants you a non-exclusive, non-transferable, revocable license to:
• use the Software for personal, educational, or internal evaluation purposes only;
• modify the Software for non-commercial purposes;
• redistribute the Software only in source form, free of charge, and only under this same License.
3. Restrictions
You may not, without prior written permission from the Licensor:
• use the Software for any Commercial Use;
• distribute the Software as part of a paid or monetized product or service;
• distribute the Software via application marketplaces (including but not limited to Apple App Store or Google Play) where the application itself or related services are monetized;
• sublicense, sell, rent, or lease the Software.
4. Attribution
All copies and derivative works must retain:
• this License text;
• all existing copyright notices.
5. No Patent License
This License does not grant any patent rights.
6. Termination
Any violation of this License automatically terminates your rights under this License.
Upon termination, you must cease all use and distribution of the Software.
7. Disclaimer of Warranty
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND.
8. Limitation of Liability
IN NO EVENT SHALL THE LICENSOR BE LIABLE FOR ANY DAMAGES ARISING FROM THE USE OF THE SOFTWARE.
9. Governing Law
This License shall be governed by the laws of [YOUR COUNTRY], excluding conflict-of-law rules.
10. Commercial Licensing
Commercial use is available under separate commercial license terms.
Contact: jonas@openbikecontrol.org
End of License

View File

@@ -1,57 +1,102 @@
# SwiftControl
# BikeControl (formerly SwiftControl)
<img src="logo.jpg" alt="SwiftControl Logo"/>
<img src="logo.png" alt="BikeControl Logo"/>
## Description
With SwiftControl you can control your favorite trainer app using your Zwift Click, Zwift Ride or Zwift Play devices. Here's what you can do with it, depending on your configuration:
With BikeControl you can **control your favorite trainer app** using your Zwift Click, Zwift Ride, Zwift Play, Shimano Di2, or other similar devices. Here's what you can do with it, depending on your configuration:
- Virtual Gear shifting
- Steering / turning
- Steering / navigation
- adjust workout intensity
- control music on your device
- more? If you can do it via keyboard, mouse or touch, you can do it with SwiftControl
- more? If you can do it via keyboard, mouse, or touch, you can do it with BikeControl
[![Youtube Video](https://github.com/user-attachments/assets/14a45ca1-e31b-4fbd-8d03-95aa60470405)](https://youtu.be/0r3LO5lFlyc)
https://github.com/user-attachments/assets/1f81b674-1628-4763-ad66-5f3ed7a3f159
## Download
Best follow our landing page and the "Get Started" button: [bikecontrol.app](https://bikecontrol.app/) to understand on which platform you want to run BikeControl. A testing period is available, allowing you to try out the full functionality of BikeControl:
<a href="https://play.google.com/store/apps/details?id=de.jonasbark.swiftcontrol"><img width="270" height="80" alt="GetItOnGooglePlay_Badge_Web_color_English" src="https://github.com/user-attachments/assets/a059d5a1-2efb-4f65-8117-ef6a99823b21" /></a>
<a href="https://apps.apple.com/us/app/swiftcontrol/id6753721284?platform=iphone"><img width="270" alt="App Store" src="https://github.com/user-attachments/assets/c23f977a-48f6-4951-811e-ae530dbfa014" /></a>
<a href="https://apps.apple.com/us/app/swiftcontrol/id6753721284?platform=mac"><img width="270" height="80" alt="Mac App Store" src="https://github.com/user-attachments/assets/b3552436-409c-43b0-ba7d-b6a72ae30ff1" /></a>
## Downloads
Get the latest version here: https://github.com/jonasbark/swiftcontrol/releases
<a href="https://apps.microsoft.com/detail/9NP42GS03Z26"><img width="270" alt="Microsoft Store" src="https://github.com/user-attachments/assets/7a8a3cd6-ec26-4678-a850-732eedd27c48" /></a>
## Supported Apps
- MyWhoosh
- indieVelo / Training Peaks
- any other:
- Android: you can customize simulated touch points of all your buttons in the app
- Desktop: you can customize keyboard shortcuts and mouse clicks in the app
- Zwift
- TrainingPeaks Virtual
- Biketerra.com
- Rouvy
- [OpenBikeControl](https://openbikecontrol.org) compatible apps
- any other!
- You can add custom mapping and adjust touch points or keyboard shortcuts to your liking
## Supported Devices
- Zwift Click
- Zwift Click v2 (mostly, see issue #68)
- Zwift Ride
- Zwift Play
- Shimano Di2
- Configure your levers to use D-Fly channels with Shimano E-Tube app
- SRAM AXS/eTap
- Configure your levers not to do any action in the "SRAM AXS" app
- only single or double click is supported (no individual button mapping possible, yet)
- Wahoo Kickr Bike Shift
- Wahoo Kickr Bike Pro
- CYCPLUS BC2 Virtual Shifter
- Thinkrider VS200 Virtual Shifter (beta)
- Elite Sterzo Smart (for steering support)
- Elite Square Smart Frame (beta)
- Your Phone!
- Mount your phone on the handlebar to detect e.g. steering
- Available on Android and iOS
- Gamepads
- Keyboard input
- like a Companion App
- some trainers do not support keyboard input for all functions - now they do!
- useful when remapping keys from other devices using e.g. AutoHotkey
- Cheap Bluetooth buttons such as [these](https://www.amazon.com/s?k=bluetooth+remote) (beta)
- BLE HID devices and classic Bluetooth HID devices are supported
- works out of the box on Android
- on Windows, iOS and macOS requires BikeControl to act as media player
- We're working on creating an affordable alternative based on an open standard, supported by all major trainer apps
- register your interest [here](https://openbikecontrol.org/#HARDWARE)
Support for other devices can be added; check the issues tab here on GitHub.
## Supported Accessories
- Wahoo KICKR HEADWIND (beta)
- control fan speed using your controller
## Supported Platforms
- Android
- macOS
- Windows (make sure you have installed the "[Microsoft Visual C++ Runtime libraries](https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170)")
- [Web](https://jonasbark.github.io/swiftcontrol/) (you won't be able to do much)
## Troubleshooting
Your Zwift device is found but connection does not work properly? You may need to update the firmware in Zwift Companion app.
Follow the "Get Started" button over at [bikecontrol.app](https://bikecontrol.app) to understand on which platform you want to run BikeControl.
You can even try it out in your [Browser](https://openbikecontrol.github.io/bikecontrol/), if it supports Bluetooth connections. No controlling possible, though.
## Help
Check the troubleshooting guide [here](TROUBLESHOOTING.md).
## How does it work?
The app connects to your Zwift device automatically.
- When using Android a "click" on a certain part of the screen is simulated to trigger the action.
- When using macOS or Windows a keyboard or mouse click is used to trigger the action.
- there are predefined Keymaps for MyWhoosh and indieVelo / Training Peaks
- you can also create your own Keymaps for any other app
- you can also use the mouse to click on a certain part of the screen, or use keyboard shortcuts
The app connects to your Controller devices (such as Zwift ones) automatically. BikeControl uses different methods of connecting to the trainer app, depending on the trainer app and operating system:
- Connect to the trainer app on the same device or on another device using Network
- available on Android, iOS, iPadOS, macOS, Windows
- supported by e.g. MyWhoosh, Rouvy and Zwift
- Connect to the trainer app on another device by simulating a Bluetooth device
- available on Android, iOS, iPadOS, macOS, Windows
- supported by e.g. Rouvy and Zwift
- Directly control the trainer app via Accessibility features (simulating touch and keyboard input)
- available on Android, macOS, Windows
- supported by all trainer apps
- Connect to the supported trainer app using the [OpenBikeControl](https://openbikecontrol.org) protocol
- available on Android, iOS, iPadOS, macOS, Windows
## Donate
Please consider donating to support the development of this app :)
[![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://paypal.me/boni)
- [via PayPal](https://paypal.me/boni)
- [via Credit Card, Google Pay, Apple Pay, etc. (USD)](https://donate.stripe.com/8x24gzc5c4ZE3VJdt36J201)
- [via Credit Card, Google Pay, Apple Pay, etc. (EUR)](https://donate.stripe.com/9B6aEX0muajY8bZ1Kl6J200)

38
TROUBLESHOOTING.md Normal file
View File

@@ -0,0 +1,38 @@
## Click / Ride device cannot be found
*
This means BikeControl does NOT see the device via Bluetooth.
- Put the controller into pairing mode (LED should blink)
- Ensure the controller is NOT connected to another app/device (e.g. Zwift)
- Update controller firmware in Zwift Companion, if available
- Reboot Bluetooth / reboot phone/PC
## Click / Ride device does not send any data
*
You may need to update the firmware in Zwift Companion app.
## My Click v2 disconnects after a minute or buttons do not work
*
To make your Click V2 work best you should connect it in the Zwift app once before a workout session.
If you don't do that BikeControl will need to reconnect every minute.
1. Open Zwift app (not the Companion)
2. Log in (subscription not required) → device connection screen
3. Connect trainer, then connect Click v2
4. Keep it connected for ~1030 seconds
5. Close Zwift completely, then connect in BikeControl
Details/updates: https://github.com/OpenBikeControl/bikecontrol/issues/68
## Android: Connection works, buttons work but nothing happens in MyWhoosh and similar
*
- especially for Redmi and other chinese Android devices please follow the instructions on [https://dontkillmyapp.com/](https://dontkillmyapp.com/):
- disable battery optimization for BikeControl
- enable auto start of BikeControl
- grant accessibility permission for BikeControl
- see [https://github.com/OpenBikeControl/bikecontrol/issues/38](https://github.com/OpenBikeControl/bikecontrol/issues/38) for more details
## My Clicks do not get recognized in MyWhoosh, but I am connected / use local control
*
Make sure you've enabled Virtual Shifting in MyWhoosh's settings

View File

@@ -0,0 +1 @@
4.7.2

View File

@@ -1,4 +1,4 @@
// Autogenerated from Pigeon (v25.2.0), do not edit directly.
// Autogenerated from Pigeon (v25.5.0), do not edit directly.
// See also: https://pub.dev/packages/pigeon
@file:Suppress("UNCHECKED_CAST", "ArrayInDataClass")
@@ -12,25 +12,57 @@ import io.flutter.plugin.common.StandardMethodCodec
import io.flutter.plugin.common.StandardMessageCodec
import java.io.ByteArrayOutputStream
import java.nio.ByteBuffer
private object AccessibilityApiPigeonUtils {
private fun wrapResult(result: Any?): List<Any?> {
return listOf(result)
}
private fun wrapError(exception: Throwable): List<Any?> {
return if (exception is FlutterError) {
listOf(
exception.code,
exception.message,
exception.details
)
} else {
listOf(
exception.javaClass.simpleName,
exception.toString(),
"Cause: " + exception.cause + ", Stacktrace: " + Log.getStackTraceString(exception)
)
fun wrapResult(result: Any?): List<Any?> {
return listOf(result)
}
fun wrapError(exception: Throwable): List<Any?> {
return if (exception is FlutterError) {
listOf(
exception.code,
exception.message,
exception.details
)
} else {
listOf(
exception.javaClass.simpleName,
exception.toString(),
"Cause: " + exception.cause + ", Stacktrace: " + Log.getStackTraceString(exception)
)
}
}
fun deepEquals(a: Any?, b: Any?): Boolean {
if (a is ByteArray && b is ByteArray) {
return a.contentEquals(b)
}
if (a is IntArray && b is IntArray) {
return a.contentEquals(b)
}
if (a is LongArray && b is LongArray) {
return a.contentEquals(b)
}
if (a is DoubleArray && b is DoubleArray) {
return a.contentEquals(b)
}
if (a is Array<*> && b is Array<*>) {
return a.size == b.size &&
a.indices.all{ deepEquals(a[it], b[it]) }
}
if (a is List<*> && b is List<*>) {
return a.size == b.size &&
a.indices.all{ deepEquals(a[it], b[it]) }
}
if (a is Map<*, *> && b is Map<*, *>) {
return a.size == b.size && a.all {
(b as Map<Any?, Any?>).containsKey(it.key) &&
deepEquals(it.value, b[it.key])
}
}
return a == b
}
}
/**
@@ -58,26 +90,49 @@ enum class MediaAction(val raw: Int) {
}
}
enum class GlobalAction(val raw: Int) {
BACK(0),
DPAD_CENTER(1),
DOWN(2),
RIGHT(3),
UP(4),
LEFT(5),
HOME(6),
RECENTS(7);
companion object {
fun ofRaw(raw: Int): GlobalAction? {
return values().firstOrNull { it.raw == raw }
}
}
}
/** Generated class from Pigeon that represents data sent in messages. */
data class WindowEvent (
val packageName: String,
val windowHeight: Long,
val windowWidth: Long
val top: Long,
val bottom: Long,
val right: Long,
val left: Long
)
{
companion object {
fun fromList(pigeonVar_list: List<Any?>): WindowEvent {
val packageName = pigeonVar_list[0] as String
val windowHeight = pigeonVar_list[1] as Long
val windowWidth = pigeonVar_list[2] as Long
return WindowEvent(packageName, windowHeight, windowWidth)
val top = pigeonVar_list[1] as Long
val bottom = pigeonVar_list[2] as Long
val right = pigeonVar_list[3] as Long
val left = pigeonVar_list[4] as Long
return WindowEvent(packageName, top, bottom, right, left)
}
}
fun toList(): List<Any?> {
return listOf(
packageName,
windowHeight,
windowWidth,
top,
bottom,
right,
left,
)
}
override fun equals(other: Any?): Boolean {
@@ -87,10 +142,44 @@ data class WindowEvent (
if (this === other) {
return true
}
return packageName == other.packageName
&& windowHeight == other.windowHeight
&& windowWidth == other.windowWidth
return AccessibilityApiPigeonUtils.deepEquals(toList(), other.toList()) }
override fun hashCode(): Int = toList().hashCode()
}
/** Generated class from Pigeon that represents data sent in messages. */
data class AKeyEvent (
val source: String,
val hidKey: String,
val keyDown: Boolean,
val keyUp: Boolean
)
{
companion object {
fun fromList(pigeonVar_list: List<Any?>): AKeyEvent {
val source = pigeonVar_list[0] as String
val hidKey = pigeonVar_list[1] as String
val keyDown = pigeonVar_list[2] as Boolean
val keyUp = pigeonVar_list[3] as Boolean
return AKeyEvent(source, hidKey, keyDown, keyUp)
}
}
fun toList(): List<Any?> {
return listOf(
source,
hidKey,
keyDown,
keyUp,
)
}
override fun equals(other: Any?): Boolean {
if (other !is AKeyEvent) {
return false
}
if (this === other) {
return true
}
return AccessibilityApiPigeonUtils.deepEquals(toList(), other.toList()) }
override fun hashCode(): Int = toList().hashCode()
}
@@ -103,10 +192,20 @@ private open class AccessibilityApiPigeonCodec : StandardMessageCodec() {
}
}
130.toByte() -> {
return (readValue(buffer) as Long?)?.let {
GlobalAction.ofRaw(it.toInt())
}
}
131.toByte() -> {
return (readValue(buffer) as? List<Any?>)?.let {
WindowEvent.fromList(it)
}
}
132.toByte() -> {
return (readValue(buffer) as? List<Any?>)?.let {
AKeyEvent.fromList(it)
}
}
else -> super.readValueOfType(type, buffer)
}
}
@@ -116,8 +215,16 @@ private open class AccessibilityApiPigeonCodec : StandardMessageCodec() {
stream.write(129)
writeValue(stream, value.raw)
}
is WindowEvent -> {
is GlobalAction -> {
stream.write(130)
writeValue(stream, value.raw)
}
is WindowEvent -> {
stream.write(131)
writeValue(stream, value.toList())
}
is AKeyEvent -> {
stream.write(132)
writeValue(stream, value.toList())
}
else -> super.writeValue(stream, value)
@@ -131,8 +238,12 @@ val AccessibilityApiPigeonMethodCodec = StandardMethodCodec(AccessibilityApiPige
interface Accessibility {
fun hasPermission(): Boolean
fun openPermissions()
fun performTouch(x: Double, y: Double)
fun performTouch(x: Double, y: Double, isKeyDown: Boolean, isKeyUp: Boolean)
fun performGlobalAction(action: GlobalAction)
fun controlMedia(action: MediaAction)
fun isRunning(): Boolean
fun ignoreHidDevices()
fun setHandledKeys(keys: List<String>)
companion object {
/** The codec used by Accessibility. */
@@ -150,7 +261,7 @@ interface Accessibility {
val wrapped: List<Any?> = try {
listOf(api.hasPermission())
} catch (exception: Throwable) {
wrapError(exception)
AccessibilityApiPigeonUtils.wrapError(exception)
}
reply.reply(wrapped)
}
@@ -166,7 +277,7 @@ interface Accessibility {
api.openPermissions()
listOf(null)
} catch (exception: Throwable) {
wrapError(exception)
AccessibilityApiPigeonUtils.wrapError(exception)
}
reply.reply(wrapped)
}
@@ -181,11 +292,31 @@ interface Accessibility {
val args = message as List<Any?>
val xArg = args[0] as Double
val yArg = args[1] as Double
val isKeyDownArg = args[2] as Boolean
val isKeyUpArg = args[3] as Boolean
val wrapped: List<Any?> = try {
api.performTouch(xArg, yArg)
api.performTouch(xArg, yArg, isKeyDownArg, isKeyUpArg)
listOf(null)
} catch (exception: Throwable) {
wrapError(exception)
AccessibilityApiPigeonUtils.wrapError(exception)
}
reply.reply(wrapped)
}
} else {
channel.setMessageHandler(null)
}
}
run {
val channel = BasicMessageChannel<Any?>(binaryMessenger, "dev.flutter.pigeon.accessibility.Accessibility.performGlobalAction$separatedMessageChannelSuffix", codec)
if (api != null) {
channel.setMessageHandler { message, reply ->
val args = message as List<Any?>
val actionArg = args[0] as GlobalAction
val wrapped: List<Any?> = try {
api.performGlobalAction(actionArg)
listOf(null)
} catch (exception: Throwable) {
AccessibilityApiPigeonUtils.wrapError(exception)
}
reply.reply(wrapped)
}
@@ -203,7 +334,56 @@ interface Accessibility {
api.controlMedia(actionArg)
listOf(null)
} catch (exception: Throwable) {
wrapError(exception)
AccessibilityApiPigeonUtils.wrapError(exception)
}
reply.reply(wrapped)
}
} else {
channel.setMessageHandler(null)
}
}
run {
val channel = BasicMessageChannel<Any?>(binaryMessenger, "dev.flutter.pigeon.accessibility.Accessibility.isRunning$separatedMessageChannelSuffix", codec)
if (api != null) {
channel.setMessageHandler { _, reply ->
val wrapped: List<Any?> = try {
listOf(api.isRunning())
} catch (exception: Throwable) {
AccessibilityApiPigeonUtils.wrapError(exception)
}
reply.reply(wrapped)
}
} else {
channel.setMessageHandler(null)
}
}
run {
val channel = BasicMessageChannel<Any?>(binaryMessenger, "dev.flutter.pigeon.accessibility.Accessibility.ignoreHidDevices$separatedMessageChannelSuffix", codec)
if (api != null) {
channel.setMessageHandler { _, reply ->
val wrapped: List<Any?> = try {
api.ignoreHidDevices()
listOf(null)
} catch (exception: Throwable) {
AccessibilityApiPigeonUtils.wrapError(exception)
}
reply.reply(wrapped)
}
} else {
channel.setMessageHandler(null)
}
}
run {
val channel = BasicMessageChannel<Any?>(binaryMessenger, "dev.flutter.pigeon.accessibility.Accessibility.setHandledKeys$separatedMessageChannelSuffix", codec)
if (api != null) {
channel.setMessageHandler { message, reply ->
val args = message as List<Any?>
val keysArg = args[0] as List<String>
val wrapped: List<Any?> = try {
api.setHandledKeys(keysArg)
listOf(null)
} catch (exception: Throwable) {
AccessibilityApiPigeonUtils.wrapError(exception)
}
reply.reply(wrapped)
}
@@ -264,3 +444,16 @@ abstract class StreamEventsStreamHandler : AccessibilityApiPigeonEventChannelWra
}
}
abstract class HidKeyPressedStreamHandler : AccessibilityApiPigeonEventChannelWrapper<AKeyEvent> {
companion object {
fun register(messenger: BinaryMessenger, streamHandler: HidKeyPressedStreamHandler, instanceName: String = "") {
var channelName: String = "dev.flutter.pigeon.accessibility.EventChannelMethods.hidKeyPressed"
if (instanceName.isNotEmpty()) {
channelName += ".$instanceName"
}
val internalStreamHandler = AccessibilityApiPigeonStreamHandler<AKeyEvent>(streamHandler)
EventChannel(messenger, channelName, AccessibilityApiPigeonMethodCodec).setStreamHandler(internalStreamHandler)
}
}
}

View File

@@ -1,14 +1,19 @@
package de.jonasbark.accessibility
import AKeyEvent
import Accessibility
import GlobalAction
import HidKeyPressedStreamHandler
import MediaAction
import PigeonEventSink
import StreamEventsStreamHandler
import WindowEvent
import android.content.Context
import android.content.Intent
import android.graphics.Rect
import android.os.Bundle
import android.provider.Settings
import android.view.KeyEvent
import androidx.core.content.ContextCompat.startActivity
import io.flutter.embedding.engine.plugins.FlutterPlugin
import io.flutter.plugin.common.MethodChannel
@@ -22,17 +27,21 @@ class AccessibilityPlugin: FlutterPlugin, Accessibility {
/// when the Flutter Engine is detached from the Activity
private lateinit var channel : MethodChannel
private lateinit var context: Context
private lateinit var eventHandler: EventListener
private lateinit var windowEventHandler: WindowEventListener
private lateinit var hidEventHandler: HidEventListener
override fun onAttachedToEngine(flutterPluginBinding: FlutterPlugin.FlutterPluginBinding) {
channel = MethodChannel(flutterPluginBinding.binaryMessenger, "accessibility")
eventHandler = EventListener()
windowEventHandler = WindowEventListener()
hidEventHandler = HidEventListener()
context = flutterPluginBinding.applicationContext
Accessibility.setUp(flutterPluginBinding.binaryMessenger, this)
StreamEventsStreamHandler.register(flutterPluginBinding.binaryMessenger, eventHandler)
Observable.fromService = eventHandler
StreamEventsStreamHandler.register(flutterPluginBinding.binaryMessenger, windowEventHandler)
HidKeyPressedStreamHandler.register(flutterPluginBinding.binaryMessenger, hidEventHandler)
Observable.fromServiceWindow = windowEventHandler
Observable.fromServiceKeys = hidEventHandler
}
override fun onDetachedFromEngine(binding: FlutterPlugin.FlutterPluginBinding) {
@@ -44,48 +53,99 @@ class AccessibilityPlugin: FlutterPlugin, Accessibility {
return enabledServices != null && enabledServices.contains(context.packageName)
}
override fun isRunning(): Boolean {
return Observable.toService != null
}
override fun openPermissions() {
startActivity(context, Intent(Settings.ACTION_ACCESSIBILITY_SETTINGS).apply {
flags = Intent.FLAG_ACTIVITY_NEW_TASK or Intent.FLAG_ACTIVITY_CLEAR_TASK
}, Bundle.EMPTY)
}
override fun performTouch(x: Double, y: Double) {
Observable.toService?.performTouch(x = x, y = y) ?: error("Service not running")
override fun performTouch(x: Double, y: Double, isKeyDown: Boolean, isKeyUp: Boolean) {
Observable.toService?.performTouch(x = x, y = y, isKeyUp = isKeyUp, isKeyDown = isKeyDown) ?: error("Service not running")
}
override fun performGlobalAction(action: GlobalAction) {
Observable.toService?.performGlobalAction(action) ?: error("Service not running")
}
override fun controlMedia(action: MediaAction) {
val audioService = context.getSystemService(Context.AUDIO_SERVICE) as android.media.AudioManager
when (action) {
MediaAction.PLAY_PAUSE -> {
audioService.dispatchMediaKeyEvent(android.view.KeyEvent(android.view.KeyEvent.ACTION_DOWN, android.view.KeyEvent.KEYCODE_MEDIA_PLAY_PAUSE))
audioService.dispatchMediaKeyEvent(android.view.KeyEvent(android.view.KeyEvent.ACTION_UP, android.view.KeyEvent.KEYCODE_MEDIA_PLAY_PAUSE))
audioService.dispatchMediaKeyEvent(KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_MEDIA_PLAY_PAUSE))
audioService.dispatchMediaKeyEvent(KeyEvent(KeyEvent.ACTION_UP, KeyEvent.KEYCODE_MEDIA_PLAY_PAUSE))
}
MediaAction.NEXT -> {
audioService.dispatchMediaKeyEvent(android.view.KeyEvent(android.view.KeyEvent.ACTION_DOWN, android.view.KeyEvent.KEYCODE_MEDIA_NEXT))
audioService.dispatchMediaKeyEvent(android.view.KeyEvent(android.view.KeyEvent.ACTION_UP, android.view.KeyEvent.KEYCODE_MEDIA_NEXT))
audioService.dispatchMediaKeyEvent(KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_MEDIA_NEXT))
audioService.dispatchMediaKeyEvent(KeyEvent(KeyEvent.ACTION_UP, KeyEvent.KEYCODE_MEDIA_NEXT))
}
MediaAction.VOLUME_DOWN -> {
audioService.adjustVolume(android.media.AudioManager.ADJUST_LOWER, android.media.AudioManager.FLAG_SHOW_UI)
}
MediaAction.VOLUME_UP -> {
audioService.adjustVolume(android.media.AudioManager.ADJUST_RAISE, android.media.AudioManager.FLAG_SHOW_UI)
}
MediaAction.VOLUME_DOWN -> audioService.adjustVolume(android.media.AudioManager.ADJUST_LOWER, android.media.AudioManager.FLAG_SHOW_UI)
MediaAction.VOLUME_UP -> audioService.adjustVolume(android.media.AudioManager.ADJUST_RAISE, android.media.AudioManager.FLAG_SHOW_UI)
}
}
override fun ignoreHidDevices() {
Observable.ignoreHidDevices = true
}
override fun setHandledKeys(keys: List<String>) {
// Clear and update the concurrent set
Observable.handledKeys = keys.toSet()
}
}
class EventListener : StreamEventsStreamHandler(), Receiver {
class WindowEventListener : StreamEventsStreamHandler(), Receiver {
private var eventSink: PigeonEventSink<WindowEvent>? = null
override fun onListen(p0: Any?, sink: PigeonEventSink<WindowEvent>) {
eventSink = sink
}
fun onEventsDone() {
override fun onCancel(p0: Any?) {
eventSink?.endOfStream()
eventSink = null
}
override fun onChange(packageName: String, windowWidth: Int, windowHeight: Int) {
eventSink?.success(WindowEvent(packageName = packageName, windowWidth = windowWidth.toLong(), windowHeight = windowHeight.toLong()))
override fun onChange(packageName: String, window: Rect) {
eventSink?.success(WindowEvent(packageName = packageName, right = window.right.toLong(), left = window.left.toLong(), bottom = window.bottom.toLong(), top = window.top.toLong()))
}
override fun onKeyEvent(event: KeyEvent) {
}
}
class HidEventListener : HidKeyPressedStreamHandler(), Receiver {
private var keyEventSink: PigeonEventSink<AKeyEvent>? = null
override fun onListen(p0: Any?, sink: PigeonEventSink<AKeyEvent>) {
keyEventSink = sink
}
override fun onChange(packageName: String, window: Rect) {
}
override fun onKeyEvent(event: KeyEvent) {
val keyString = KeyEvent.keyCodeToString(event.keyCode)
keyEventSink?.success(
AKeyEvent(
hidKey = keyString,
source = event.device.name,
keyUp = event.action == KeyEvent.ACTION_UP,
keyDown = event.action == KeyEvent.ACTION_DOWN
)
)
}
}

View File

@@ -3,13 +3,19 @@ package de.jonasbark.accessibility
import android.accessibilityservice.AccessibilityService
import android.accessibilityservice.GestureDescription
import android.accessibilityservice.GestureDescription.StrokeDescription
import android.accessibilityservice.AccessibilityServiceInfo
import android.content.Context
import android.graphics.Path
import android.graphics.Rect
import android.media.AudioManager
import android.os.Build
import android.util.Log
import android.view.InputDevice
import android.view.KeyEvent
import android.view.ViewConfiguration
import android.view.accessibility.AccessibilityEvent
import android.view.accessibility.AccessibilityEvent.TYPE_WINDOW_STATE_CHANGED
import GlobalAction
class AccessibilityService : AccessibilityService(), Listener {
@@ -37,36 +43,89 @@ class AccessibilityService : AccessibilityService(), Listener {
}
val currentPackageName = event.packageName.toString()
val windowSize = getWindowSize()
Observable.fromService?.onChange(packageName = currentPackageName, windowHeight = windowSize.bottom, windowWidth = windowSize.right)
Observable.fromServiceWindow?.onChange(packageName = currentPackageName, window = windowSize)
}
private fun getWindowSize(): Rect {
val outBounds = Rect()
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.UPSIDE_DOWN_CAKE) {
rootInActiveWindow.getBoundsInWindow(outBounds)
} else {
rootInActiveWindow.getBoundsInScreen(outBounds)
}
rootInActiveWindow?.getBoundsInScreen(outBounds)
return outBounds
}
private fun simulateTap(x: Double, y: Double) {
val gestureBuilder = GestureDescription.Builder()
val path = Path()
path.moveTo(x.toFloat(), y.toFloat())
path.lineTo(x.toFloat()+1, y.toFloat())
val stroke = StrokeDescription(path, 0, ViewConfiguration.getTapTimeout().toLong())
gestureBuilder.addStroke(stroke)
dispatchGesture(gestureBuilder.build(), null, null)
}
override fun onInterrupt() {
Log.d("AccessibilityService", "Service Interrupted")
}
override fun performTouch(x: Double, y: Double) {
simulateTap(x, y)
override fun onServiceConnected() {
super.onServiceConnected()
// Request key event filtering so we receive onKeyEvent for hardware/HID media keys
try {
val info = serviceInfo ?: AccessibilityServiceInfo()
info.flags = info.flags or AccessibilityServiceInfo.FLAG_REQUEST_FILTER_KEY_EVENTS
// keep other capabilities as defined in XML
setServiceInfo(info)
} catch (e: Exception) {
Log.w("AccessibilityService", "Failed to set service info for key events: ${e.message}")
}
}
override fun onKeyEvent(event: KeyEvent): Boolean {
val keyString = KeyEvent.keyCodeToString(event.keyCode)
// if currently active app is BikeControl => handle it, so keymap can be created
if (!Observable.ignoreHidDevices && isBleRemote(event) && (rootInActiveWindow?.packageName == "de.jonasbark.swiftcontrol" || Observable.handledKeys.contains(keyString))) {
// Handle keys that have a keymap defined
Log.d(
"AccessibilityService",
"onKeyEvent: keyCode=${event.keyCode} action=${event.action} scanCode=${event.scanCode} flags=${event.flags}"
)
// Forward key events to the plugin (Flutter) and swallow them so they don't propagate.
Observable.fromServiceKeys?.onKeyEvent(event)
// Return true to indicate we've handled the event and it should be swallowed.
return true
} else {
return false
}
}
private fun isBleRemote(event: KeyEvent): Boolean {
val dev = InputDevice.getDevice(event.deviceId) ?: return false
return if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.Q) {
dev.isExternal
} else {
true
}
}
override fun performGlobalAction(action: GlobalAction) {
val mappedAction = when (action) {
GlobalAction.BACK -> android.accessibilityservice.AccessibilityService.GLOBAL_ACTION_BACK
GlobalAction.DPAD_CENTER -> android.accessibilityservice.AccessibilityService.GLOBAL_ACTION_DPAD_CENTER
GlobalAction.DOWN -> android.accessibilityservice.AccessibilityService.GLOBAL_ACTION_DPAD_DOWN
GlobalAction.RIGHT -> android.accessibilityservice.AccessibilityService.GLOBAL_ACTION_DPAD_RIGHT
GlobalAction.UP -> android.accessibilityservice.AccessibilityService.GLOBAL_ACTION_DPAD_UP
GlobalAction.LEFT -> android.accessibilityservice.AccessibilityService.GLOBAL_ACTION_DPAD_LEFT
GlobalAction.HOME -> android.accessibilityservice.AccessibilityService.GLOBAL_ACTION_HOME
GlobalAction.RECENTS -> android.accessibilityservice.AccessibilityService.GLOBAL_ACTION_RECENTS
}
performGlobalAction(mappedAction)
}
override fun performTouch(x: Double, y: Double, isKeyDown: Boolean, isKeyUp: Boolean) {
val gestureBuilder = GestureDescription.Builder()
val path = Path()
path.moveTo(x.toFloat(), y.toFloat())
path.lineTo(x.toFloat()+1, y.toFloat())
val stroke = if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
StrokeDescription(path, 0, ViewConfiguration.getTapTimeout().toLong(), isKeyDown && !isKeyUp)
} else {
// API 2425: no “willContinue” support
StrokeDescription(path, 0L, ViewConfiguration.getTapTimeout().toLong())
}
gestureBuilder.addStroke(stroke)
dispatchGesture(gestureBuilder.build(), null, null)
}
}

View File

@@ -1,14 +1,25 @@
package de.jonasbark.accessibility
import android.graphics.Rect
import android.view.KeyEvent
import GlobalAction
import java.util.concurrent.ConcurrentHashMap
object Observable {
var toService: Listener? = null
var fromService: Receiver? = null
var fromServiceWindow: Receiver? = null
var fromServiceKeys: Receiver? = null
var ignoreHidDevices: Boolean = false
// Use concurrent set for thread-safe access from AccessibilityService and plugin
var handledKeys: Set<String> = ConcurrentHashMap.newKeySet()
}
interface Listener {
fun performTouch(x: Double, y: Double)
fun performTouch(x: Double, y: Double, isKeyDown: Boolean, isKeyUp: Boolean)
fun performGlobalAction(action: GlobalAction)
}
interface Receiver {
fun onChange(packageName: String, windowWidth: Int, windowHeight: Int)
}
fun onChange(packageName: String, window: Rect)
fun onKeyEvent(event: KeyEvent)
}

View File

@@ -6,22 +6,59 @@ abstract class Accessibility {
void openPermissions();
void performTouch(double x, double y);
void performTouch(double x, double y, {bool isKeyDown = true, bool isKeyUp = false});
void performGlobalAction(GlobalAction action);
void controlMedia(MediaAction action);
bool isRunning();
void ignoreHidDevices();
void setHandledKeys(List<String> keys);
}
enum MediaAction { playPause, next, volumeUp, volumeDown }
enum GlobalAction {
back,
dpadCenter,
down,
right,
up,
left,
home,
recents,
}
class WindowEvent {
final String packageName;
final int windowHeight;
final int windowWidth;
final int top;
final int bottom;
final int right;
final int left;
WindowEvent({required this.packageName, required this.windowHeight, required this.windowWidth});
WindowEvent({
required this.packageName,
required this.left,
required this.right,
required this.top,
required this.bottom,
});
}
class AKeyEvent {
final String source;
final String hidKey;
final bool keyDown;
final bool keyUp;
AKeyEvent({required this.source, required this.hidKey, required this.keyDown, required this.keyUp});
}
@EventChannelApi()
abstract class EventChannelMethods {
WindowEvent streamEvents();
AKeyEvent hidKeyPressed();
}

View File

@@ -1,4 +1,4 @@
// Autogenerated from Pigeon (v25.2.0), do not edit directly.
// Autogenerated from Pigeon (v25.5.0), do not edit directly.
// See also: https://pub.dev/packages/pigeon
// ignore_for_file: public_member_api_docs, non_constant_identifier_names, avoid_as, unused_import, unnecessary_parenthesis, prefer_null_aware_operators, omit_local_variable_types, unused_shown_name, unnecessary_import, no_leading_underscores_for_local_identifiers
@@ -14,6 +14,20 @@ PlatformException _createConnectionError(String channelName) {
message: 'Unable to establish connection on channel: "$channelName".',
);
}
bool _deepEquals(Object? a, Object? b) {
if (a is List && b is List) {
return a.length == b.length &&
a.indexed
.every(((int, dynamic) item) => _deepEquals(item.$2, b[item.$1]));
}
if (a is Map && b is Map) {
return a.length == b.length && a.entries.every((MapEntry<Object?, Object?> entry) =>
(b as Map<Object?, Object?>).containsKey(entry.key) &&
_deepEquals(entry.value, b[entry.key]));
}
return a == b;
}
enum MediaAction {
playPause,
@@ -22,24 +36,43 @@ enum MediaAction {
volumeDown,
}
enum GlobalAction {
back,
dpadCenter,
down,
right,
up,
left,
home,
recents,
}
class WindowEvent {
WindowEvent({
required this.packageName,
required this.windowHeight,
required this.windowWidth,
required this.top,
required this.bottom,
required this.right,
required this.left,
});
String packageName;
int windowHeight;
int top;
int windowWidth;
int bottom;
int right;
int left;
List<Object?> _toList() {
return <Object?>[
packageName,
windowHeight,
windowWidth,
top,
bottom,
right,
left,
];
}
@@ -50,8 +83,10 @@ class WindowEvent {
result as List<Object?>;
return WindowEvent(
packageName: result[0]! as String,
windowHeight: result[1]! as int,
windowWidth: result[2]! as int,
top: result[1]! as int,
bottom: result[2]! as int,
right: result[3]! as int,
left: result[4]! as int,
);
}
@@ -64,10 +99,63 @@ class WindowEvent {
if (identical(this, other)) {
return true;
}
return
packageName == other.packageName
&& windowHeight == other.windowHeight
&& windowWidth == other.windowWidth;
return _deepEquals(encode(), other.encode());
}
@override
// ignore: avoid_equals_and_hash_code_on_mutable_classes
int get hashCode => Object.hashAll(_toList())
;
}
class AKeyEvent {
AKeyEvent({
required this.source,
required this.hidKey,
required this.keyDown,
required this.keyUp,
});
String source;
String hidKey;
bool keyDown;
bool keyUp;
List<Object?> _toList() {
return <Object?>[
source,
hidKey,
keyDown,
keyUp,
];
}
Object encode() {
return _toList(); }
static AKeyEvent decode(Object result) {
result as List<Object?>;
return AKeyEvent(
source: result[0]! as String,
hidKey: result[1]! as String,
keyDown: result[2]! as bool,
keyUp: result[3]! as bool,
);
}
@override
// ignore: avoid_equals_and_hash_code_on_mutable_classes
bool operator ==(Object other) {
if (other is! AKeyEvent || other.runtimeType != runtimeType) {
return false;
}
if (identical(this, other)) {
return true;
}
return _deepEquals(encode(), other.encode());
}
@override
@@ -87,8 +175,14 @@ class _PigeonCodec extends StandardMessageCodec {
} else if (value is MediaAction) {
buffer.putUint8(129);
writeValue(buffer, value.index);
} else if (value is WindowEvent) {
} else if (value is GlobalAction) {
buffer.putUint8(130);
writeValue(buffer, value.index);
} else if (value is WindowEvent) {
buffer.putUint8(131);
writeValue(buffer, value.encode());
} else if (value is AKeyEvent) {
buffer.putUint8(132);
writeValue(buffer, value.encode());
} else {
super.writeValue(buffer, value);
@@ -102,7 +196,12 @@ class _PigeonCodec extends StandardMessageCodec {
final int? value = readValue(buffer) as int?;
return value == null ? null : MediaAction.values[value];
case 130:
final int? value = readValue(buffer) as int?;
return value == null ? null : GlobalAction.values[value];
case 131:
return WindowEvent.decode(readValue(buffer)!);
case 132:
return AKeyEvent.decode(readValue(buffer)!);
default:
return super.readValueOfType(type, buffer);
}
@@ -175,14 +274,37 @@ class Accessibility {
}
}
Future<void> performTouch(double x, double y) async {
Future<void> performTouch(double x, double y, {bool isKeyDown = true, bool isKeyUp = false, }) async {
final String pigeonVar_channelName = 'dev.flutter.pigeon.accessibility.Accessibility.performTouch$pigeonVar_messageChannelSuffix';
final BasicMessageChannel<Object?> pigeonVar_channel = BasicMessageChannel<Object?>(
pigeonVar_channelName,
pigeonChannelCodec,
binaryMessenger: pigeonVar_binaryMessenger,
);
final Future<Object?> pigeonVar_sendFuture = pigeonVar_channel.send(<Object?>[x, y]);
final Future<Object?> pigeonVar_sendFuture = pigeonVar_channel.send(<Object?>[x, y, isKeyDown, isKeyUp]);
final List<Object?>? pigeonVar_replyList =
await pigeonVar_sendFuture as List<Object?>?;
if (pigeonVar_replyList == null) {
throw _createConnectionError(pigeonVar_channelName);
} else if (pigeonVar_replyList.length > 1) {
throw PlatformException(
code: pigeonVar_replyList[0]! as String,
message: pigeonVar_replyList[1] as String?,
details: pigeonVar_replyList[2],
);
} else {
return;
}
}
Future<void> performGlobalAction(GlobalAction action) async {
final String pigeonVar_channelName = 'dev.flutter.pigeon.accessibility.Accessibility.performGlobalAction$pigeonVar_messageChannelSuffix';
final BasicMessageChannel<Object?> pigeonVar_channel = BasicMessageChannel<Object?>(
pigeonVar_channelName,
pigeonChannelCodec,
binaryMessenger: pigeonVar_binaryMessenger,
);
final Future<Object?> pigeonVar_sendFuture = pigeonVar_channel.send(<Object?>[action]);
final List<Object?>? pigeonVar_replyList =
await pigeonVar_sendFuture as List<Object?>?;
if (pigeonVar_replyList == null) {
@@ -220,6 +342,80 @@ class Accessibility {
return;
}
}
Future<bool> isRunning() async {
final String pigeonVar_channelName = 'dev.flutter.pigeon.accessibility.Accessibility.isRunning$pigeonVar_messageChannelSuffix';
final BasicMessageChannel<Object?> pigeonVar_channel = BasicMessageChannel<Object?>(
pigeonVar_channelName,
pigeonChannelCodec,
binaryMessenger: pigeonVar_binaryMessenger,
);
final Future<Object?> pigeonVar_sendFuture = pigeonVar_channel.send(null);
final List<Object?>? pigeonVar_replyList =
await pigeonVar_sendFuture as List<Object?>?;
if (pigeonVar_replyList == null) {
throw _createConnectionError(pigeonVar_channelName);
} else if (pigeonVar_replyList.length > 1) {
throw PlatformException(
code: pigeonVar_replyList[0]! as String,
message: pigeonVar_replyList[1] as String?,
details: pigeonVar_replyList[2],
);
} else if (pigeonVar_replyList[0] == null) {
throw PlatformException(
code: 'null-error',
message: 'Host platform returned null value for non-null return value.',
);
} else {
return (pigeonVar_replyList[0] as bool?)!;
}
}
Future<void> ignoreHidDevices() async {
final String pigeonVar_channelName = 'dev.flutter.pigeon.accessibility.Accessibility.ignoreHidDevices$pigeonVar_messageChannelSuffix';
final BasicMessageChannel<Object?> pigeonVar_channel = BasicMessageChannel<Object?>(
pigeonVar_channelName,
pigeonChannelCodec,
binaryMessenger: pigeonVar_binaryMessenger,
);
final Future<Object?> pigeonVar_sendFuture = pigeonVar_channel.send(null);
final List<Object?>? pigeonVar_replyList =
await pigeonVar_sendFuture as List<Object?>?;
if (pigeonVar_replyList == null) {
throw _createConnectionError(pigeonVar_channelName);
} else if (pigeonVar_replyList.length > 1) {
throw PlatformException(
code: pigeonVar_replyList[0]! as String,
message: pigeonVar_replyList[1] as String?,
details: pigeonVar_replyList[2],
);
} else {
return;
}
}
Future<void> setHandledKeys(List<String> keys) async {
final String pigeonVar_channelName = 'dev.flutter.pigeon.accessibility.Accessibility.setHandledKeys$pigeonVar_messageChannelSuffix';
final BasicMessageChannel<Object?> pigeonVar_channel = BasicMessageChannel<Object?>(
pigeonVar_channelName,
pigeonChannelCodec,
binaryMessenger: pigeonVar_binaryMessenger,
);
final Future<Object?> pigeonVar_sendFuture = pigeonVar_channel.send(<Object?>[keys]);
final List<Object?>? pigeonVar_replyList =
await pigeonVar_sendFuture as List<Object?>?;
if (pigeonVar_replyList == null) {
throw _createConnectionError(pigeonVar_channelName);
} else if (pigeonVar_replyList.length > 1) {
throw PlatformException(
code: pigeonVar_replyList[0]! as String,
message: pigeonVar_replyList[1] as String?,
details: pigeonVar_replyList[2],
);
} else {
return;
}
}
}
Stream<WindowEvent> streamEvents( {String instanceName = ''}) {
@@ -233,3 +429,14 @@ Stream<WindowEvent> streamEvents( {String instanceName = ''}) {
});
}
Stream<AKeyEvent> hidKeyPressed( {String instanceName = ''}) {
if (instanceName.isNotEmpty) {
instanceName = '.$instanceName';
}
final EventChannel hidKeyPressedChannel =
EventChannel('dev.flutter.pigeon.accessibility.EventChannelMethods.hidKeyPressed$instanceName', pigeonMethodCodec);
return hidKeyPressedChannel.receiveBroadcastStream().map((dynamic event) {
return event as AKeyEvent;
});
}

View File

@@ -23,6 +23,10 @@ linter:
rules:
# avoid_print: false # Uncomment to disable the `avoid_print` rule
# prefer_single_quotes: true # Uncomment to enable the `prefer_single_quotes` rule
- require_trailing_commas
# Additional information about this file can be found at
# https://dart.dev/guides/language/analysis-options
formatter:
page_width: 120
trailing_commas: preserve

View File

@@ -14,9 +14,9 @@ val keystoreProperties = Properties()
keystoreProperties.load(FileInputStream(keystorePropertiesFile))
android {
namespace = "de.jonasbark.swift_play"
namespace = "de.jonasbark.swiftcontrol"
compileSdk = flutter.compileSdkVersion
ndkVersion = "27.0.12077973"
ndkVersion = "28.2.13676358"
compileOptions {
// Flag to enable support for the new language APIs
@@ -32,7 +32,7 @@ android {
defaultConfig {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId = "de.jonasbark.swift_play"
applicationId = "de.jonasbark.swiftcontrol"
// You can update the following values to match your application needs.
// For more information, see: https://flutter.dev/to/review-gradle-config.
minSdk = 24

View File

@@ -1,7 +0,0 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<!-- The INTERNET permission is required for development. Specifically,
the Flutter tool needs it to communicate with the running application
to allow setting breakpoints, to provide hot reload, etc.
-->
<uses-permission android:name="android.permission.INTERNET"/>
</manifest>

View File

@@ -1,7 +1,10 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<manifest xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools">
<!-- Allow Bluetooth -->
<uses-feature android:name="android.hardware.bluetooth_le" android:required="true" />
<uses-permission android:name="android.permission.BLUETOOTH_ADVERTISE"/>
<uses-permission android:name="android.permission.CHANGE_WIFI_MULTICAST_STATE" />
<!-- New Bluetooth permissions in Android 12
https://developer.android.com/about/versions/12/features/bluetooth-permissions -->
<uses-permission android:name="android.permission.BLUETOOTH_SCAN" android:usesPermissionFlags="neverForLocation" />
@@ -14,16 +17,17 @@
<uses-permission android:name="android.permission.FOREGROUND_SERVICE"/>
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_CONNECTED_DEVICE"/>
<uses-permission android:name="android.permission.BILLING"/>
<!-- legacy for Android 9 or lower -->
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" android:maxSdkVersion="28" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" android:maxSdkVersion="28" tools:replace="android:maxSdkVersion" />
<uses-permission android:name="android.permission.POST_NOTIFICATIONS"/>
<!-- to check if you have the latest version -->
<uses-permission android:name="android.permission.INTERNET" />
<application
android:label="SwiftControl"
android:label="BikeControl"
android:name="${applicationName}"
android:icon="@mipmap/ic_launcher">
<activity
@@ -47,6 +51,13 @@
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<!-- Accepts URIs that begin with YOUR_SCHEME://YOUR_HOST -->
<data android:scheme="bikecontrol" />
</intent-filter>
</activity>
<receiver

View File

@@ -1,5 +0,0 @@
package de.jonasbark.swift_play
import io.flutter.embedding.android.FlutterActivity
class MainActivity : FlutterActivity()

View File

@@ -0,0 +1,46 @@
package de.jonasbark.swiftcontrol
import android.hardware.input.InputManager
import android.os.Handler
import android.view.InputDevice
import android.view.KeyEvent
import android.view.MotionEvent
import io.flutter.embedding.android.FlutterFragmentActivity
import org.flame_engine.gamepads_android.GamepadsCompatibleActivity
class MainActivity: FlutterFragmentActivity(), GamepadsCompatibleActivity {
var keyListener: ((KeyEvent) -> Boolean)? = null
var motionListener: ((MotionEvent) -> Boolean)? = null
override fun isGamepadsInputDevice(device: InputDevice): Boolean {
return device.sources and InputDevice.SOURCE_GAMEPAD == InputDevice.SOURCE_GAMEPAD
|| device.sources and InputDevice.SOURCE_JOYSTICK == InputDevice.SOURCE_JOYSTICK
// Some bluetooth keyboards are identified as GamePad. Check if it is ALPHABETIC keyboard.
// && device.keyboardType != InputDevice.KEYBOARD_TYPE_ALPHABETIC
}
override fun dispatchGenericMotionEvent(motionEvent: MotionEvent): Boolean {
return motionListener?.invoke(motionEvent) ?: false
}
override fun dispatchKeyEvent(keyEvent: KeyEvent): Boolean {
if (keyListener?.invoke(keyEvent) == true) {
return true
}
return super.dispatchKeyEvent(keyEvent)
}
override fun registerInputDeviceListener(
listener: InputManager.InputDeviceListener, handler: Handler?) {
val inputManager = getSystemService(INPUT_SERVICE) as InputManager
inputManager.registerInputDeviceListener(listener, null)
}
override fun registerKeyEventHandler(handler: (KeyEvent) -> Boolean) {
keyListener = handler
}
override fun registerMotionEventHandler(handler: (MotionEvent) -> Boolean) {
motionListener = handler
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 785 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 476 B

View File

@@ -4,9 +4,9 @@
<item android:drawable="?android:colorBackground" />
<!-- You can insert your own image assets here -->
<!-- <item>
<item>
<bitmap
android:gravity="center"
android:src="@mipmap/launch_image" />
</item> -->
android:src="@mipmap/ic_launcher" />
</item>
</layer-list>

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

View File

@@ -4,9 +4,9 @@
<item android:drawable="@android:color/white" />
<!-- You can insert your own image assets here -->
<!-- <item>
<item>
<bitmap
android:gravity="center"
android:src="@mipmap/launch_image" />
</item> -->
android:src="@mipmap/ic_launcher" />
</item>
</layer-list>

View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@mipmap/ic_launcher_background"/>
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
<monochrome android:drawable="@mipmap/ic_launcher_monochrome"/>
</adaptive-icon>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 8.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.4 KiB

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 37 KiB

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 65 KiB

After

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 126 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 125 KiB

View File

@@ -0,0 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<resources xmlns:tools="http://schemas.android.com/tools"
tools:keep="@drawable/*" />

View File

@@ -1,8 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<accessibility-service
xmlns:android="http://schemas.android.com/apk/res/android"
android:accessibilityEventTypes="typeWindowStateChanged|typeViewClicked"
android:accessibilityFeedbackType="feedbackGeneric"
android:accessibilityFlags="flagDefault"
android:accessibilityFlags="flagDefault|flagRequestFilterKeyEvents"
android:canRetrieveWindowContent="true"
android:canRequestFilterKeyEvents="true"
android:canPerformGestures="true"
android:notificationTimeout="100"/>

View File

@@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-bin.zip

View File

@@ -18,8 +18,8 @@ pluginManagement {
plugins {
id("dev.flutter.flutter-plugin-loader") version "1.0.0"
id("com.android.application") version "8.7.0" apply false
id("org.jetbrains.kotlin.android") version "1.8.22" apply false
id("com.android.application") version "8.11.1" apply false
id("org.jetbrains.kotlin.android") version "2.2.20" apply false
}
include(":app")

BIN
assets/silence.mp3 Normal file

Binary file not shown.

View File

@@ -1,32 +0,0 @@
# flutter pub run flutter_launcher_icons
flutter_launcher_icons:
image_path: "icon.png"
android: "ic_launcher"
# image_path_android: "assets/icon/icon.png"
min_sdk_android: 24 # android min sdk min:16, default 21
# adaptive_icon_background: "assets/icon/background.png"
# adaptive_icon_foreground: "assets/icon/foreground.png"
# adaptive_icon_monochrome: "assets/icon/monochrome.png"
ios: false
# image_path_ios: "assets/icon/icon.png"
remove_alpha_channel_ios: true
# image_path_ios_dark_transparent: "assets/icon/icon_dark.png"
# image_path_ios_tinted_grayscale: "assets/icon/icon_tinted.png"
# desaturate_tinted_to_grayscale_ios: true
web:
generate: true
image_path: "icon.png"
background_color: "#ffffff"
theme_color: "#ffffff"
windows:
generate: true
image_path: "icon.png"
icon_size: 48 # min:48, max:256, default: 48
macos:
generate: true
image_path: "icon.png"

BIN
icon.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 555 KiB

After

Width:  |  Height:  |  Size: 26 KiB

29
ios/ExportOptions.plist Normal file
View File

@@ -0,0 +1,29 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>destination</key>
<string>export</string>
<key>generateAppStoreInformation</key>
<false/>
<key>manageAppVersionAndBuildNumber</key>
<true/>
<key>method</key>
<string>app-store-connect</string>
<key>signingStyle</key>
<string>manual</string>
<key>provisioningProfiles</key>
<dict>
<key>de.jonasbark.swiftcontrol.darwin</key>
<string>ios app store</string>
</dict>
<key>stripSwiftSymbols</key>
<true/>
<key>teamID</key>
<string>UZRHKPVWN9</string>
<key>testFlightInternalTestingOnly</key>
<false/>
<key>uploadSymbols</key>
<true/>
</dict>
</plist>

View File

@@ -20,7 +20,5 @@
<string>????</string>
<key>CFBundleVersion</key>
<string>1.0</string>
<key>MinimumOSVersion</key>
<string>12.0</string>
</dict>
</plist>

View File

@@ -1,5 +1,6 @@
# Uncomment this line to define a global platform for your project
# platform :ios, '12.0'
platform :ios, '15.0'
# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
ENV['COCOAPODS_DISABLE_STATS'] = 'true'

261
ios/Podfile.lock Normal file
View File

@@ -0,0 +1,261 @@
PODS:
- app_links (6.4.1):
- Flutter
- AppAuth (2.0.0):
- AppAuth/Core (= 2.0.0)
- AppAuth/ExternalUserAgent (= 2.0.0)
- AppAuth/Core (2.0.0)
- AppAuth/ExternalUserAgent (2.0.0):
- AppAuth/Core
- AppCheckCore (11.2.0):
- GoogleUtilities/Environment (~> 8.0)
- GoogleUtilities/UserDefaults (~> 8.0)
- PromisesObjC (~> 2.4)
- audio_session (0.0.1):
- Flutter
- bluetooth_low_energy_darwin (0.0.1):
- Flutter
- FlutterMacOS
- device_info_plus (0.0.1):
- Flutter
- Flutter (1.0.0)
- flutter_local_notifications (0.0.1):
- Flutter
- flutter_secure_storage_darwin (10.0.0):
- Flutter
- FlutterMacOS
- flutter_volume_controller (0.0.1):
- Flutter
- gamepads_ios (0.1.1):
- Flutter
- google_sign_in_ios (0.0.1):
- Flutter
- FlutterMacOS
- GoogleSignIn (~> 9.0)
- GTMSessionFetcher (>= 3.4.0)
- GoogleSignIn (9.1.0):
- AppAuth (~> 2.0)
- AppCheckCore (~> 11.0)
- GTMAppAuth (~> 5.0)
- GTMSessionFetcher/Core (~> 3.3)
- GoogleUtilities/Environment (8.1.0):
- GoogleUtilities/Privacy
- GoogleUtilities/Logger (8.1.0):
- GoogleUtilities/Environment
- GoogleUtilities/Privacy
- GoogleUtilities/Privacy (8.1.0)
- GoogleUtilities/UserDefaults (8.1.0):
- GoogleUtilities/Logger
- GoogleUtilities/Privacy
- GTMAppAuth (5.0.0):
- AppAuth/Core (~> 2.0)
- GTMSessionFetcher/Core (< 4.0, >= 3.3)
- GTMSessionFetcher (3.5.0):
- GTMSessionFetcher/Full (= 3.5.0)
- GTMSessionFetcher/Core (3.5.0)
- GTMSessionFetcher/Full (3.5.0):
- GTMSessionFetcher/Core
- image_picker_ios (0.0.1):
- Flutter
- in_app_purchase_storekit (0.0.1):
- Flutter
- FlutterMacOS
- in_app_review (2.0.0):
- Flutter
- integration_test (0.0.1):
- Flutter
- ios_receipt (0.0.1):
- Flutter
- just_audio (0.0.1):
- Flutter
- FlutterMacOS
- media_key_detector_ios (0.0.1):
- Flutter
- nsd_ios (0.0.1):
- Flutter
- package_info_plus (0.4.5):
- Flutter
- permission_handler_apple (9.3.0):
- Flutter
- PromisesObjC (2.4.0)
- purchases_flutter (9.10.6):
- Flutter
- PurchasesHybridCommon (= 17.27.1)
- purchases_ui_flutter (9.10.6):
- Flutter
- PurchasesHybridCommonUI (= 17.27.1)
- PurchasesHybridCommon (17.27.1):
- RevenueCat (= 5.54.1)
- PurchasesHybridCommonUI (17.27.1):
- PurchasesHybridCommon (= 17.27.1)
- RevenueCatUI (= 5.54.1)
- restart_app (0.0.1):
- Flutter
- RevenueCat (5.54.1)
- RevenueCatUI (5.54.1):
- RevenueCat (= 5.54.1)
- sensors_plus (0.0.1):
- Flutter
- shared_preferences_foundation (0.0.1):
- Flutter
- FlutterMacOS
- sign_in_with_apple (0.0.1):
- Flutter
- universal_ble (0.0.1):
- Flutter
- FlutterMacOS
- url_launcher_ios (0.0.1):
- Flutter
- wakelock_plus (0.0.1):
- Flutter
DEPENDENCIES:
- app_links (from `.symlinks/plugins/app_links/ios`)
- audio_session (from `.symlinks/plugins/audio_session/ios`)
- bluetooth_low_energy_darwin (from `.symlinks/plugins/bluetooth_low_energy_darwin/darwin`)
- device_info_plus (from `.symlinks/plugins/device_info_plus/ios`)
- Flutter (from `Flutter`)
- flutter_local_notifications (from `.symlinks/plugins/flutter_local_notifications/ios`)
- flutter_secure_storage_darwin (from `.symlinks/plugins/flutter_secure_storage_darwin/darwin`)
- flutter_volume_controller (from `.symlinks/plugins/flutter_volume_controller/ios`)
- gamepads_ios (from `.symlinks/plugins/gamepads_ios/ios`)
- google_sign_in_ios (from `.symlinks/plugins/google_sign_in_ios/darwin`)
- image_picker_ios (from `.symlinks/plugins/image_picker_ios/ios`)
- in_app_purchase_storekit (from `.symlinks/plugins/in_app_purchase_storekit/darwin`)
- in_app_review (from `.symlinks/plugins/in_app_review/ios`)
- integration_test (from `.symlinks/plugins/integration_test/ios`)
- ios_receipt (from `.symlinks/plugins/ios_receipt/ios`)
- just_audio (from `.symlinks/plugins/just_audio/darwin`)
- media_key_detector_ios (from `.symlinks/plugins/media_key_detector_ios/ios`)
- nsd_ios (from `.symlinks/plugins/nsd_ios/ios`)
- package_info_plus (from `.symlinks/plugins/package_info_plus/ios`)
- permission_handler_apple (from `.symlinks/plugins/permission_handler_apple/ios`)
- purchases_flutter (from `.symlinks/plugins/purchases_flutter/ios`)
- purchases_ui_flutter (from `.symlinks/plugins/purchases_ui_flutter/ios`)
- restart_app (from `.symlinks/plugins/restart_app/ios`)
- sensors_plus (from `.symlinks/plugins/sensors_plus/ios`)
- shared_preferences_foundation (from `.symlinks/plugins/shared_preferences_foundation/darwin`)
- sign_in_with_apple (from `.symlinks/plugins/sign_in_with_apple/ios`)
- universal_ble (from `.symlinks/plugins/universal_ble/darwin`)
- url_launcher_ios (from `.symlinks/plugins/url_launcher_ios/ios`)
- wakelock_plus (from `.symlinks/plugins/wakelock_plus/ios`)
SPEC REPOS:
trunk:
- AppAuth
- AppCheckCore
- GoogleSignIn
- GoogleUtilities
- GTMAppAuth
- GTMSessionFetcher
- PromisesObjC
- PurchasesHybridCommon
- PurchasesHybridCommonUI
- RevenueCat
- RevenueCatUI
EXTERNAL SOURCES:
app_links:
:path: ".symlinks/plugins/app_links/ios"
audio_session:
:path: ".symlinks/plugins/audio_session/ios"
bluetooth_low_energy_darwin:
:path: ".symlinks/plugins/bluetooth_low_energy_darwin/darwin"
device_info_plus:
:path: ".symlinks/plugins/device_info_plus/ios"
Flutter:
:path: Flutter
flutter_local_notifications:
:path: ".symlinks/plugins/flutter_local_notifications/ios"
flutter_secure_storage_darwin:
:path: ".symlinks/plugins/flutter_secure_storage_darwin/darwin"
flutter_volume_controller:
:path: ".symlinks/plugins/flutter_volume_controller/ios"
gamepads_ios:
:path: ".symlinks/plugins/gamepads_ios/ios"
google_sign_in_ios:
:path: ".symlinks/plugins/google_sign_in_ios/darwin"
image_picker_ios:
:path: ".symlinks/plugins/image_picker_ios/ios"
in_app_purchase_storekit:
:path: ".symlinks/plugins/in_app_purchase_storekit/darwin"
in_app_review:
:path: ".symlinks/plugins/in_app_review/ios"
integration_test:
:path: ".symlinks/plugins/integration_test/ios"
ios_receipt:
:path: ".symlinks/plugins/ios_receipt/ios"
just_audio:
:path: ".symlinks/plugins/just_audio/darwin"
media_key_detector_ios:
:path: ".symlinks/plugins/media_key_detector_ios/ios"
nsd_ios:
:path: ".symlinks/plugins/nsd_ios/ios"
package_info_plus:
:path: ".symlinks/plugins/package_info_plus/ios"
permission_handler_apple:
:path: ".symlinks/plugins/permission_handler_apple/ios"
purchases_flutter:
:path: ".symlinks/plugins/purchases_flutter/ios"
purchases_ui_flutter:
:path: ".symlinks/plugins/purchases_ui_flutter/ios"
restart_app:
:path: ".symlinks/plugins/restart_app/ios"
sensors_plus:
:path: ".symlinks/plugins/sensors_plus/ios"
shared_preferences_foundation:
:path: ".symlinks/plugins/shared_preferences_foundation/darwin"
sign_in_with_apple:
:path: ".symlinks/plugins/sign_in_with_apple/ios"
universal_ble:
:path: ".symlinks/plugins/universal_ble/darwin"
url_launcher_ios:
:path: ".symlinks/plugins/url_launcher_ios/ios"
wakelock_plus:
:path: ".symlinks/plugins/wakelock_plus/ios"
SPEC CHECKSUMS:
app_links: 585674be3c6661708e6cd794ab4f39fb9d8356f9
AppAuth: 1c1a8afa7e12f2ec3a294d9882dfa5ab7d3cb063
AppCheckCore: cc8fd0a3a230ddd401f326489c99990b013f0c4f
audio_session: 19e9480dbdd4e5f6c4543826b2e8b0e4ab6145fe
bluetooth_low_energy_darwin: 50bc79258e60586e4c4bed5948bd31d925f37fac
device_info_plus: bf2e3232933866d73fe290f2942f2156cdd10342
Flutter: cabc95a1d2626b1b06e7179b784ebcf0c0cde467
flutter_local_notifications: ff50f8405aaa0ccdc7dcfb9022ca192e8ad9688f
flutter_secure_storage_darwin: 557817588b80e60213cbecb573c45c76b788018d
flutter_volume_controller: e4d5832f08008180f76e30faf671ffd5a425e529
gamepads_ios: 1d2930c7a4450a9a1b57444ebf305a6a6cbeea0b
google_sign_in_ios: 7336a3372ea93ea56a21e126a0055ffca3723601
GoogleSignIn: fcee2257188d5eda57a5e2b6a715550ffff9206d
GoogleUtilities: 00c88b9a86066ef77f0da2fab05f65d7768ed8e1
GTMAppAuth: 217a876b249c3c585a54fd6f73e6b58c4f5c4238
GTMSessionFetcher: 5aea5ba6bd522a239e236100971f10cb71b96ab6
image_picker_ios: 4f2f91b01abdb52842a8e277617df877e40f905b
in_app_purchase_storekit: 2342c0a5da86593124d08dd13d920f39a52b273a
in_app_review: 436034b18594851a7328d7f1c2ed5ec235b79cfc
integration_test: 252f60fa39af5e17c3aa9899d35d908a0721b573
ios_receipt: c2d5b4c36953c377a024992393976214ce6951e6
just_audio: a42c63806f16995daf5b219ae1d679deb76e6a79
media_key_detector_ios: 7ff9aefdfea00bb7b71e184132381b7d0e7e1269
nsd_ios: 8c37babdc6538e3350dbed3a52674d2edde98173
package_info_plus: c0502532a26c7662a62a356cebe2692ec5fe4ec4
permission_handler_apple: 9878588469a2b0d0fc1e048d9f43605f92e6cec2
PromisesObjC: f5707f49cb48b9636751c5b2e7d227e43fba9f47
purchases_flutter: b3c0792197f69cd7af4c2449b71df6ac6378aace
purchases_ui_flutter: caae6d62ea23c6fe964992a28353211cc74b244a
PurchasesHybridCommon: 027f03312519c51056457eb2e4f7ee1c91b61b8f
PurchasesHybridCommonUI: 48afb5e29204958bff1276b0f7acb8e4b59fe99a
restart_app: 806659942bf932f6ce51c5372f91ce5e81c8c14a
RevenueCat: ecbba580fa453b0d4a0475449b904196d74ef678
RevenueCatUI: ac7492873928e9e7f297e5e27a7c4f23f9008326
sensors_plus: 7229095999f30740798f0eeef5cd120357a8f4f2
shared_preferences_foundation: 5086985c1d43c5ba4d5e69a4e8083a389e2909e6
sign_in_with_apple: f3bf75217ea4c2c8b91823f225d70230119b8440
universal_ble: cf52a7b3fd2e7c14d6d7262e9fdadb72ab6b88a6
url_launcher_ios: bb13df5870e8c4234ca12609d04010a21be43dfa
wakelock_plus: 76957ab028e12bfa4e66813c99e46637f367fc7e
PODFILE CHECKSUM: 7ebd5c9b932b3af79d5c67e3af873118b74e970f
COCOAPODS: 1.16.2

View File

@@ -10,10 +10,12 @@
1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; };
331C808B294A63AB00263BE5 /* RunnerTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 331C807B294A618700263BE5 /* RunnerTests.swift */; };
3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; };
3E50CA021EFA25CF89FE46AB /* Pods_RunnerTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2C0E42A04700D6B661C7EE82 /* Pods_RunnerTests.framework */; };
74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74858FAE1ED2DC5600515810 /* AppDelegate.swift */; };
97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; };
97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; };
97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; };
9DEFD285994D09CFCE400F36 /* Pods_Runner.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5CE7ADD07A99710C0FB974A8 /* Pods_Runner.framework */; };
/* End PBXBuildFile section */
/* Begin PBXContainerItemProxy section */
@@ -40,14 +42,20 @@
/* End PBXCopyFilesBuildPhase section */
/* Begin PBXFileReference section */
0CF32F9ECDBEA4B014717FF8 /* Pods-Runner.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.release.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"; sourceTree = "<group>"; };
1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = "<group>"; };
1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = "<group>"; };
2C0E42A04700D6B661C7EE82 /* Pods_RunnerTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_RunnerTests.framework; sourceTree = BUILT_PRODUCTS_DIR; };
331C807B294A618700263BE5 /* RunnerTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RunnerTests.swift; sourceTree = "<group>"; };
331C8081294A63A400263BE5 /* RunnerTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = RunnerTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = "<group>"; };
5CE7ADD07A99710C0FB974A8 /* Pods_Runner.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Runner.framework; sourceTree = BUILT_PRODUCTS_DIR; };
74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Runner-Bridging-Header.h"; sourceTree = "<group>"; };
74858FAE1ED2DC5600515810 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = "<group>"; };
7D133E5D5548E2EF2879734F /* Pods-Runner.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.profile.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig"; sourceTree = "<group>"; };
86D436F6DAF367742EF27F51 /* Pods-Runner.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.debug.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"; sourceTree = "<group>"; };
8AA6D129479129F106E2298A /* Pods-RunnerTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RunnerTests.release.xcconfig"; path = "Target Support Files/Pods-RunnerTests/Pods-RunnerTests.release.xcconfig"; sourceTree = "<group>"; };
9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = "<group>"; };
9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = "<group>"; };
97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; };
@@ -55,19 +63,44 @@
97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
DFFDC4B9C4D6EF6A3BDE2E73 /* Pods-RunnerTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RunnerTests.debug.xcconfig"; path = "Target Support Files/Pods-RunnerTests/Pods-RunnerTests.debug.xcconfig"; sourceTree = "<group>"; };
EFDECED99A47773C293F8819 /* Pods-RunnerTests.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RunnerTests.profile.xcconfig"; path = "Target Support Files/Pods-RunnerTests/Pods-RunnerTests.profile.xcconfig"; sourceTree = "<group>"; };
F0D040E82EEF2560009B19C0 /* Runner.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = Runner.entitlements; sourceTree = "<group>"; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
5046C8DCA17DB268ED17F005 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
3E50CA021EFA25CF89FE46AB /* Pods_RunnerTests.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
97C146EB1CF9000F007C117D /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
9DEFD285994D09CFCE400F36 /* Pods_Runner.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */
/* Begin PBXGroup section */
31E2F9ED567016937E8AEA3B /* Pods */ = {
isa = PBXGroup;
children = (
86D436F6DAF367742EF27F51 /* Pods-Runner.debug.xcconfig */,
0CF32F9ECDBEA4B014717FF8 /* Pods-Runner.release.xcconfig */,
7D133E5D5548E2EF2879734F /* Pods-Runner.profile.xcconfig */,
DFFDC4B9C4D6EF6A3BDE2E73 /* Pods-RunnerTests.debug.xcconfig */,
8AA6D129479129F106E2298A /* Pods-RunnerTests.release.xcconfig */,
EFDECED99A47773C293F8819 /* Pods-RunnerTests.profile.xcconfig */,
);
path = Pods;
sourceTree = "<group>";
};
331C8082294A63A400263BE5 /* RunnerTests */ = {
isa = PBXGroup;
children = (
@@ -76,6 +109,15 @@
path = RunnerTests;
sourceTree = "<group>";
};
6A38311855DC1CB8C0E2FD04 /* Frameworks */ = {
isa = PBXGroup;
children = (
5CE7ADD07A99710C0FB974A8 /* Pods_Runner.framework */,
2C0E42A04700D6B661C7EE82 /* Pods_RunnerTests.framework */,
);
name = Frameworks;
sourceTree = "<group>";
};
9740EEB11CF90186004384FC /* Flutter */ = {
isa = PBXGroup;
children = (
@@ -94,6 +136,8 @@
97C146F01CF9000F007C117D /* Runner */,
97C146EF1CF9000F007C117D /* Products */,
331C8082294A63A400263BE5 /* RunnerTests */,
31E2F9ED567016937E8AEA3B /* Pods */,
6A38311855DC1CB8C0E2FD04 /* Frameworks */,
);
sourceTree = "<group>";
};
@@ -109,6 +153,7 @@
97C146F01CF9000F007C117D /* Runner */ = {
isa = PBXGroup;
children = (
F0D040E82EEF2560009B19C0 /* Runner.entitlements */,
97C146FA1CF9000F007C117D /* Main.storyboard */,
97C146FD1CF9000F007C117D /* Assets.xcassets */,
97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */,
@@ -128,8 +173,10 @@
isa = PBXNativeTarget;
buildConfigurationList = 331C8087294A63A400263BE5 /* Build configuration list for PBXNativeTarget "RunnerTests" */;
buildPhases = (
5E1D2B1ED00966C758CA2289 /* [CP] Check Pods Manifest.lock */,
331C807D294A63A400263BE5 /* Sources */,
331C807F294A63A400263BE5 /* Resources */,
5046C8DCA17DB268ED17F005 /* Frameworks */,
);
buildRules = (
);
@@ -145,12 +192,15 @@
isa = PBXNativeTarget;
buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */;
buildPhases = (
AF2FDC69578083D4D16AB4D6 /* [CP] Check Pods Manifest.lock */,
9740EEB61CF901F6004384FC /* Run Script */,
97C146EA1CF9000F007C117D /* Sources */,
97C146EB1CF9000F007C117D /* Frameworks */,
97C146EC1CF9000F007C117D /* Resources */,
9705A1C41CF9048500538489 /* Embed Frameworks */,
3B06AD1E1E4923F5004D2608 /* Thin Binary */,
EEF1FBDEE98BA93C4FBDB3AE /* [CP] Embed Pods Frameworks */,
1F0C44A79AE73641A1C3FF47 /* [CP] Copy Pods Resources */,
);
buildRules = (
);
@@ -222,6 +272,23 @@
/* End PBXResourcesBuildPhase section */
/* Begin PBXShellScriptBuildPhase section */
1F0C44A79AE73641A1C3FF47 /* [CP] Copy Pods Resources */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources-${CONFIGURATION}-input-files.xcfilelist",
);
name = "[CP] Copy Pods Resources";
outputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources-${CONFIGURATION}-output-files.xcfilelist",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources.sh\"\n";
showEnvVarsInLog = 0;
};
3B06AD1E1E4923F5004D2608 /* Thin Binary */ = {
isa = PBXShellScriptBuildPhase;
alwaysOutOfDate = 1;
@@ -238,6 +305,28 @@
shellPath = /bin/sh;
shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" embed_and_thin";
};
5E1D2B1ED00966C758CA2289 /* [CP] Check Pods Manifest.lock */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
);
inputPaths = (
"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
"${PODS_ROOT}/Manifest.lock",
);
name = "[CP] Check Pods Manifest.lock";
outputFileListPaths = (
);
outputPaths = (
"$(DERIVED_FILE_DIR)/Pods-RunnerTests-checkManifestLockResult.txt",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
showEnvVarsInLog = 0;
};
9740EEB61CF901F6004384FC /* Run Script */ = {
isa = PBXShellScriptBuildPhase;
alwaysOutOfDate = 1;
@@ -253,6 +342,45 @@
shellPath = /bin/sh;
shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build";
};
AF2FDC69578083D4D16AB4D6 /* [CP] Check Pods Manifest.lock */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
);
inputPaths = (
"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
"${PODS_ROOT}/Manifest.lock",
);
name = "[CP] Check Pods Manifest.lock";
outputFileListPaths = (
);
outputPaths = (
"$(DERIVED_FILE_DIR)/Pods-Runner-checkManifestLockResult.txt",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
showEnvVarsInLog = 0;
};
EEF1FBDEE98BA93C4FBDB3AE /* [CP] Embed Pods Frameworks */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-input-files.xcfilelist",
);
name = "[CP] Embed Pods Frameworks";
outputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-output-files.xcfilelist",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh\"\n";
showEnvVarsInLog = 0;
};
/* End PBXShellScriptBuildPhase section */
/* Begin PBXSourcesBuildPhase section */
@@ -346,7 +474,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
SUPPORTED_PLATFORMS = iphoneos;
@@ -361,16 +489,21 @@
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
DEVELOPMENT_TEAM = 7BL8RUV2K6;
DEVELOPMENT_TEAM = UZRHKPVWN9;
ENABLE_BITCODE = NO;
INFOPLIST_FILE = Runner/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 15.6;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = de.jonasbark.swiftPlay;
PRODUCT_BUNDLE_IDENTIFIER = de.jonasbark.swiftcontrol.darwin;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
SWIFT_VERSION = 5.0;
VERSIONING_SYSTEM = "apple-generic";
@@ -379,6 +512,7 @@
};
331C8088294A63A400263BE5 /* Debug */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = DFFDC4B9C4D6EF6A3BDE2E73 /* Pods-RunnerTests.debug.xcconfig */;
buildSettings = {
BUNDLE_LOADER = "$(TEST_HOST)";
CODE_SIGN_STYLE = Automatic;
@@ -396,6 +530,7 @@
};
331C8089294A63A400263BE5 /* Release */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 8AA6D129479129F106E2298A /* Pods-RunnerTests.release.xcconfig */;
buildSettings = {
BUNDLE_LOADER = "$(TEST_HOST)";
CODE_SIGN_STYLE = Automatic;
@@ -411,6 +546,7 @@
};
331C808A294A63A400263BE5 /* Profile */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = EFDECED99A47773C293F8819 /* Pods-RunnerTests.profile.xcconfig */;
buildSettings = {
BUNDLE_LOADER = "$(TEST_HOST)";
CODE_SIGN_STYLE = Automatic;
@@ -428,7 +564,7 @@
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES;
ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = AppIcon;
CLANG_ANALYZER_NONNULL = YES;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
CLANG_CXX_LIBRARY = "libc++";
@@ -473,7 +609,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
@@ -485,7 +621,7 @@
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES;
ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = AppIcon;
CLANG_ANALYZER_NONNULL = YES;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
CLANG_CXX_LIBRARY = "libc++";
@@ -524,7 +660,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
SUPPORTED_PLATFORMS = iphoneos;
@@ -541,16 +677,21 @@
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
DEVELOPMENT_TEAM = 7BL8RUV2K6;
DEVELOPMENT_TEAM = UZRHKPVWN9;
ENABLE_BITCODE = NO;
INFOPLIST_FILE = Runner/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 15.6;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = de.jonasbark.swiftPlay;
PRODUCT_BUNDLE_IDENTIFIER = de.jonasbark.swiftcontrol.darwin;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_VERSION = 5.0;
@@ -564,16 +705,21 @@
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
DEVELOPMENT_TEAM = 7BL8RUV2K6;
DEVELOPMENT_TEAM = UZRHKPVWN9;
ENABLE_BITCODE = NO;
INFOPLIST_FILE = Runner/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 15.6;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = de.jonasbark.swiftPlay;
PRODUCT_BUNDLE_IDENTIFIER = de.jonasbark.swiftcontrol.darwin;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
SWIFT_VERSION = 5.0;
VERSIONING_SYSTEM = "apple-generic";

View File

@@ -26,6 +26,7 @@
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
customLLDBInitFile = "$(SRCROOT)/Flutter/ephemeral/flutter_lldbinit"
shouldUseLaunchSchemeArgsEnv = "YES">
<MacroExpansion>
<BuildableReference
@@ -54,6 +55,7 @@
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
customLLDBInitFile = "$(SRCROOT)/Flutter/ephemeral/flutter_lldbinit"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"

View File

@@ -4,4 +4,7 @@
<FileRef
location = "group:Runner.xcodeproj">
</FileRef>
<FileRef
location = "group:Pods/Pods.xcodeproj">
</FileRef>
</Workspace>

View File

@@ -8,6 +8,8 @@ import UIKit
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
) -> Bool {
GeneratedPluginRegistrant.register(with: self)
UNUserNotificationCenter.current().delegate = self as? UNUserNotificationCenterDelegate
return super.application(application, didFinishLaunchingWithOptions: launchOptions)
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 866 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.7 KiB

View File

@@ -1,122 +1,134 @@
{
"images" : [
"images": [
{
"size" : "20x20",
"idiom" : "iphone",
"filename" : "Icon-App-20x20@2x.png",
"scale" : "2x"
"filename": "AppIcon@2x.png",
"idiom": "iphone",
"scale": "2x",
"size": "60x60"
},
{
"size" : "20x20",
"idiom" : "iphone",
"filename" : "Icon-App-20x20@3x.png",
"scale" : "3x"
"filename": "AppIcon@3x.png",
"idiom": "iphone",
"scale": "3x",
"size": "60x60"
},
{
"size" : "29x29",
"idiom" : "iphone",
"filename" : "Icon-App-29x29@1x.png",
"scale" : "1x"
"filename": "AppIcon~ipad.png",
"idiom": "ipad",
"scale": "1x",
"size": "76x76"
},
{
"size" : "29x29",
"idiom" : "iphone",
"filename" : "Icon-App-29x29@2x.png",
"scale" : "2x"
"filename": "AppIcon@2x~ipad.png",
"idiom": "ipad",
"scale": "2x",
"size": "76x76"
},
{
"size" : "29x29",
"idiom" : "iphone",
"filename" : "Icon-App-29x29@3x.png",
"scale" : "3x"
"filename": "AppIcon-83.5@2x~ipad.png",
"idiom": "ipad",
"scale": "2x",
"size": "83.5x83.5"
},
{
"size" : "40x40",
"idiom" : "iphone",
"filename" : "Icon-App-40x40@2x.png",
"scale" : "2x"
"filename": "AppIcon-40@2x.png",
"idiom": "iphone",
"scale": "2x",
"size": "40x40"
},
{
"size" : "40x40",
"idiom" : "iphone",
"filename" : "Icon-App-40x40@3x.png",
"scale" : "3x"
"filename": "AppIcon-40@3x.png",
"idiom": "iphone",
"scale": "3x",
"size": "40x40"
},
{
"size" : "60x60",
"idiom" : "iphone",
"filename" : "Icon-App-60x60@2x.png",
"scale" : "2x"
"filename": "AppIcon-40~ipad.png",
"idiom": "ipad",
"scale": "1x",
"size": "40x40"
},
{
"size" : "60x60",
"idiom" : "iphone",
"filename" : "Icon-App-60x60@3x.png",
"scale" : "3x"
"filename": "AppIcon-40@2x~ipad.png",
"idiom": "ipad",
"scale": "2x",
"size": "40x40"
},
{
"size" : "20x20",
"idiom" : "ipad",
"filename" : "Icon-App-20x20@1x.png",
"scale" : "1x"
"filename": "AppIcon-20@2x.png",
"idiom": "iphone",
"scale": "2x",
"size": "20x20"
},
{
"size" : "20x20",
"idiom" : "ipad",
"filename" : "Icon-App-20x20@2x.png",
"scale" : "2x"
"filename": "AppIcon-20@3x.png",
"idiom": "iphone",
"scale": "3x",
"size": "20x20"
},
{
"size" : "29x29",
"idiom" : "ipad",
"filename" : "Icon-App-29x29@1x.png",
"scale" : "1x"
"filename": "AppIcon-20~ipad.png",
"idiom": "ipad",
"scale": "1x",
"size": "20x20"
},
{
"size" : "29x29",
"idiom" : "ipad",
"filename" : "Icon-App-29x29@2x.png",
"scale" : "2x"
"filename": "AppIcon-20@2x~ipad.png",
"idiom": "ipad",
"scale": "2x",
"size": "20x20"
},
{
"size" : "40x40",
"idiom" : "ipad",
"filename" : "Icon-App-40x40@1x.png",
"scale" : "1x"
"filename": "AppIcon-29.png",
"idiom": "iphone",
"scale": "1x",
"size": "29x29"
},
{
"size" : "40x40",
"idiom" : "ipad",
"filename" : "Icon-App-40x40@2x.png",
"scale" : "2x"
"filename": "AppIcon-29@2x.png",
"idiom": "iphone",
"scale": "2x",
"size": "29x29"
},
{
"size" : "76x76",
"idiom" : "ipad",
"filename" : "Icon-App-76x76@1x.png",
"scale" : "1x"
"filename": "AppIcon-29@3x.png",
"idiom": "iphone",
"scale": "3x",
"size": "29x29"
},
{
"size" : "76x76",
"idiom" : "ipad",
"filename" : "Icon-App-76x76@2x.png",
"scale" : "2x"
"filename": "AppIcon-29~ipad.png",
"idiom": "ipad",
"scale": "1x",
"size": "29x29"
},
{
"size" : "83.5x83.5",
"idiom" : "ipad",
"filename" : "Icon-App-83.5x83.5@2x.png",
"scale" : "2x"
"filename": "AppIcon-29@2x~ipad.png",
"idiom": "ipad",
"scale": "2x",
"size": "29x29"
},
{
"size" : "1024x1024",
"idiom" : "ios-marketing",
"filename" : "Icon-App-1024x1024@1x.png",
"scale" : "1x"
"filename": "AppIcon-60@2x~car.png",
"idiom": "car",
"scale": "2x",
"size": "60x60"
},
{
"filename": "AppIcon-60@3x~car.png",
"idiom": "car",
"scale": "3x",
"size": "60x60"
},
{
"filename": "AppIcon~ios-marketing.png",
"idiom": "ios-marketing",
"scale": "1x",
"size": "1024x1024"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
"info": {
"author": "iconkitchen",
"version": 1
}
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 295 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 406 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 450 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 282 B

Some files were not shown because too many files have changed in this diff Show More