mirror of
https://github.com/TrustTunnel/TrustTunnelFlutterClient.git
synced 2026-05-22 19:40:35 +00:00
Pull request 95: TRUST-253 add gpr readme to master
Squashed commit of the following: commitf381e316c8Author: Bamboo <bamboo@adguard.com> Date: Wed Jan 21 14:19:46 2026 +0000 skip ci: Automatic build number increment by Bamboo commit40c139408aAuthor: Konstantin Gorynin <k.gorynin@adguard.com> Date: Wed Jan 21 14:19:42 2026 +0000 Pull request 98: TRUST-253 remove unused files Squashed commit of the following: commit 36ec5923d2f45e4297f7c41517532165198ac381 Merge: 53024ff09ccfdcAuthor: Konstantin Gorynin <k.goryinin@adguard.com> Date: Wed Jan 21 16:13:57 2026 +0200 Merge branch 'version/v1.0' of ssh://bit.int.agrd.dev:7999/adguard-core-libs/vpn-oss-gui into feature/TRUST-253-remove-unused-files commit 53024ffaaad5cfac84e8fbebc43436c260f2428b Author: Konstantin Gorynin <k.goryinin@adguard.com> Date: Wed Jan 21 16:11:34 2026 +0200 pubspec updated commit 079326d40f6b608118ce832c8ce1efb57c259fdb Author: Konstantin Gorynin <k.goryinin@adguard.com> Date: Wed Jan 21 16:07:41 2026 +0200 removed unused files & stateController naming update commit09ccfdc3f6Author: Bamboo <bamboo@adguard.com> Date: Wed Jan 21 14:09:58 2026 +0000 skip ci: Automatic build number increment by Bamboo commitbc1f173ff6Author: Konstantin Gorynin <k.gorynin@adguard.com> Date: Wed Jan 21 14:09:53 2026 +0000 Pull request 97: TRUST-253 remove unused files Squashed commit of the following: commit 079326d40f6b608118ce832c8ce1efb57c259fdb Author: Konstantin Gorynin <k.goryinin@adguard.com> Date: Wed Jan 21 16:07:41 2026 +0200 removed unused files & stateController naming update commitc4aa58f74bAuthor: Bamboo <bamboo@adguard.com> Date: Wed Jan 21 13:54:53 2026 +0000 skip ci: Automatic build number increment by Bamboo commitbcca23e28bAuthor: Konstantin Gorynin <k.gorynin@adguard.com> Date: Wed Jan 21 13:54:48 2026 +0000 Pull request 96: TRUST-253 meta update Squashed commit of the following: commit 723b6489f70259c678af64605ce5a9c53d99d1c8 Author: Konstantin Gorynin <k.goryinin@adguard.com> Date: Wed Jan 21 15:53:18 2026 +0200 License & Readme update commit1f5e037df6Author: Bamboo <bamboo@adguard.com> Date: Wed Jan 21 13:32:17 2026 +0000 skip ci: Automatic build number increment by Bamboo commitbcb7fb3664Author: Konstantin Gorynin <k.gorynin@adguard.com> Date: Wed Jan 21 13:32:10 2026 +0000 Pull request 94: TRUST-253 gpr key readme update Squashed commit of the following: commit 8534df47ddc43be4fe7764741711ff4779036a2b Merge: 6acac262017569Author: Atlassian Bamboo <bamboo@example.com> Date: Wed Jan 21 16:26:56 2026 +0300 [bamboo] Automated branch merge (from version/v1.0:2017569c0d932e1a0155ca849b7fba82edfbcd8c) commit 6acac2686e8ca11971fa1647b76b6a8403c4e5be Author: Konstantin Gorynin <k.goryinin@adguard.com> Date: Wed Jan 21 15:08:37 2026 +0200 building style fixed v2 commit aa5ffb505551ea8bd74e58a208e7281274eedf0f Author: Konstantin Gorynin <k.goryinin@adguard.com> Date: Wed Jan 21 15:06:25 2026 +0200 building styles fixed commit e802cd7928d5d43d9fa43ca6d09456a16b5d6133 Author: Konstantin Gorynin <k.goryinin@adguard.com> Date: Wed Jan 21 15:03:25 2026 +0200 readme and gradle files updated commit2017569c0dAuthor: Bamboo <bamboo@adguard.com> Date: Fri Jan 16 18:05:54 2026 +0000 skip ci: Automatic build number increment by Bamboo commit2b04103985Author: Konstantin Gorynin <k.gorynin@adguard.com> Date: Fri Jan 16 18:05:49 2026 +0000 Pull request 92: TRUST-249-routing-profiles-fix Squashed commit of the following: commit 84b8a90cbbcfd2a63bfc742dd66afc4228685245 Author: Konstantin Gorynin <k.goryinin@adguard.com> Date: Fri Jan 16 19:41:53 2026 +0200 fixed commit9e606ac438Author: Bamboo <bamboo@adguard.com> Date: Wed Jan 14 17:01:10 2026 +0000 skip ci: Automatic build number increment by Bamboo commit94f9a24d7bMerge:8f2e8231325928Author: Konstantin Gorynin <k.goryinin@adguard.com> Date: Wed Jan 14 19:00:59 2026 +0200 Merge branch 'master' of ssh://bit.int.agrd.dev:7999/adguard-core-libs/vpn-oss-gui into version/v1.0 commit8f2e823059Author: Bamboo <bamboo@adguard.com> Date: Wed Jan 14 11:51:28 2026 +0000 skip ci: Automatic build number increment by Bamboo commit3655bcc559Merge:0af3e7ddffd7abAuthor: Konstantin Gorynin <k.goryinin@adguard.com> Date: Wed Jan 14 13:50:51 2026 +0200 Merge branch 'master' of ssh://bit.int.agrd.dev:7999/adguard-core-libs/vpn-oss-gui into version/v1.0 commit0af3e7da08Author: Konstantin Gorynin <k.goryinin@adguard.com> Date: Wed Jan 14 13:50:13 2026 +0200 rollback release version commit2d2935042fAuthor: Bamboo <bamboo@adguard.com> Date: Wed Jan 14 09:26:38 2026 +0000 skip ci: Automatic build number increment by Bamboo
This commit is contained in:
@@ -1,42 +0,0 @@
|
||||
# This file tracks properties of this Flutter project.
|
||||
# Used by Flutter tool to assess capabilities and perform upgrades etc.
|
||||
#
|
||||
# This file should be version controlled and should not be manually edited.
|
||||
|
||||
version:
|
||||
revision: "761747bfc538b5af34aa0d3fac380f1bc331ec49"
|
||||
channel: "stable"
|
||||
|
||||
project_type: app
|
||||
|
||||
# Tracks metadata for the flutter migrate command
|
||||
migration:
|
||||
platforms:
|
||||
- platform: root
|
||||
create_revision: 761747bfc538b5af34aa0d3fac380f1bc331ec49
|
||||
base_revision: 761747bfc538b5af34aa0d3fac380f1bc331ec49
|
||||
- platform: android
|
||||
create_revision: 761747bfc538b5af34aa0d3fac380f1bc331ec49
|
||||
base_revision: 761747bfc538b5af34aa0d3fac380f1bc331ec49
|
||||
- platform: ios
|
||||
create_revision: 761747bfc538b5af34aa0d3fac380f1bc331ec49
|
||||
base_revision: 761747bfc538b5af34aa0d3fac380f1bc331ec49
|
||||
- platform: linux
|
||||
create_revision: 761747bfc538b5af34aa0d3fac380f1bc331ec49
|
||||
base_revision: 761747bfc538b5af34aa0d3fac380f1bc331ec49
|
||||
- platform: macos
|
||||
create_revision: 761747bfc538b5af34aa0d3fac380f1bc331ec49
|
||||
base_revision: 761747bfc538b5af34aa0d3fac380f1bc331ec49
|
||||
- platform: windows
|
||||
create_revision: 761747bfc538b5af34aa0d3fac380f1bc331ec49
|
||||
base_revision: 761747bfc538b5af34aa0d3fac380f1bc331ec49
|
||||
|
||||
# User provided section
|
||||
|
||||
# List of Local paths (relative to this file) that should be
|
||||
# ignored by the migrate tool.
|
||||
#
|
||||
# Files that are not part of the templates will be ignored by default.
|
||||
unmanaged_files:
|
||||
- 'lib/main.dart'
|
||||
- 'ios/Runner.xcodeproj/project.pbxproj'
|
||||
@@ -0,0 +1,202 @@
|
||||
|
||||
Apache License
|
||||
Version 2.0, January 2004
|
||||
http://www.apache.org/licenses/
|
||||
|
||||
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||
|
||||
1. Definitions.
|
||||
|
||||
"License" shall mean the terms and conditions for use, reproduction,
|
||||
and distribution as defined by Sections 1 through 9 of this document.
|
||||
|
||||
"Licensor" shall mean the copyright owner or entity authorized by
|
||||
the copyright owner that is granting the License.
|
||||
|
||||
"Legal Entity" shall mean the union of the acting entity and all
|
||||
other entities that control, are controlled by, or are under common
|
||||
control with that entity. For the purposes of this definition,
|
||||
"control" means (i) the power, direct or indirect, to cause the
|
||||
direction or management of such entity, whether by contract or
|
||||
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
||||
outstanding shares, or (iii) beneficial ownership of such entity.
|
||||
|
||||
"You" (or "Your") shall mean an individual or Legal Entity
|
||||
exercising permissions granted by this License.
|
||||
|
||||
"Source" form shall mean the preferred form for making modifications,
|
||||
including but not limited to software source code, documentation
|
||||
source, and configuration files.
|
||||
|
||||
"Object" form shall mean any form resulting from mechanical
|
||||
transformation or translation of a Source form, including but
|
||||
not limited to compiled object code, generated documentation,
|
||||
and conversions to other media types.
|
||||
|
||||
"Work" shall mean the work of authorship, whether in Source or
|
||||
Object form, made available under the License, as indicated by a
|
||||
copyright notice that is included in or attached to the work
|
||||
(an example is provided in the Appendix below).
|
||||
|
||||
"Derivative Works" shall mean any work, whether in Source or Object
|
||||
form, that is based on (or derived from) the Work and for which the
|
||||
editorial revisions, annotations, elaborations, or other modifications
|
||||
represent, as a whole, an original work of authorship. For the purposes
|
||||
of this License, Derivative Works shall not include works that remain
|
||||
separable from, or merely link (or bind by name) to the interfaces of,
|
||||
the Work and Derivative Works thereof.
|
||||
|
||||
"Contribution" shall mean any work of authorship, including
|
||||
the original version of the Work and any modifications or additions
|
||||
to that Work or Derivative Works thereof, that is intentionally
|
||||
submitted to Licensor for inclusion in the Work by the copyright owner
|
||||
or by an individual or Legal Entity authorized to submit on behalf of
|
||||
the copyright owner. For the purposes of this definition, "submitted"
|
||||
means any form of electronic, verbal, or written communication sent
|
||||
to the Licensor or its representatives, including but not limited to
|
||||
communication on electronic mailing lists, source code control systems,
|
||||
and issue tracking systems that are managed by, or on behalf of, the
|
||||
Licensor for the purpose of discussing and improving the Work, but
|
||||
excluding communication that is conspicuously marked or otherwise
|
||||
designated in writing by the copyright owner as "Not a Contribution."
|
||||
|
||||
"Contributor" shall mean Licensor and any individual or Legal Entity
|
||||
on behalf of whom a Contribution has been received by Licensor and
|
||||
subsequently incorporated within the Work.
|
||||
|
||||
2. Grant of Copyright License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
copyright license to reproduce, prepare Derivative Works of,
|
||||
publicly display, publicly perform, sublicense, and distribute the
|
||||
Work and such Derivative Works in Source or Object form.
|
||||
|
||||
3. Grant of Patent License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
(except as stated in this section) patent license to make, have made,
|
||||
use, offer to sell, sell, import, and otherwise transfer the Work,
|
||||
where such license applies only to those patent claims licensable
|
||||
by such Contributor that are necessarily infringed by their
|
||||
Contribution(s) alone or by combination of their Contribution(s)
|
||||
with the Work to which such Contribution(s) was submitted. If You
|
||||
institute patent litigation against any entity (including a
|
||||
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
||||
or a Contribution incorporated within the Work constitutes direct
|
||||
or contributory patent infringement, then any patent licenses
|
||||
granted to You under this License for that Work shall terminate
|
||||
as of the date such litigation is filed.
|
||||
|
||||
4. Redistribution. You may reproduce and distribute copies of the
|
||||
Work or Derivative Works thereof in any medium, with or without
|
||||
modifications, and in Source or Object form, provided that You
|
||||
meet the following conditions:
|
||||
|
||||
(a) You must give any other recipients of the Work or
|
||||
Derivative Works a copy of this License; and
|
||||
|
||||
(b) You must cause any modified files to carry prominent notices
|
||||
stating that You changed the files; and
|
||||
|
||||
(c) You must retain, in the Source form of any Derivative Works
|
||||
that You distribute, all copyright, patent, trademark, and
|
||||
attribution notices from the Source form of the Work,
|
||||
excluding those notices that do not pertain to any part of
|
||||
the Derivative Works; and
|
||||
|
||||
(d) If the Work includes a "NOTICE" text file as part of its
|
||||
distribution, then any Derivative Works that You distribute must
|
||||
include a readable copy of the attribution notices contained
|
||||
within such NOTICE file, excluding those notices that do not
|
||||
pertain to any part of the Derivative Works, in at least one
|
||||
of the following places: within a NOTICE text file distributed
|
||||
as part of the Derivative Works; within the Source form or
|
||||
documentation, if provided along with the Derivative Works; or,
|
||||
within a display generated by the Derivative Works, if and
|
||||
wherever such third-party notices normally appear. The contents
|
||||
of the NOTICE file are for informational purposes only and
|
||||
do not modify the License. You may add Your own attribution
|
||||
notices within Derivative Works that You distribute, alongside
|
||||
or as an addendum to the NOTICE text from the Work, provided
|
||||
that such additional attribution notices cannot be construed
|
||||
as modifying the License.
|
||||
|
||||
You may add Your own copyright statement to Your modifications and
|
||||
may provide additional or different license terms and conditions
|
||||
for use, reproduction, or distribution of Your modifications, or
|
||||
for any such Derivative Works as a whole, provided Your use,
|
||||
reproduction, and distribution of the Work otherwise complies with
|
||||
the conditions stated in this License.
|
||||
|
||||
5. Submission of Contributions. Unless You explicitly state otherwise,
|
||||
any Contribution intentionally submitted for inclusion in the Work
|
||||
by You to the Licensor shall be under the terms and conditions of
|
||||
this License, without any additional terms or conditions.
|
||||
Notwithstanding the above, nothing herein shall supersede or modify
|
||||
the terms of any separate license agreement you may have executed
|
||||
with Licensor regarding such Contributions.
|
||||
|
||||
6. Trademarks. This License does not grant permission to use the trade
|
||||
names, trademarks, service marks, or product names of the Licensor,
|
||||
except as required for reasonable and customary use in describing the
|
||||
origin of the Work and reproducing the content of the NOTICE file.
|
||||
|
||||
7. Disclaimer of Warranty. Unless required by applicable law or
|
||||
agreed to in writing, Licensor provides the Work (and each
|
||||
Contributor provides its Contributions) on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||
implied, including, without limitation, any warranties or conditions
|
||||
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
||||
PARTICULAR PURPOSE. You are solely responsible for determining the
|
||||
appropriateness of using or redistributing the Work and assume any
|
||||
risks associated with Your exercise of permissions under this License.
|
||||
|
||||
8. Limitation of Liability. In no event and under no legal theory,
|
||||
whether in tort (including negligence), contract, or otherwise,
|
||||
unless required by applicable law (such as deliberate and grossly
|
||||
negligent acts) or agreed to in writing, shall any Contributor be
|
||||
liable to You for damages, including any direct, indirect, special,
|
||||
incidental, or consequential damages of any character arising as a
|
||||
result of this License or out of the use or inability to use the
|
||||
Work (including but not limited to damages for loss of goodwill,
|
||||
work stoppage, computer failure or malfunction, or any and all
|
||||
other commercial damages or losses), even if such Contributor
|
||||
has been advised of the possibility of such damages.
|
||||
|
||||
9. Accepting Warranty or Additional Liability. While redistributing
|
||||
the Work or Derivative Works thereof, You may choose to offer,
|
||||
and charge a fee for, acceptance of support, warranty, indemnity,
|
||||
or other liability obligations and/or rights consistent with this
|
||||
License. However, in accepting such obligations, You may act only
|
||||
on Your own behalf and on Your sole responsibility, not on behalf
|
||||
of any other Contributor, and only if You agree to indemnify,
|
||||
defend, and hold each Contributor harmless for any liability
|
||||
incurred by, or claims asserted against, such Contributor by reason
|
||||
of your accepting any such warranty or additional liability.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
APPENDIX: How to apply the Apache License to your work.
|
||||
|
||||
To apply the Apache License to your work, attach the following
|
||||
boilerplate notice, with the fields enclosed by brackets "[]"
|
||||
replaced with your own identifying information. (Don't include
|
||||
the brackets!) The text should be enclosed in the appropriate
|
||||
comment syntax for the file format. We also recommend that a
|
||||
file or class name and description of purpose be included on the
|
||||
same "printed page" as the copyright notice for easier
|
||||
identification within third-party archives.
|
||||
|
||||
Copyright 2020 Adguard Software Ltd
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
@@ -43,6 +43,12 @@ Whether you are setting up your first self-hosted VPN or operating your own infr
|
||||
- [Getting Started](#getting-started)
|
||||
- [Prerequisites](#prerequisites)
|
||||
- [Building](#building)
|
||||
- [1. Clone repository](#1-clone-repository)
|
||||
- [2. Use make to initialize project](#2-use-make-to-initialize-project)
|
||||
- [3. Configure GitHub Packages access](#3-configure-github-packages-access)
|
||||
- [4. Android: configure signing](#4-android-configure-signing)
|
||||
- [5. iOS: install pods and configure signing](#5-ios-install-pods-and-configure-signing)
|
||||
- [6. Build or run the application](#6-build-or-run-the-application)
|
||||
- [Usage](#usage)
|
||||
- [Quick Start](#quick-start)
|
||||
- [Server Configuration](#server-configuration)
|
||||
@@ -52,6 +58,7 @@ Whether you are setting up your first self-hosted VPN or operating your own infr
|
||||
- [How TrustTunnel Works](#how-trusttunnel-works)
|
||||
- [Flutter App and VPN Plugin](#flutter-app-and-vpn-plugin)
|
||||
- [Running \& Development](#running--development)
|
||||
- [License](#license)
|
||||
|
||||
## Getting Started
|
||||
### Prerequisites
|
||||
@@ -69,47 +76,92 @@ https://docs.flutter.dev/get-started
|
||||
|
||||
To build and run the application follow this steps:
|
||||
|
||||
1. Clone repository
|
||||
```shell
|
||||
git clone https://github.com/TrustTunnel/TrustTunnelFlutterClient.git
|
||||
cd TrustTunnelFlutterClient
|
||||
```
|
||||
#### 1. Clone repository
|
||||
```shell
|
||||
git clone https://github.com/TrustTunnel/TrustTunnelFlutterClient.git
|
||||
cd TrustTunnelFlutterClient
|
||||
```
|
||||
|
||||
2. Use make to initialize project
|
||||
```shell
|
||||
make init
|
||||
```
|
||||
#### 2. Use make to initialize project
|
||||
```shell
|
||||
make init
|
||||
```
|
||||
|
||||
3. If you building Android application, make sure that signing config provided
|
||||
#### 3. Configure GitHub Packages access
|
||||
|
||||
Run the following command once:
|
||||
```shell
|
||||
make aux-setup-android-signing
|
||||
```
|
||||
Project depends on artifacts published in GitHub Packages.
|
||||
To download them, you must provide a **personal access token** via environment variables used by Maven.
|
||||
|
||||
During keystore generation, keytool will interactively ask for certificate details, so feel free to set any values
|
||||
**Create a personal access token**
|
||||
|
||||
4. If you building iOS application, make sure that pods are installed
|
||||
```shell
|
||||
cd ios
|
||||
pod install --repo-update
|
||||
```
|
||||
Also make sure that project uses correct signing configuration
|
||||
Create a token here:
|
||||
https://github.com/settings/tokens
|
||||
|
||||
To do so, configure signing in Xcode:
|
||||
- Open the workspace: `ios/Runner.xcworkspace` via Xcode
|
||||
- Select the Runner target
|
||||
- Open the Signing & Capabilities tab
|
||||
- Select your Apple Developer Team
|
||||
- Enable “Automatically manage signing” (recommended),
|
||||
or disable it and select the required certificate and provisioning profile manually
|
||||
Required permissions:
|
||||
- `read:packages`
|
||||
- `public_repo`
|
||||
|
||||
5. After initialization, the application can be built or launched using standard Flutter tooling.
|
||||
```shell
|
||||
flutter build
|
||||
```
|
||||
**Export token to environment**
|
||||
```shell
|
||||
export GPR_KEY=<your_personal_access_token>
|
||||
```
|
||||
|
||||
This initialization step is required only once, before the first launch.
|
||||
As an alternative to exporting the variable in your shell, you can pass the token inline when running Flutter:
|
||||
|
||||
```shell
|
||||
GPR_KEY=<your_personal_access_token> flutter run
|
||||
```
|
||||
|
||||
Without this variable, builds will fail when resolving GitHub Packages dependencies.
|
||||
|
||||
---
|
||||
|
||||
#### 4. Android: configure signing
|
||||
|
||||
If you are building Android application, make sure that signing config is provided.
|
||||
|
||||
Run the following command once:
|
||||
```shell
|
||||
make aux-setup-android-signing
|
||||
```
|
||||
|
||||
During keystore generation, `keytool` will interactively ask for certificate details.
|
||||
You may set any values.
|
||||
|
||||
---
|
||||
|
||||
#### 5. iOS: install pods and configure signing
|
||||
|
||||
If you are building iOS application, make sure that pods are installed:
|
||||
```shell
|
||||
cd ios
|
||||
pod install --repo-update
|
||||
```
|
||||
|
||||
Also make sure that project uses correct signing configuration.
|
||||
|
||||
Configure signing in Xcode:
|
||||
- Open the workspace: `ios/Runner.xcworkspace`
|
||||
- Select the **Runner** target
|
||||
- Open **Signing & Capabilities**
|
||||
- Select your Apple Developer Team
|
||||
- Enable **Automatically manage signing** (recommended)
|
||||
|
||||
Alternatively, disable automatic signing and select the required certificate and provisioning profile manually.
|
||||
|
||||
---
|
||||
|
||||
#### 6. Build or run the application
|
||||
|
||||
After initialization, the application can be built or launched using standard Flutter tooling:
|
||||
```shell
|
||||
flutter build
|
||||
```
|
||||
|
||||
or:
|
||||
```shell
|
||||
flutter run
|
||||
```
|
||||
|
||||
> [!NOTE]
|
||||
> TrustTunnel Flutter Client requires a TrustTunnel VPN server.
|
||||
@@ -253,4 +305,8 @@ However, **VPN functionality must be tested on physical devices**.
|
||||
Emulators and simulators do not fully replicate system VPN behavior and may introduce false positives or platform-specific issues.
|
||||
|
||||
For reliable results and correct VPN lifecycle handling, always validate functionality on real hardware.
|
||||
Connection state changes and errors displayed in the UI directly reflect real network and system conditions.
|
||||
Connection state changes and errors displayed in the UI directly reflect real network and system conditions.
|
||||
|
||||
## License
|
||||
Apache 2.0
|
||||
|
||||
|
||||
+14
-1
@@ -1,3 +1,16 @@
|
||||
def getGprProp = { String name ->
|
||||
def v = project.findProperty(name)
|
||||
if (v != null) return v.toString()
|
||||
|
||||
// fallback to env
|
||||
def envName = name.replace('.', '_').toUpperCase() // gpr.key -> GPR_KEY
|
||||
v = System.getenv(envName)
|
||||
if (v != null && !v.toString().trim().isEmpty()) return v.toString()
|
||||
|
||||
return null
|
||||
}
|
||||
|
||||
|
||||
allprojects {
|
||||
repositories {
|
||||
google()
|
||||
@@ -6,7 +19,7 @@ allprojects {
|
||||
url = uri("https://maven.pkg.github.com/TrustTunnel/TrustTunnelClient")
|
||||
credentials {
|
||||
username = ""
|
||||
password = project.getProperty("gpr.key")
|
||||
password = getGprProp("gpr.key")
|
||||
}
|
||||
authentication { basic(BasicAuthentication) }
|
||||
}
|
||||
|
||||
@@ -94,7 +94,7 @@ class _StateConsumerState<C extends StateController<S>, S extends Object> extend
|
||||
@override
|
||||
void debugFillProperties(DiagnosticPropertiesBuilder properties) => super.debugFillProperties(
|
||||
properties
|
||||
..add(DiagnosticsProperty<StateController<S>>('сontroller', _controller))
|
||||
..add(DiagnosticsProperty<StateController<S>>('stateController', _controller))
|
||||
..add(DiagnosticsProperty<S>('state', _controller.state))
|
||||
..add(DiagnosticsProperty<bool>('isProcessing', _controller.isProcessing)),
|
||||
);
|
||||
|
||||
@@ -235,7 +235,7 @@ class _ServerDetailsFullScreenViewState extends State<ServerDetailsFullScreenVie
|
||||
password: data.password,
|
||||
vpnProtocol: data.protocol,
|
||||
dnsServers: data.dnsServers,
|
||||
routingProfile: selectedServer.routingProfile,
|
||||
routingProfile: profileController.routingList.firstWhere((p) => p.id == data.routingProfileId),
|
||||
selected: selectedServer.selected,
|
||||
);
|
||||
|
||||
|
||||
@@ -1,42 +0,0 @@
|
||||
# This file tracks properties of this Flutter project.
|
||||
# Used by Flutter tool to assess capabilities and perform upgrades etc.
|
||||
#
|
||||
# This file should be version controlled and should not be manually edited.
|
||||
|
||||
version:
|
||||
revision: "761747bfc538b5af34aa0d3fac380f1bc331ec49"
|
||||
channel: "stable"
|
||||
|
||||
project_type: plugin
|
||||
|
||||
# Tracks metadata for the flutter migrate command
|
||||
migration:
|
||||
platforms:
|
||||
- platform: root
|
||||
create_revision: 761747bfc538b5af34aa0d3fac380f1bc331ec49
|
||||
base_revision: 761747bfc538b5af34aa0d3fac380f1bc331ec49
|
||||
- platform: android
|
||||
create_revision: 761747bfc538b5af34aa0d3fac380f1bc331ec49
|
||||
base_revision: 761747bfc538b5af34aa0d3fac380f1bc331ec49
|
||||
- platform: ios
|
||||
create_revision: 761747bfc538b5af34aa0d3fac380f1bc331ec49
|
||||
base_revision: 761747bfc538b5af34aa0d3fac380f1bc331ec49
|
||||
- platform: linux
|
||||
create_revision: 761747bfc538b5af34aa0d3fac380f1bc331ec49
|
||||
base_revision: 761747bfc538b5af34aa0d3fac380f1bc331ec49
|
||||
- platform: macos
|
||||
create_revision: 761747bfc538b5af34aa0d3fac380f1bc331ec49
|
||||
base_revision: 761747bfc538b5af34aa0d3fac380f1bc331ec49
|
||||
- platform: windows
|
||||
create_revision: 761747bfc538b5af34aa0d3fac380f1bc331ec49
|
||||
base_revision: 761747bfc538b5af34aa0d3fac380f1bc331ec49
|
||||
|
||||
# User provided section
|
||||
|
||||
# List of Local paths (relative to this file) that should be
|
||||
# ignored by the migrate tool.
|
||||
#
|
||||
# Files that are not part of the templates will be ignored by default.
|
||||
unmanaged_files:
|
||||
- 'lib/main.dart'
|
||||
- 'ios/Runner.xcodeproj/project.pbxproj'
|
||||
@@ -1,3 +0,0 @@
|
||||
## 0.0.1
|
||||
|
||||
* TODO: Describe initial release.
|
||||
@@ -1 +0,0 @@
|
||||
TODO: Add your license here.
|
||||
@@ -1,18 +0,0 @@
|
||||
# vpn_plugin
|
||||
|
||||
A new Flutter plugin project.
|
||||
|
||||
## Getting Started
|
||||
|
||||
This project is a starting point for a Flutter
|
||||
[plug-in package](https://flutter.dev/developing-packages/),
|
||||
a specialized package that includes platform-specific implementation code for
|
||||
Android and/or iOS.
|
||||
|
||||
For help getting started with Flutter development, view the
|
||||
[online documentation](https://flutter.dev/docs), which offers tutorials,
|
||||
samples, guidance on mobile development, and a full API reference.
|
||||
|
||||
The plugin project was generated without specifying the `--platforms` flag, no platforms are currently supported.
|
||||
To add platforms, run `flutter create -t plugin --platforms <platforms> .` in this directory.
|
||||
You can also find a detailed instruction on how to add platforms in the `pubspec.yaml` at https://flutter.dev/docs/development/packages-and-plugins/developing-packages#plugin-platforms.
|
||||
@@ -1,6 +1,18 @@
|
||||
group = "com.adguard.trusttunnel.vpn_plugin"
|
||||
version = "1.0-SNAPSHOT"
|
||||
|
||||
def getGprProp = { String name ->
|
||||
def v = project.findProperty(name)
|
||||
if (v != null) return v.toString()
|
||||
|
||||
// fallback to env
|
||||
def envName = name.replace('.', '_').toUpperCase() // gpr.key -> GPR_KEY
|
||||
v = System.getenv(envName)
|
||||
if (v != null && !v.toString().trim().isEmpty()) return v.toString()
|
||||
|
||||
return null
|
||||
}
|
||||
|
||||
buildscript {
|
||||
ext.kotlin_version = "2.2.10"
|
||||
repositories {
|
||||
@@ -22,7 +34,7 @@ allprojects {
|
||||
url = uri("https://maven.pkg.github.com/TrustTunnel/TrustTunnelClient")
|
||||
credentials {
|
||||
username = ""
|
||||
password = project.getProperty("gpr.key")
|
||||
password = getGprProp("gpr.key")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+16
-16
@@ -61,10 +61,10 @@ packages:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: build
|
||||
sha256: c1668065e9ba04752570ad7e038288559d1e2ca5c6d0131c0f5f55e39e777413
|
||||
sha256: "275bf6bb2a00a9852c28d4e0b410da1d833a734d57d39d44f94bfc895a484ec3"
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "4.0.3"
|
||||
version: "4.0.4"
|
||||
build_config:
|
||||
dependency: transitive
|
||||
description:
|
||||
@@ -101,10 +101,10 @@ packages:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: built_value
|
||||
sha256: "426cf75afdb23aa74bd4e471704de3f9393f3c7b04c1e2d9c6f1073ae0b8b139"
|
||||
sha256: "7931c90b84bc573fef103548e354258ae4c9d28d140e41961df6843c5d60d4d8"
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "8.12.1"
|
||||
version: "8.12.3"
|
||||
characters:
|
||||
dependency: transitive
|
||||
description:
|
||||
@@ -149,10 +149,10 @@ packages:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: code_builder
|
||||
sha256: "11654819532ba94c34de52ff5feb52bd81cba1de00ef2ed622fd50295f9d4243"
|
||||
sha256: "6a6cab2ba4680d6423f34a9b972a4c9a94ebe1b62ecec4e1a1f2cba91fd1319d"
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "4.11.0"
|
||||
version: "4.11.1"
|
||||
collection:
|
||||
dependency: transitive
|
||||
description:
|
||||
@@ -221,10 +221,10 @@ packages:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: ffi
|
||||
sha256: "289279317b4b16eb2bb7e271abccd4bf84ec9bdcbe999e278a94b804f5630418"
|
||||
sha256: d07d37192dbf97461359c1518788f203b0c9102cfd2c35a716b823741219542c
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "2.1.4"
|
||||
version: "2.1.5"
|
||||
file:
|
||||
dependency: transitive
|
||||
description:
|
||||
@@ -329,10 +329,10 @@ packages:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: image
|
||||
sha256: "51555e36056541237b15b57afc31a0f53d4f9aefd9bd00873a6dc0090e54e332"
|
||||
sha256: "492bd52f6c4fbb6ee41f781ff27765ce5f627910e1e0cbecfa3d9add5562604c"
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "4.6.0"
|
||||
version: "4.7.2"
|
||||
intl:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
@@ -622,10 +622,10 @@ packages:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: source_gen
|
||||
sha256: "07b277b67e0096c45196cbddddf2d8c6ffc49342e88bf31d460ce04605ddac75"
|
||||
sha256: "1d562a3c1f713904ebbed50d2760217fd8a51ca170ac4b05b0db490699dbac17"
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "4.1.1"
|
||||
version: "4.2.0"
|
||||
source_span:
|
||||
dependency: transitive
|
||||
description:
|
||||
@@ -774,10 +774,10 @@ packages:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: url_launcher_web
|
||||
sha256: "4bd2b7b4dc4d4d0b94e5babfffbca8eac1a126c7f3d6ecbc1a11013faa3abba2"
|
||||
sha256: d0412fcf4c6b31ecfdb7762359b7206ffba3bbffd396c6d9f9c4616ece476c1f
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "2.4.1"
|
||||
version: "2.4.2"
|
||||
url_launcher_windows:
|
||||
dependency: transitive
|
||||
description:
|
||||
@@ -813,10 +813,10 @@ packages:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: watcher
|
||||
sha256: f52385d4f73589977c80797e60fe51014f7f2b957b5e9a62c3f6ada439889249
|
||||
sha256: "1398c9f081a753f9226febe8900fce8f7d0a67163334e1c94a2438339d79d635"
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "1.2.0"
|
||||
version: "1.2.1"
|
||||
web:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@ description: "Mobile VPN client for Android and iOS, built with Flutter"
|
||||
|
||||
publish_to: 'none'
|
||||
|
||||
version: 1.0.1+3711
|
||||
version: 1.0.1+3771
|
||||
|
||||
version_titles:
|
||||
versionTitleReleaseNumber: 1
|
||||
|
||||
Reference in New Issue
Block a user