E2ray VPN - Kotlin Android App icon

E2ray VPN - Kotlin Android App

Hot or Not
E2ray VPN - Kotlin Android App

Description

E2ray VPN – Modern Android VPN Source Code

e2ray VPN is a modern Android VPN application built with 100% Kotlin, Jetpack Compose, and the SingBox engine. The project provides a clean and customizable VPN experience with support for multiple protocols, automatic server management, Firebase services, and AdMob monetization.

πŸš€ Main Features

  • Modern and clean Android UI
  • 100% Kotlin
  • Jetpack Compose
  • SingBox VPN engine
  • MVVM architecture
  • StateFlow state management
  • Multiple VPN protocols
  • Automatic server updates
  • Server fetching and validation
  • Real connectivity testing
  • Server caching
  • Country detection
  • Server deduplication
  • Search and server selection
  • Favorite servers
  • Connection information
  • Download and upload statistics
  • Auto-connect option
  • Start on boot option
  • Connection notifications
  • DNS configuration
  • IPv4 / IPv6 support
  • Kill Switch option
  • Dark modern interface

🌐 Supported VPN Protocols

e2ray VPN supports:

  • Trojan
  • VLESS
  • Shadowsocks
  • Hysteria2

The application can manage different server configurations and automatically process available server sources.

πŸ”„ Automatic Server Management

The built-in server management system can:

  • Fetch server configurations from configured sources
  • Parse available configurations
  • Validate server configurations
  • Test connectivity
  • Detect server countries
  • Remove duplicate servers
  • Cache validated servers
  • Automatically update the available server list

This allows developers to maintain server sources without manually adding every server to the application.

πŸ’° AdMob Monetization

The project includes Google AdMob integration with support for:

  • Rewarded Ads
  • Interstitial Ads
  • Monetization configuration

Rewarded advertising can be used to provide users with additional VPN usage time.

πŸ”₯ Firebase Integration

Firebase services are integrated into the project, including:

  • Firebase Cloud Messaging (FCM)
  • Firebase Analytics
  • Firebase Crashlytics

These services can be configured using your own Firebase project.

🎨 Easy Customization

The application is designed to be rebranded and customized easily. You can change:

  • App name
  • Package name
  • Application icon
  • Colors ###li/li###
  • Version information
  • Branding elements
  • Server sources
  • AdMob configuration
  • Firebase configuration

πŸ“± Modern User Interface

The application uses Jetpack Compose to provide a modern Android interface with dedicated screens for:

  • Home
  • Servers
  • Server details
  • Settings
  • Connection information

The UI is designed to provide a simple and clear VPN experience while remaining easy to customize.

πŸ› οΈ Technology Stack

  • Kotlin
  • Jetpack Compose
  • SingBox / libbox
  • MVVM
  • Sta

Features

Features

  • πŸš€ Modern Android VPN Application
  • πŸ’» 100% Kotlin
  • 🎨 Jetpack Compose UI
  • ⚑ SingBox VPN Engine
  • 🌐 4 VPN Protocols:
    • Trojan
    • VLESS
    • Shadowsocks
    • Hysteria2
  • πŸ”„ Automatic Server Updates
  • πŸ” Server Fetching & Validation
  • πŸ§ͺ Server Connectivity Testing
  • 🌍 Automatic Country Detection
  • ♻️ Server Deduplication
  • πŸ’Ύ Validated Server Caching
  • πŸ”Ž Server Search
  • ⭐ Favorite Servers
  • πŸ“Š Download & Upload Statistics
  • πŸ”Œ Auto-Connect
  • πŸ“± Start on Boot
  • πŸ”” Connection Notifications
  • 🌐 DNS Configuration
  • πŸ”€ IPv4 / IPv6 Support
  • πŸ›‘οΈ Kill Switch
  • πŸ“‘ Connection Information
  • πŸ”₯ Firebase Analytics
  • πŸ”” Firebase Cloud Messaging (FCM)
  • πŸ› Firebase Crashlytics
  • πŸ’° Google AdMob Integration
  • 🎁 Rewarded Ads
  • πŸ“Ί Interstitial Ads
  • 🎨 Customizable Branding
  • πŸ“¦ APK & AAB Build Support
  • πŸͺ Google Play Publishing Support
  • πŸ“– Detailed Setup & Customization Guide
  • πŸ› οΈ Easy Server & Configuration Management

Requirements

  • Android Studio: Hedgehog (2023.1.1) or newer
  • JDK: 17 or newer
  • Android SDK: API 26+
  • Programming Language: Kotlin
  • Git: Required
  • RAM: 8 GB minimum, 16 GB recommended
  • Storage: 20 GB free space recommended
  • CPU: Intel Core i5 / AMD Ryzen 5 or better recommended
  • Android Device: Recommended for VPN testing
  • Firebase Account: Required for Firebase services
  • Google AdMob Account: Required for AdMob monetization
  • Google Play Console Account: Required for Google Play publishing
  • Internet Connection: Required for downloading dependencies, Firebase/AdMob services, and server updatesΒ 

Instructions

1. Install the Required Tools

Install the following:

  • Android Studio Hedgehog or newer
  • JDK 17+
  • Android SDK API 26+
  • Git

2. Open the Project

  1. Extract the e2ray VPN source code.
  2. Open the project in Android Studio.
  3. Allow Gradle to sync and download the required dependencies.
  4. Wait until the project finishes syncing successfully.

3. Configure Firebase

  1. Create your own Firebase project.
  2. Add the Android application to Firebase.
  3. Download your own google-services.json.
  4. Replace the placeholder Firebase configuration.
  5. Configure the required Firebase services:
    • Firebase Analytics
    • Firebase Crashlytics
    • Firebase Cloud Messaging (FCM)

4. Configure AdMob

  1. Create your own Google AdMob account.
  2. Create the required ad units.
  3. Replace the placeholder AdMob IDs with your own IDs.
  4. Use test ad IDs during development and testing.

5. Customize the Application

Customize the application according to your brand:

  • App name
  • Package name
  • App icon
  • Colors and theme
  • Version information
  • Branding elements

6. Configure VPN Servers

Configure your own VPN server sources and configurations. The application can automatically fetch, validate, test, detect countries, deduplicate, and cache available server configurations.

7. Test the Application

Run the application on an Android device and verify:

  • VPN connection
  • Server selection
  • Server updates
  • Server validation
  • Connection statistics
  • Firebase services
  • AdMob ads
  • Application settings

8. Build the Release Version

After completing customization and testing:

  • Generate a signed APK for direct distribution.
  • Generate a signed AAB for Google Play.

Important

Replace all placeholder Firebase and AdMob configurations with your own accounts before production use. Configure your own VPN server sources and thoroughly test the application before publishing.

AuthorQrDEV
CategoryApp Templates / Android / Applications
Price$64
Extended License$192
First ReleaseOct 5, 2026
Last UpdateOct 5, 2026
Files included.json, .kt, .kts, .gradle.kts, .yml/.yaml, .xml
Operating systemsAndroid 8.0, Android 10.0, Android 11.0, Android 12.0, Android 13.0, Android 14.0, Android 15.0
Programming languageKotlin
App framework / engineAndroid (Native)

External listing. code.market does not sell this product and does not process payment for it. Pricing, payment, delivery, licensing, refunds, and support are handled by the third-party merchant on its own website. We may earn an affiliate commission from a referral. Details.