mobile_nebula icon indicating copy to clipboard operation
mobile_nebula copied to clipboard

[upgrade request] Mobile Nebula not compatible with V2 certs

Open altano opened this issue 2 months ago • 2 comments

Hey There,

The Nebula v1.10.0 V2 certificates don't appear to be compatible with Mobile Nebula, I just get an error when trying to scan them, so consider this an upgrade request for Nebula in Mobile Nebula.

And thanks again for working on the mobile client!

altano avatar Dec 14 '25 01:12 altano

v1.10 support is currently in internal testing, we hope to release in the next few days.

nbrownus avatar Dec 14 '25 06:12 nbrownus

v1.10 support is currently in internal testing, we hope to release in the next few days.

christmas gift 🎄

damacchi avatar Dec 17 '25 17:12 damacchi

I'm guessing people are off for the holidays, but when someone gets a chance, it'd be nice to provide at least a prerelease build on GitHub.

Arcterus avatar Dec 28 '25 04:12 Arcterus

@Arcterus It's pretty straightforward to just build it yourself by following the steps in release.yml. I have been running my own build without issue on iOS. If you are building for iOS make sure you change the bundle, app group, and keychain group IDs everywhere they are hardcoded to match your own. Can't speak to android build steps but I imagine they are pretty similar.

EDIT: Also, I didn't bother manually patching go. You can just use go1.26rc1 where the patch they mention was already implemented.

mattisz avatar Jan 04 '26 19:01 mattisz

Hello @nbrownus and thank you for your work on this great software! If you are not yet ready for a stable release, can we at least get a prerelease build so that we can test it too? I did succeed in building for Android, but ended up with an APK that the installer deems "not valid"...

LaXiS96 avatar Jan 13 '26 21:01 LaXiS96

I had no success building for Android. As mobile dev is not my forte. It would be great to get a build to test out. Thanks for all the great work as well!

canadarob avatar Jan 14 '26 14:01 canadarob

We are currently waiting to see the details of the next Golang patch release https://groups.google.com/g/golang-announce/c/dNKmxJVnwE0.

nbrownus avatar Jan 14 '26 15:01 nbrownus

I had no success building for Android. As mobile dev is not my forte. It would be great to get a build to test out. Thanks for all the great work as well!

I used this workflow to build a debug version with github actions.

name: Build Android APK for Manual Install

# Only allow manual triggering from GitHub UI
on:
  workflow_dispatch: # Allows manual trigger from Actions tab

jobs:
  build-android:
    name: Build Android APK
    runs-on: ubuntu-latest # Using Ubuntu instead of macOS for faster/cheaper builds

    steps:
      # Step 1: Download the repository code
      - name: Check out code
        uses: actions/checkout@v4

      # Step 2: Apply a temporary Go patch (remove when fix is in mainline)
      # TODO: remove when https://go-review.googlesource.com/c/go/+/692935 lands in mainline go
      - name: Patch Go
        uses: DefinedNet/patch-go@c8e4a17c75eb242d34c212419d7d3d25e8d58949
        with:
          patch-ref: "296be05a97eb526dc0e438b7387670d4cae4a935"

      # Step 3: Install Java 17 (required for Android builds)
      - uses: actions/setup-java@v4
        with:
          distribution: "zulu"
          java-version: "17"

      # Step 4: Install Flutter framework at specific version
      - name: Install flutter
        uses: subosito/flutter-action@v2
        with:
          flutter-version: "3.29.2"

      # Step 5: Install Go mobile tools and Flutter dependencies
      - name: Get dependencies
        run: |
          go install golang.org/x/mobile/cmd/gomobile@latest  # Install gomobile for Go-based Android libs
          gomobile init  # Initialize gomobile
          flutter pub get  # Download Flutter package dependencies
          touch env.sh  # Create empty env.sh file (required by build process)

      # Step 6: Build debug APK (automatically signed with debug key)
      # Debug APKs can be installed directly on any Android device
      - name: Build Android Debug APK
        run: |
          flutter build apk --debug

      # Step 7: Upload the APK as a downloadable artifact
      # You can download this from the Actions run page for 30 days
      - name: Upload APK artifact
        uses: actions/upload-artifact@v4
        with:
          name: MobileNebula-debug-${{ github.sha }}.apk # Include commit hash in filename
          path: build/app/outputs/flutter-apk/app-debug.apk
          retention-days: 30 # Keep artifact for 30 days

damacchi avatar Jan 14 '26 18:01 damacchi

We are currently waiting to see the details of the next Golang patch release https://groups.google.com/g/golang-announce/c/dNKmxJVnwE0.

Looks like the release is here, how did this go? I'm guessing the TLS fixes don't affect nebula?

LunarEclipse363 avatar Jan 20 '26 14:01 LunarEclipse363

A mobile release with 1.10 support is live in both app stores!

@LunarEclipse363 correct, Nebula doesn't use the TLS library (or TLS), so it was not affected. We'll be bumping the Go runtime for mobile (and dropping this wretched CI hack to compile and patch Go) once a mainline release includes https://go-review.googlesource.com/c/go/+/692935

JackDoan avatar Jan 20 '26 16:01 JackDoan