swift/ref: Implement invite scan & neighborhood ad/scan

Not yet tested but API implemented, including changes to the API
in ref to use handle in a uintptr map instead of a separate scanId in
a global ref map -- it was an extra layer of indirection.

Also fixes potential leaks of handlers in Swift should an exception
occur during startScan calls, uses alias instead of email, and makes
sure unit tests don't use DISPATCH_TIME_FOREVER to prevent any
deadlocks from preventing unit tests from finishing.

JNI patches come from @razvanm via CL 23685.

MultiPart: 1/2
Change-Id: I10fd3799f0f1a2c64191021b8f8a399fbdfa071a
4 files changed
tree: c3c6e5f296e1857ddafe17d6593ea7d4f661c4d9
  1. cmd/
  2. examples/
  3. internal/
  4. lib/
  5. runtime/
  6. services/
  7. test/
  8. .gitignore
  9. AUTHORS
  10. CONTRIBUTING.md
  11. CONTRIBUTORS
  12. envvar.go
  13. envvar_test.go
  14. LICENSE
  15. PATENTS
  16. README.md
  17. VERSION
README.md

Vanadium

This repository contains a reference implementation of the Vanadium APIs.

Unlike the APIs in https://github.com/vanadium/go.v23, which promises to provide backward compatibility this repository makes no such promises.