This guide will show you how to modify the Purple IPTV 6.2.3 APK to connect it to your Cockpit Panel API.
Prerequisites
- MT Manager installed
- The Purple IPTV 6.2.3 APK file
- Your Cockpit Panel URL (e.g.
https://yourdomain.com/api/purple/gp/v7.json)
Steps
1. Open the APK
- Launch MT Manager and open the Purple IPTV 6.2.3 APK.
2. Modify the API URLs
- Navigate to
com/purpleplayer/iptv/android/MyApplication. - Find and replace:
const-string v0, "https://demo.cockpit.lol/api/purple/gp/v7.json"
- With:
const-string v0, "https://yourdomain.com/api/purple/gp/v7.json"
- Navigate to
com/purpleplayer/iptv/android/activities/SplashActivity. - Find and replace:
const-string v2, "https://demo.cockpit.lol/api/purple/media/app_video.mp4"
- With:
const-string v2, "https://yourdomain.com/api/purple/media/app_video.mp4"
- Find and replace:
const-string v5, "https://demo.cockpit.lol/api/purple/gp/v7.json"
- With:
const-string v5, "https://yourdomain.com/api/purple/gp/v7.json"
- Navigate to
ᠷᠯ᠙/ᠠᠴᠯ. - Find and replace:
.field public static final ᠺᠧᠵ:Ljava/lang/String; = "https://demo.cockpit.lol/api/purple/gp/v7.json"
- With:
.field public static final ᠺᠧᠵ:Ljava/lang/String; = "https://yourdomain.com/api/purple/gp/v7.json"
3. Save, Compile, and Sign
- After making the changes, tap the Save button in MT Manager and then choose Compile.
- Once the app is compiled, sign the APK using your preferred signing method.
4. Test the APK
- Install the modified APK on your device and test it to ensure the connection to your Cockpit Panel is working properly.
That's it! The Purple IPTV 6.2.3 APK is now connected to your Cockpit Panel.