Siphon is a fuel-station app for Portugal and Spain, built with React Native, Expo, and MapLibre. It uses public government price data processed by SiphonAPI.
- Map and station search with fuel, brand, price, country, and distance filters.
- Favorites, vehicle preferences, station details, and directions.
- Up to 90 days of locally cached price history, plus a fuel-market dashboard.
- Foreground location on request, with OSRM road distances and local estimates when routing is unavailable.
- Light/dark themes, color palettes, Round/Minimal/Glass styles, Comfortable/Compact density, icon families including Lucide, and imported custom SVG icon packs, SVG location markers, or marker images. New installs default to Minimal, Compact, and Lucide. See custom SVG artwork for templates and import requirements.
- English, Portuguese, Spanish, French, and German.
The current release has ads disabled. Appearance options are available without watching ads. Monetization remains disabled until permission for commercial use of DGEG data is obtained. Ads usage is 100% optional.
Node.js 22 (the CI version). Android development requires Android Studio and/or an emulator as a connected device; iOS requires macOS, Xcode, and CocoaPods. Native dependencies require a development build rather than Expo Go.
- Node.js
- iOS: macOS, Xcode with the iOS Simulator, CocoaPods
- Android: Android Studio with an emulator, or a physical device with USB debugging enabled
npm install
npx expo install --check
npx expo install --fixnpx expo prebuild --clean --platform ios
npx expo run:iosnpx expo prebuild --clean --platform android
npx expo run:androidnpx expo prebuild --clean --platform android
cd android
gradlew assembleReleaseiOS release builds go through Xcode, not Gradle:
npx expo run:ios --configuration ReleaseKeep dependency versions compatible with the Expo SDK. The npm overrides retain patched @xmldom/xmldom 0.8 and brace-expansion versions. Do not force xmldom 0.9: its parser API breaks the current Expo plist tooling. Review npm audit --omit=dev before releases; avoid npm audit fix --force, which can replace SDK-compatible packages.
Station data is downloaded over HTTPS from the SiphonAPI GitHub repository. The app loads cached stations immediately, checks the manifest, and refreshes changed or missing data. Price history is optional and limited to a rolling 90-day device cache. Sync uses a persistent request budget, cooldown, and server backoff; offline use relies on data already downloaded.
Maps use OpenFreeMap and OpenStreetMap. GPS is requested only after a locate action and routing disclosure. Coordinates go to OSRM over HTTPS to calculate road distances; there is no continuous location tracking. Favorites, vehicles, settings, and custom marker images stay on the device. EAS Update requests include a random installation ID.
Read the privacy policy and Data Safety guide.
Android distribution uses EAS: preview builds an internal APK, production builds a Play AAB, and production-github builds a sideload APK.
The public app version has one source: package.json → version. app.config.js uses it for Expo and the OTA runtime follows it. For a new binary release, run npm version X.Y.Z --no-git-tag-version (which also updates the lockfile), commit the release source, then create and push tag vX.Y.Z. See the release guide for first-upload and automatic Play submission setup.
With Settings → Updates → Check for updates on startup enabled (the default), the app checks for EAS updates once per launch. Both public Android distributions also check GitHub Releases for newer binary versions. Turning the setting off skips these startup checks; manual checks remain available. Settings → Updates can check again and apply an available update:
- EAS updates download and reload the app when selected.
- Play builds open Google Play for a newer binary.
- GitHub builds open the APK asset or release page.
The check itself does not download an update. Native changes require a new binary. Public iOS binary distribution is not configured.
Contact: 8041q@proton.me, or open an issue. Public contact details are maintained in release-contact.json.