-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from efryntov/main
Android native module ConduitModule
- Loading branch information
Showing
46 changed files
with
3,460 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
android/app/libs/*.* filter=lfs diff=lfs merge=lfs -text |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,37 @@ | ||
# Conduit App | ||
|
||
Conduit InProxy runner targetting iOS and Android | ||
|
||
## Git LFS Usage | ||
|
||
This project uses Git LFS (Large File Storage) to manage large files such as the tunnel core libraries. Please follow the instructions below to ensure you are set up correctly: | ||
|
||
### For All Users | ||
|
||
1. **Install Git LFS**: | ||
Ensure Git LFS is installed by running: | ||
```bash | ||
git lfs install | ||
``` | ||
|
||
### For Existing Users (Already Cloned the Repository) | ||
|
||
1. **Pull LFS-managed files**: | ||
If you already have the project cloned, run the following command to pull the latest LFS-tracked files: | ||
```bash | ||
git lfs pull | ||
``` | ||
|
||
### For New Users (Cloning the Repository) | ||
|
||
When cloning the repository for the first time, Git LFS will automatically handle the LFS files as part of the clone process: | ||
```bash | ||
git clone <repository-url> | ||
``` | ||
|
||
### Additional Information | ||
|
||
- Git LFS will manage files such as `.aar` libraries, as specified in the `.gitattributes` file. | ||
- Ensure Git LFS is installed to avoid issues with large files. | ||
|
||
For more details, visit the [Git LFS documentation](https://git-lfs.github.com/). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Git LFS file not shown
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
android/app/src/main/aidl/ca/psiphon/conduit/nativemodule/IConduitClientCallback.aidl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
package ca.psiphon.conduit.nativemodule; | ||
|
||
import android.os.Bundle; | ||
|
||
interface IConduitClientCallback { | ||
void onProxyStateUpdated(in Bundle proxyStateBundle); | ||
void onProxyActivityStatsUpdated(in Bundle proxyActivityStatsBundle); | ||
void ping(); | ||
} |
8 changes: 8 additions & 0 deletions
8
android/app/src/main/aidl/ca/psiphon/conduit/nativemodule/IConduitService.aidl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package ca.psiphon.conduit.nativemodule; | ||
|
||
import ca.psiphon.conduit.nativemodule.IConduitClientCallback; | ||
|
||
interface IConduitService { | ||
void registerClient(IConduitClientCallback client); | ||
void unregisterClient(IConduitClientCallback client); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.