Unable to set up Android app

Open
#776 2 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
42/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
android, docker-compose, javascript

Research direction

Start by comparing the Android setup flow with issue #621, especially the host-saving call mentioned in the error and the screen behavior after restarting. The payload names no source files or tests, so first locate the Android app’s connection screen and native bridge entry point. Done means a server URL can be saved and the app reaches the inbox after restart on Android 11.

Written by the indexing model from the issue text.

Description

What happened
Mailflow is hosted on my home server, connected to my phone through Tailscale, I have ensured that the Mailflow app has access through the tailscale tunnel.

  1. On first start, I enter my server's url, and pressing the continue button does nothing, the button appears pressed, cant click it again.
  2. Closing the app, then restarting results in a blank screen (just the background gradient).
  3. Closing the app a second time takes me back to the "Connect MailFlow" screen with nothing entered, trying to put in my address again gives an error "window.mailflowNative.saveHost is not a function".
    After that, ive tried killing or closing the app and clearing its cache, and end up with either 2 or 3. Clearing the app's data resets back to 1.

Environment

  • MailFlow version: Server: 4.3.1, App: 4.3.1
  • Install method: Docker Compose using Portainer, android app installed via apk downloaded off github
  • Mail provider(s) involved: IMAP, Gmail
  • Browser and OS, if it's a web issue: Android 11

Anything else
I have attempted using http instead of https, but the app wont let me do so because it thinks its accessing a public ip (its not, would be nice to have an override there).

Seems similar to issue #621, but it is not resolved with the latest version, I cant get to the inbox by restarting, and I am on android 11

Dominant language
JavaScript
Stars
518
Forks
50
Avg merge
4d 45m
Merged PRs (30d)
43

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from maathimself/mailflow

All issues in maathimself/mailflow

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.