Commit Graph

41 Commits

Author SHA1 Message Date
Jonas Bark
20c33a05c8 feat(deeplink): register bikecontrol:// on iOS + Universal/App Links scaffolding
- iOS: add the bikecontrol custom URL scheme to CFBundleURLTypes (it was only
  registered on Android), so bikecontrol:// opens the app on iOS too.
- iOS: add the associated-domains entitlement (applinks:bikecontrol.app) for
  Universal Links.
- Android: add a verified App Links intent-filter for
  https://bikecontrol.app/app/... (autoVerify) alongside the bikecontrol://
  scheme.

Universal/App Links additionally require the website AASA + assetlinks.json
(separate repo), which need the Apple Team ID and the Play App Signing SHA-256.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-28 11:28:52 +02:00
Jonas Bark
460be55a66 version++ 2026-06-26 22:00:18 +02:00
Jonas Bark
d1ecbe2cbc feat(6.2): Android screen recording backend (MediaProjection + gallery save) 2026-06-24 16:51:58 +02:00
Jonas Bark
57a530acbc Make metadata download/commit-back robust
- Android download: 'supply init' won't overwrite existing metadata (it printed
  'Metadata already exists ...' and downloaded nothing), so clear the folder
  first to actually re-pull the live Google Play listing.
- Commit-back: rebase onto FETCH_HEAD instead of origin/6.1 (the remote-tracking
  ref doesn't exist after 'git fetch origin 6.1', which failed the iOS job with
  'invalid upstream origin/6.1'), and retry the push so the two parallel jobs
  (disjoint android/ vs ios/ paths) converge.
- Drop the auto app-repo submodule-pointer bump (racy across the two jobs); the
  metadata still lands in prop@6.1. Bump the pointer separately if needed.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-18 10:09:42 +02:00
Jonas Bark
e84ba6c44e Fix fastlane path resolution (lanes run from the fastlane/ folder)
The Store Metadata workflow failed on first run: fastlane chdir's into the
fastlane/ folder before executing a lane, so the Fastfiles' project-dir-relative
paths resolved one level deep (e.g. android/fastlane/fastlane/service-account.json,
ios/fastlane/fastlane/asc_api_key.json) and the lanes couldn't find the key files
or metadata.

Anchor every path at the repo root via GITHUB_WORKSPACE (set by Actions; falls
back to two levels up from the Fastfile locally), so json_key, metadata_path,
screenshots_path, the API-key .p8/.json and the download-lane subprocess args are
all absolute and CWD-independent. Drop the now-redundant relative
SUPPLY_JSON_KEY_FILE env.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-18 09:57:30 +02:00
Jonas Bark
3c1495ff8f Merge origin/6.1 into claude/fastlane-supply-metadata-2cjxs3
Bring the fastlane/store-metadata branch up to date with 6.1. Resolved
.gitignore by keeping both sides' rules; prop fast-forwards to the
store_metadata commit (a descendant of 6.1's prop pin).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-18 09:21:54 +02:00
Jonas Bark
cea9112031 Move store metadata into the private prop submodule
The localized App Store / Google Play listing text (titles, descriptions,
keywords, ...) was committed under ios/fastlane/metadata and
android/fastlane/metadata in this public repo, exposing the marketing/ASO copy.
Relocate it to the private prop submodule (prop/store_metadata/{ios,android})
and point fastlane at it; the public repo keeps only the lanes/workflow.

- ios/android Fastfiles: METADATA = "../prop/store_metadata/{ios,android}"
  (lanes run from ios//android/, so ../prop is the repo-root submodule).
- prepare_store_screenshots.sh: Android images stage under the prop metadata
  path; iOS screenshots unchanged.
- metadata.yml: checkout the prop submodule (submodules: recursive + PAT_TOKEN);
  on download, commit & push the listing text to OpenBikeControl/prop (6.1) and
  bump the submodule pointer here. PAT_TOKEN needs write access to prop.
- .gitignore / STORE_METADATA.md updated; screenshots stay public in ./screenshots.
- Bumps prop submodule to include the new store_metadata.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-18 06:56:26 +02:00
Claude
eb37850b2d Upload store screenshots from screenshot_test.dart goldens
Add scripts/prepare_store_screenshots.sh which maps the golden screenshots
produced by test/screenshot_test.dart (./screenshots/<scene>-<device>-<WxH>.png)
into the per-language layout fastlane expects:
- Google Play: phoneScreenshots (android) + tenInchScreenshots (androidTablet)
- App Store: iPhone 6.5" + iPad 12.9" images per locale (device detected by size)

The fastlane upload lanes now include screenshots (skip_upload_screenshots /
skip_screenshots disabled), and the 'Store Metadata' upload workflow runs the
prepare step first. Generated screenshot folders are gitignored so the images
stay sourced from the test output instead of being duplicated per language.

https://claude.ai/code/session_01Q3VrPge5KaXrrogqtbvGLZ
2026-06-15 20:21:43 +00:00
Claude
69025a5a71 Add fastlane for App Store & Play Store metadata per language
Manage localized store listings via fastlane (supply for Google Play,
deliver for the App Store) with one folder per language under
android/fastlane/metadata and ios/fastlane/metadata (en, de, fr, es, it, pl).

The txt files are seeded with the current live store data fetched from the
public Play Store and App Store listing pages. App Store listings are only
localized in English upstream, so the non-English iOS texts are translated
from the live en-US listing.

Adds a manually-triggered 'Store Metadata' GitHub Actions workflow to
download (store -> repo, auto-committed) or upload (repo -> store, texts only)
the metadata for either or both platforms, reusing the existing store secrets.

https://claude.ai/code/session_01Q3VrPge5KaXrrogqtbvGLZ
2026-06-14 17:43:15 +00:00
Jonas Bark
df18e4ff2f advertisement fix 2026-06-10 11:09:35 +02:00
Jonas Bark
9c43a07cb0 fix gear change buttons 2026-05-10 11:10:22 +02:00
Jonas Bark
aea35aa24f android: add FOREGROUND_SERVICE_SPECIAL_USE for trainer overlay (Android 14+)
The flutter_overlay_window package calls startForeground() without a
service type, which crashes on Android 14+ (API 34) when no
foregroundServiceType is declared. Add the FOREGROUND_SERVICE_SPECIAL_USE
permission and declare specialUse type on the OverlayService entry with
a PROPERTY_SPECIAL_USE_FGS_SUBTYPE description for Play Store review.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-09 09:46:15 +02:00
Jonas Bark
67ee202f41 android: declare SYSTEM_ALERT_WINDOW and overlay service for trainer overlay 2026-05-09 09:09:25 +02:00
Jonas Bark
2bf525c7cb fix potential start issues on Android 2026-03-20 14:23:40 +01:00
Jonas Bark
e1a7aac3e4 sign in with google, apple 2026-02-16 16:26:22 +01:00
Jonas Bark
7fac3390b1 update dependencies 2026-01-19 11:01:42 +01:00
Jonas Bark
5f246023f0 change notification icon 2026-01-16 12:59:39 +01:00
Jonas Bark
6f3142c913 fix detection for hardware buttons when BikeControl is in foreground, change notification icon 2026-01-16 12:38:10 +01:00
Jonas Bark
f389993ea0 implement logic 2025-12-26 18:48:57 +01:00
Jonas Bark
b69d41ecb5 in app purchase implementation on macOS / iOS 2025-12-14 19:32:23 +01:00
copilot-swe-agent[bot]
fd1b82ed8b 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
jonasbark
c34f5ff4e8 Updated .gitignore 2025-11-09 08:54:17 +01:00
Jonas Bark
9aa902bc22 support HID key events on Android #110 2025-11-04 09:53:52 +01:00
Jonas Bark
990ba76b00 fix already paired gamepad detection 2025-10-31 09:41:34 +01:00
Jonas Bark
fb43ddf024 initial support for gamepads 2025-10-26 10:21:59 +01:00
Jonas Bark
b60e9c42dd missing files 2025-10-16 23:56:04 +02:00
Jonas Bark
b939c36863 new icon, cleanup 2025-10-16 23:46:32 +02:00
Jonas Bark
c498a96ae9 try it on Android #1 2025-10-08 09:18:53 +02:00
Jonas Bark
59cabe6b4b make it work 2025-10-06 21:41:37 +02:00
Jonas Bark
2e18fe6c59 rename Android package name, revert Zwift Click V2 encryption support, add play store assets 2025-09-24 09:12:21 +02:00
Jonas Bark
30bfd99f97 implement in app update for Android 2025-09-22 13:41:50 +02:00
Jonas Bark
d83b9985ea version update check => internet permission is required 2025-03-31 20:58:27 +02:00
Jonas Bark
af71f5c426 remove location requirement again 2025-03-30 21:21:31 +02:00
Jonas Bark
748e07fc89 adjust reinstating saved keymaps 2025-03-30 20:06:44 +02:00
Jonas Bark
eab9cec56d sign Android APK 2025-03-29 14:16:17 +01:00
Jonas Bark
d8367548a6 change app icon 2025-03-28 11:18:16 +01:00
Jonas Bark
ff8c92ad85 change icon 2025-03-27 20:11:43 +01:00
Jonas Bark
73bf894cd0 foreground notification on Android 2025-03-27 17:44:27 +01:00
Jonas Bark
e60c6a4707 accessibility implementation #1 2025-03-27 16:15:53 +01:00
Jonas Bark
7ab8ca0a8d connection to click 2025-03-26 18:12:56 +01:00
Jonas Bark
793ed76100 initial commit 2025-03-26 15:41:06 +01:00