Skip to content

CASL0/simple_app_blocker

Repository files navigation

Simple App Blocker

Weekly Build License API codecov

VpnServiceを利用し、指定のアプリ以外の通信をブロックするシンプルなユーティリティツールです。

対象 OS:Android10+

Google Play で手に入れよう

機能

  • ブロックした通信をリアルタイムで表示
  • アプリ指定で通信許可
  • IPv4/IPv6 対応

開発

開発環境

Android Studio (Electric Eel 以降) をインストールしてください。

  • Kotlin 1.8.10
  • Android Gradle Plugin 7.4.2
  • Gradle 8.3
  • JDK 17+
  • NDK 25.2.9519653

以下のコマンドを実行し、JNI から使用しているネイティブライブラリ(Pcap++)をセットアップしてください。

./gradlew setup

モジュール

モジュール構成

PlayConsole へのアップロード

fastlane を使用しアップロードしています。VSCode で本リポジトリを開き、コマンドパレット(Ctrl+Shift+P)から[Open Folder in Container]を選択し、DevContainer で開きます。

ドキュメント

※ Android Studio のMarkdownプラグインでプレビューするには、JRE を JCEF に切り替えてください。 また、PlantUML ダイアグラムを有効にするためにSettings > Languages & Frameworks > Markdownから PlantUML 拡張を有効にしてください。

ライセンス

Copyright 2022 CASL0

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.