Pero Grubač

AssetManager

Android app that tracks company assets, who has them and where.

AssetManager · Fluttertilesscan, GPSaddress lookupreversewatch, changeload, save, deletesqflitecopy, deletesettingsback up, restoreOpenStreetMapmap tilesCamera, GPSscanner, photos, locationNominatimreverse geocodingScreensgo_router · flutter_mapRiverpodListNotifier, AsyncNotifierGeocodingServicehttp · 1 request a secondRepositoriesSQL and photo filesBackupServicezip backup, restoreSQLiteasset_manager.db · v2Photosasset_images/Backup zipbackup.json, db, images/
Everything is kept on the phone except the map: tiles come from OpenStreetMap and addresses from Nominatim, at most one lookup a second. Screens work through Riverpod notifiers and five repositories, which run the SQL on asset_manager.db and keep each asset's photo in a folder of its own. A backup is one zip with a manifest, the database and the photos; a restore checks the schema version, points the photos at this device's folder and swaps the files with a rename it can roll back.
AssetManager: the asset list, an asset's details with its photo and barcode, and a census item showing the old and new location on OpenStreetMap

What it does

AssetManager is an Android app for tracking a company’s assets, such as furniture, electronics and office supplies, the workers responsible for them, and where they are. Everything is stored on the device, so it needs no account and no server.

  • Assets have a name, description, barcode, price, date and a photo from the camera or the gallery. A barcode can be typed in or scanned with the camera, letters and leading zeros included, and the app can display it as a scannable Code 128 barcode, with a QR code as a fallback.
  • Workers have a name, phone and email. Locations are picked from the current GPS position, by tapping the map or from saved locations, and the address is looked up from the map position. Tapping a location’s pin on the map lists every asset currently there.
  • Census lists are inventory checks. Each item records an asset’s old and new worker and its old and new location, and scanning a barcode fills in the asset’s last known worker and location. A census list exports as CSV that opens correctly in Excel.
  • Lists can be searched by several fields and refreshed with a pull. Swiping right deletes an item, with Undo, and swiping left edits it. Anything still used by a census list cannot be deleted.
  • Backup puts all data and photos into one ZIP file, which restores on the same phone or another one. A failed or interrupted restore is rolled back automatically.

The app is in English and Serbian (Latin), with a system, light and dark theme.

How it works

An asset’s current worker and location come from its latest census item. The models are data classes with their own validation, the repositories hold all SQL and file access, including backup and restore, and a Riverpod notifier drives each list. SQLite stores the data, with migrations, and go_router handles navigation, with a bottom bar that keeps each section’s state.

The maps use OpenStreetMap tiles, and addresses come from OpenStreetMap’s Nominatim service, so no API keys are needed. The app follows their fair-use policies: it identifies itself, caches map tiles, sends at most one address lookup per second, and shows the “© OpenStreetMap contributors” attribution.

Testing and deployment

The unit and widget tests run on an in-memory SQLite database and need no device. CI runs the analyzer, the tests, a check that the generated translations are up to date, and a debug build on every push and pull request.

A release workflow checks that the tag matches the app’s version, runs the analyzer and the tests, builds an APK per CPU type and a Google Play app bundle, and publishes them as a GitHub Release, with the changelog section as the release notes. Releases are signed with an upload key.

HomepageAboutsectionSystemssectionIndex of projectssectionBrowser appspageContactsectionIncident Alertsystem · case studyeMobilityHubsystem · case studyChat Roomsystem · case studyOnline Library Systemsystem · case studyRepoHealthlive app · case studyOpen RepoHealth app (opens in a new tab)live appGitHub Discord Bottool · case studyBookstore APIweb project · case studyFitForgemobile app · case studyAssetManagermobile app · case studyStore Managementdesktop app · case studyETF Oglasimobile app · case studyDevKitlive app · case studyOpen DevKit app (opens in a new tab)live appDev Timelinelive app · case studyOpen Dev Timeline app (opens in a new tab)live appGitHub Dashboardlive app · case studyOpen GitHub Dashboard app (opens in a new tab)live appStore Chain Managementdesktop app · case studySecure Repositorytool · case studyMinimal Blogweb project · case studyCatan Map Generatorlive app · case studyOpen Catan Map Generator app (opens in a new tab)live appMonte Carlo π · Pythonlive app · case studyOpen Monte Carlo π · Python app (opens in a new tab)live appBrick Breakerlive app · case studyOpen Brick Breaker app (opens in a new tab)live appArcane Keeplive app · case studyOpen Arcane Keep app (opens in a new tab)live appe-Mobility Rentaldesktop app · case studyCountdownlive app · case studyOpen Countdown app (opens in a new tab)live appANOVAdesktop app · case studyEcho Playerdesktop app · case studyMonte Carlo πdesktop app · case studyexcuse.exelive app · case studyOpen excuse.exe app (opens in a new tab)live appYamb Tablelive app · case studyOpen Yamb Table app (opens in a new tab)live appSedmicalive app · case studyOpen Sedmica app (opens in a new tab)live appLora Score Tablelive app · case studyOpen Lora Score Table app (opens in a new tab)live appSnake (Blavor)desktop app · case study
Copy emailpero.grubac00@gmail.com