Android SDK • Turn Bandwidth Into Revenue

Proxies.sx Peer Network SDKMonetize your Android app by letting users share unused bandwidth

Add a new revenue stream with 5 minutes of integration. Your users earn in-app rewards, you earn passive income, everyone wins.

500 KB SDK size
5 minute integration
$0.10/GB revenue share
GDPR compliant

How It Works

Simple 3-party value exchange that benefits everyone

Your App/Game

Integrate SDK into your Android app

Add 5 lines of code

User Benefits

Users share idle bandwidth for rewards

Earn gems, coins, premium

You Earn

Get $0.10/GB passive revenue

Auto monthly payouts
$0.40/GB
User Rewards
(gems, coins, premium)
$0.10/GB
Developer Revenue
(your passive income)
Remainder
Platform Operations
(infrastructure & support)

Revenue Calculator

See how much you could earn with your user base

10,000
Daily active users
30%
Industry average
20 GB
Per month avg
Monthly Traffic
200,000 GB
10k users × 30% × 20 GB/mo
Your Monthly Revenue
$20,000
200k GB × $0.10/GB
User Rewards Distributed: $80,000/month in gems/coins/premium features. Happy users, better retention, passive revenue for you.

5-Minute Integration

Add the SDK to your Android app in 5 simple steps

1

Add Dependency

Add JitPack repository to your settings.gradle.kts:

dependencyResolutionManagement {
    repositories {
        google()
        mavenCentral()
        maven { url = uri("https://jitpack.io") }
    }
}

Add SDK to build.gradle.kts:

dependencies {
    implementation("com.github.proxies-sx:android-peer-sdk:1.0.8")
}
2

Network Security Config

Create res/xml/network_security_config.xml:

<?xml version="1.0" encoding="utf-8"?>
<network-security-config>
    <base-config cleartextTrafficPermitted="true">
        <trust-anchors>
            <certificates src="system" />
        </trust-anchors>
    </base-config>
</network-security-config>

Reference in AndroidManifest.xml:

<application
    android:networkSecurityConfig="@xml/network_security_config"
    ...>
3

Initialize SDK

In your Application class:

class MyGameApplication : Application() {
    override fun onCreate() {
        super.onCreate()

        ProxiesPeerSDK.init(
            context = this,
            apiKey = "your-api-key"  // Get from client.proxies.sx
        )
    }
}
4

Start Sharing

Offer bandwidth sharing to users:

ProxiesPeerSDK.getInstance().apply {
    if (canStart()) {
        start()
        showToast("Earning rewards activated!")
    } else {
        // SDK will show consent dialog automatically
    }
}
5

Track Earnings & Reward Users

Listen for earnings and credit user accounts:

lifecycleScope.launch {
    ProxiesPeerSDK.getInstance().getEarnings().collect { earnings ->
        // Convert cents to your in-app currency
        val gems = (earnings.totalEarnedCents / 10)  // 10 cents = 1 gem

        // Credit user's account
        if (gems > 0) {
            GameManager.addGems(gems)
            showNotification("You earned $gems gems from bandwidth sharing!")
        }
    }
}
That's it! You're ready to start earning.

SDK API Reference

Complete API documentation for the Peer Network SDK

Initialization

ProxiesPeerSDK.init()
Initialize SDK in Application.onCreate()
• context: Context
• apiKey: String
• config: SdkConfig (optional)

Control

.start()
.stop()
.isRunning()
.canStart()
Start/stop bandwidth sharing

Earnings

.getEarnings(): Flow
.getCurrentEarnings()
Returns: Earnings
• totalEarnedCents: Int
• todayEarnedCents: Int
• totalTrafficBytes: Long
• sessionsCount: Int

Settings

.updateSettings()
• allowOnMobileData
• allowOnWifi
• allowWhileCharging
• allowOnBattery
• minBatteryPercent

Popular Use Cases

How other developers are using the SDK

Free-to-Play Games

Players earn gems/coins by sharing bandwidth

Example Flow
User shares 50 GB/mo → Earns 500 gems → Buys premium characters

Ad-Free Experience

Remove ads for users who share bandwidth

Example Flow
User enables sharing → Ads disabled → Better UX

Premium Unlocks

Unlock premium features via bandwidth sharing

Example Flow
Active sharing = Premium access without subscription

Fitness & Rewards Apps

Convert bandwidth into workout credits or points

Example Flow
100 cents earned = 1 premium workout unlocked

Best Practices

Follow these guidelines for optimal results

✅ DO

  • Be Transparent
    "Share unused internet → Earn 50 gems/day"
  • Give Users Control
    Add toggle in settings to enable/disable
  • Show Earnings Clearly
    Display today's earnings and lifetime total
  • Respect Battery & Data
    Stop at 20% battery, respect user preferences
  • Update Privacy Policy
    Mention bandwidth sharing in app description & privacy policy

❌ DON'T

  • Auto-Enable Without Consent
    Always require explicit user opt-in
  • Hide SDK Presence
    Must be mentioned in Play Store description
  • Use Manipulative Language
    No "You must enable this to continue"
  • Target Children's Apps
    SDK not allowed in apps for under 13 (COPPA)
  • Obfuscate SDK Code
    Keep SDK visible in app for transparency

Technical Architecture

Enterprise-grade infrastructure with built-in security

Android SDK
WebSocket connection (WSS)
Relay Server
Node.js routing layer
Proxy Customers
HTTP/HTTPS requests
✅ End-to-end encryption • ✅ JWT authentication • ✅ SSRF prevention • ✅ Rate limiting

Encrypted Traffic

All traffic encrypted via HTTPS/WSS. TLS passthrough - devices never decrypt.

JWT Authentication

30-day tokens for device auth. Customer validation on every request.

SSRF Prevention

Private IP blocking, rate limiting, fraud detection built-in.

Performance & Impact

Minimal footprint, maximum revenue

Battery Usage

Light (10 GB/mo):~2-3% daily
Moderate (50 GB/mo):~5-7% daily
Heavy (100+ GB/mo):~10-12% daily

Data Usage

  • Only unused bandwidth
  • WiFi/mobile data control
  • User sets preferences
  • Real-time tracking

APK Size

~500 KB
Includes WebSocket client, HTTP tunnel, earnings tracking, and consent UI

Compliance & Legal

Built with privacy and compliance in mind

GDPR Compliance

  • User consent required before any sharing
  • Users can revoke consent anytime
  • Data deletion on request
  • Transparent in privacy policy

App Store Guidelines

✅ Allowed:
Free-to-play games, productivity, social media, fitness, entertainment apps
❌ Not Allowed:
Apps for children (under 13), educational apps targeting minors
⚠️ iOS Coming Q2 2026 - Currently Android only

Payout Details

Simple, transparent payment terms

Minimum Payout
$50
Payment Terms
Net 30
Payout Schedule
Monthly
Methods
PayPal, Wire, USDT

Version History

Latest updates and improvements

v1.0.8Current
January 25, 2026
  • IP-based country detection
  • Enhanced device info reporting
  • Improved stability
v1.0.6
January 25, 2026
  • Critical: HTTPS tunnel buffering fix
  • TLS handshake race condition resolved
v1.0.5
January 25, 2026
  • Status properly shows CONNECTED
  • Enhanced debug logging

Frequently Asked Questions

For Developers

How much can I realistically earn?
With 10,000 daily active users and 30% opt-in rate, sharing 20 GB/month each = ~$6,000/month passive revenue.
Will this affect my Play Store rating?
If implemented correctly (clear consent, transparent earnings, user control), no. Many popular apps use similar SDKs without issues.
How do payouts work?
Automatic monthly payouts via PayPal/Wire/USDT. Minimum $50. Net 30 terms.
Can users abuse the system?
No. We have fraud detection, rate limiting, and monitor unusual patterns. Abuse attempts are automatically blocked.

For Users

Is this safe?
Yes. All traffic is encrypted. Devices act as secure relays. We never access user data or browsing history.
Will this drain my battery?
Minimal impact (~5% daily for moderate use). You can set battery limits in settings.
Does this use my mobile data?
Only if you allow it. You can restrict to WiFi-only in settings.
How much can I earn?
Varies by usage. Average user earns $10-25/month in rewards (gems, coins, premium features).

Ready to Monetize Your App?

Get your API key and start earning passive revenue in 5 minutes