[upgrade request] Mobile Nebula not compatible with V2 certs
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!
v1.10 support is currently in internal testing, we hope to release in the next few days.
v1.10 support is currently in internal testing, we hope to release in the next few days.
christmas gift 🎄
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 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.
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"...
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!
We are currently waiting to see the details of the next Golang patch release https://groups.google.com/g/golang-announce/c/dNKmxJVnwE0.
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
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?
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