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

Fix publish and action merge to main #52

Merged
merged 5 commits into from
Aug 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 26 additions & 2 deletions .github/workflows/main_android_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,40 @@ on:

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Build and test
uses: ./.github/workflows/build_test.yml
- name: Checkout code
uses: actions/checkout@v3

- name: Set up Java
uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: '11'

- name: Set up Flutter
uses: subosito/flutter-action@v2
with:
flutter-version: '3.22.2'

- name: Install dependencies
run: flutter pub get

- name: Lint code
run: flutter analyze

- name: Run tests
run: flutter test

- name: Build Android app
run: |
cd example
flutter build apk

- name: Check publish is possible
run: flutter pub publish --dry-run


# Broken since NearbyCoreAdapter needs to be installed manually with SPM
# - name: Build iOS app
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
## 1.0.0

Initial release version:
- Full functionality of advertising, discovering and choosing topology.
- Symmetric encryption to ensure im connecting to desired endpoint
- Manual accept to connection

Working on iOS and Android


2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ abstract class AuthenticationManager {
### Example for authentication flow
`ExperimentalAuthManager` is an example that implements a possible authentication flow using ECDSA and Handshake protocol:

![](./docs/images/ecdsa-auth-flow.png)
![](./doc/images/ecdsa-auth-flow.png)

In experimental mode, public keys are being shared in handshake process during device connection. These public keys are being loaded before stablishing connection and sending messages, and it is later used to verify messages signatures. More complex flows can be implemented using this interface and implementing other types of trustworthy sources to store public keys.

Expand Down
Binary file removed docs/images/ecdsa-auth-flow.png
Binary file not shown.
Loading