{"repo":"dreampowder/strava_flutter","free":true,"listed":false,"github":"https://github.com/dreampowder/strava_flutter","clone":"git clone https://github.com/dreampowder/strava_flutter.git","description":"Flutter package to use Strava v3 API","language":"Dart","stars":42,"topics":["dart","flutter","strava","strava-api","strava-oauth","oauth2-authentication","oauth2"],"license":"MIT","category":"mobile-apps","readme_excerpt":"strava client An unofficial Flutter client for the Strava V3 API. It handles the OAuth2 flow (including the native Strava app on iOS), automatic token storage and refresh, and gives you typed models and repositories for the Strava endpoints. - 🔐 OAuth2 authentication with automatic token refresh - 🧩 Typed request/response models (generated with json serializable ) - 🗂️ Repository-per-domain API (athletes, activities, segments, …) - ⚠️ Structured error handling via Fault - 📖 Bundled, validated OpenAPI specs for the Strava API Looking for a hands-on tour? The example app is an interactive API explorer that lets you log in and run every call against your account. Table of contents - Installation - Quick start - Platform setup - Authentication - Making API calls - Error handling - Supported endpoints - Example app - Contributing - Acknowledgements - License Installation Add the package: or in pubspec.yaml : Requires Dart =3.8.0 . Quick start Create the client once and reuse it (it wires up shared session state). Platform setup The redirect URL scheme used in the snippets below is stravaflutter://redirect . In your Strava API settings set the Authorization Callback Domain to redirect . Android Add the callback activity to android/app/src/main/AndroidManifest.xml : Set android:launchMode=\"singleTop\" on your main activity and remove any android:taskAffinity entries. On Android 9 (API 28) the auth webview can throw net::ERR CLEARTEXT NOT PERMITTED . If so, add android:usesClearte","default_branch":null,"files":null,"tree":[],"storefront":"/r/dreampowder","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/dreampowder/strava_flutter/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}