zeba_academy_app_clone_detector 0.0.1 copy "zeba_academy_app_clone_detector: ^0.0.1" to clipboard
zeba_academy_app_clone_detector: ^0.0.1 copied to clipboard

PlatformAndroid

Detect app cloning, tampering, and unofficial installs.

Zeba Academy App Clone Detector #

Detect app cloning, tampering, and unofficial installs in Flutter apps.


Features #

  • ✅ Signature verification
  • ✅ Package name spoof detection
  • ✅ Play Store install verification
  • ✅ Detect multiple installs / parallel apps

This package helps secure your Flutter app against cloning, tampering, or unauthorized installations.


Installation #

Add this to your pubspec.yaml:

dependencies:
  zeba_academy_app_clone_detector:
    git:
      url: https://github.com/yourusername/zeba_academy_app_clone_detector.git
      ref: main

Then run:

flutter pub get

Usage #

import 'package:zeba_academy_app_clone_detector/zeba_academy_app_clone_detector.dart';

void checkAppSecurity() async {
  bool isSignatureValid = await ZebaAcademyAppCloneDetector.isSignatureValid("YOUR_HASH");

  bool isFromPlayStore = await ZebaAcademyAppCloneDetector.isInstalledFromPlayStore();

  bool isPackageValid = await ZebaAcademyAppCloneDetector.isPackageNameValid("com.your.app");

  bool multipleInstances = await ZebaAcademyAppCloneDetector.hasMultipleInstances();

  if (!isSignatureValid || !isFromPlayStore || !isPackageValid || multipleInstances) {
    print("⚠️ App may be cloned or tampered!");
  }

  bool isSafe = await ZebaAcademyAppCloneDetector.isAppSafe(
    expectedHash: "YOUR_HASH",
    expectedPackage: "com.your.app",
  );

  if (!isSafe) {
    print("⚠️ Security check failed!");
  }
}

Android Setup #

Make sure your android/src/main/kotlin/.../ZebaCloneDetectorPlugin.kt implements:

  • Signature hash extraction
  • Installer source detection
  • Package name verification
  • Multi-instance detection

Full implementation is required for plugin to work.


About Me #

✨ I’m Sufyan bin Uzayr, an open-source developer passionate about building and sharing meaningful projects. You can learn more about me and my work at sufyanism.com or connect with me on Linkedin


Your all-in-one no-bloat hub! #

🚀 Explore cutting-edge resources in coding, tech, and development at zeba.academy and code.zeba.academy. Empower yourself with practical skills through curated directives, real-world projects, and hands-on experience. Level up your tech game today! 💻✨

Zeba Academy is a learning platform dedicated to coding, technology, and development. ➡ Visit our main site: zeba.academy ➡ Explore hands-on courses and resources at: code.zeba.academy ➡ Check out our YouTube for more tutorials: zeba.academy ➡ Follow us on Instagram: zeba.academy

Thank you for visiting!