Hello folks. I’m a backend guy, mostly using Python, Go, and the like. I’ve learned a bit of Rust and have enjoyed it for embedded.

With that background I’m curious if any mobile devs can give some feedback on the current state of cross-platform (Android, iOS, Web) for simple apps. What I currently have in mind, despite not owning a uterus, is a FOSS menstrual cycle tracker app, using encrypted local storage only (the regularity of this private information being sold by existing apps is very disturbing to me). This means that my reqs boil down to:

  • UI/UX (I suspect this would require platform-specific code)
  • Storage/DB subsystem (probably just use an encrypted sqlite)
  • Optional extras
  • Minimal third-party library usage to potential minimize data leaks as well as limiting possible vectors for ad injection

So, there’s really not much to it complexity-wise. Any suggestions on framework or approaches for keeping the codebase DRY as possible (I would want to minimize required effort to update)?

  • Yamimakai [he/him, comrade/them]
    link
    fedilink
    English
    34 months ago

    Not a mobile dev, but have utilized Flutter quite a bit at work for web development. You can have a shared codebase between mobile and web, just changing a few options when compiling to create different versions. No need for different UI/UX code if you don’t mind having a web version which would really be best suited for a touch based platform.

    To keep things simple, I’d suggest using a Provider approach rather than something like BLoC - we used BLoC for a while at the office and it ended up being a headache.

    • nickwitha_k (he/him)OP
      link
      2
      edit-2
      4 months ago

      Thanks very much. I am leaning that way, from what I’ve seen.

      ETA: Just looked at BLoC vs Provider and…yeah. I think that Provider would be the right choice - scope for what I’m contemplating would be intentionally very limited so, no need to add that further complexity.