Opened 2 weeks ago

Last modified 2 weeks ago

#26043 new enhancement

building snowflake into a bundle of pluggable transports

Reported by: hans Owned by:
Priority: Medium Milestone:
Component: Obfuscation/Snowflake Version:
Severity: Normal Keywords:
Cc: dcf, arlolra Actual Points:
Parent ID: Points:
Reviewer: Sponsor:


We're making a lib to make using pluggable transports like this one really easy to use for Android devs. This involves building multiple projects into a single Android AAR library bundle, then selectively calling a method to start the specific transport.

That requires that each transport's code does not have an exported main() function, though I think the main() function can be there, since this is loading the bundle as a shared library, not running it as an executable. This is my first time touching Go, so I'm open to suggestions. So I'm opening this issue to figure out how to make snowflake integratable.

Here's the project for the piece that the Android dev interfaces with:

Here's the project where we build all of the various Go pluggable transports into the JNI bundle used by AndroidPluggableTransportsDispatcher:

Child Tickets

Change History (1)

comment:1 Changed 2 weeks ago by hans

The part I don't understand is the node code, that'll be quite difficult to use on Android. Does Snowflake require the Javascript code to work?

Note: See TracTickets for help on using tickets.