Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update flashlight #1264

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Update flashlight #1264

wants to merge 1 commit into from

Conversation

hwh33
Copy link
Contributor

@hwh33 hwh33 commented Dec 12, 2024

Flashlight contains fixes necessary to support reflect-to-site proxies

Flashlight contains fixes necessary to support reflect-to-site proxies
@hwh33 hwh33 requested a review from atavism December 12, 2024 17:55
@atavism
Copy link
Contributor

atavism commented Dec 12, 2024

I'm getting the following error building the Android app. I guess we need to get to some changes from here before we can merge this:

go env -w 'GOPRIVATE=github.com/getlantern/*' && \
	go install golang.org/x/mobile/cmd/gomobile && \
	gomobile init && \
	gomobile bind \
	    -target=android \
		-tags='headless lantern' -o=liblantern-all.aar \
		-androidapi=23 \
		-ldflags="-X github.com/getlantern/lantern-client/internalsdk/common.RevisionDate=20241212.175419 -X github.com/getlantern/lantern-client/internalsdk/common.BuildDate=20241212.200751  -X github.com/getlantern/lantern-client/internalsdk/common.ApplicationVersion=9999.99.99" \
		 \
		github.com/getlantern/lantern-client/internalsdk github.com/getlantern/pathdb/testsupport github.com/getlantern/pathdb/minisql
gomobile: go build -tags headless,lantern -ldflags -X github.com/getlantern/lantern-client/internalsdk/common.RevisionDate=20241212.175419 -X github.com/getlantern/lantern-client/internalsdk/common.BuildDate=20241212.200751  -X github.com/getlantern/lantern-client/internalsdk/common.ApplicationVersion=9999.99.99 -buildmode=c-shared -o=/var/folders/j5/yrnkkcxx6wlcr7h2f574qfjc0000gn/T/gomobile-work-1861287855/android/src/main/jniLibs/armeabi-v7a/libgojni.so ./gobind failed: exit status 1
# github.com/getlantern/lantern-client/internalsdk/ios
/Users/paul/go/src/github.com/getlantern/lantern-client/internalsdk/ios/config.go:413:10: undefined: fronted.Configure
/Users/paul/go/src/github.com/getlantern/lantern-client/internalsdk/ios/config.go:414:31: not enough arguments in call to fronted.NewFronted
	have (time.Duration)
	want (string, "github.com/refraction-networking/utls".ClientHelloID, string)
/Users/paul/go/src/github.com/getlantern/lantern-client/internalsdk/ios/config.go:415:6: invalid operation: operator ! not defined on ok (variable of type error)

@myleshorton
Copy link
Contributor

yeah those fixes are all in the myles/early-fronting branch in this PR #1257

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants