• 12-11-2019, 20:19:37
    #1
    Merhaba arkadaşlar;

    Google play harici trafiği önlemek istiyoruz. Google play dışında uygulama yüklendiginde uyugulamayı çalıştırmak istemiyoruz bu konuda ne yapabiliriz. Ücretli destek verebilecek bir arkladaşta olur yeterki sorunumuzu çözelim.
  • 12-11-2019, 20:31:28
    #2
    String installer = getPackageManager().getInstallerPackageName( "com.example.myapp");if (installer == null) { // app was illegally downloaded from unknown source. } else { // app was probably installed legally. Hooray!}
    Bu belki işine yarar Hocam
    Kaynak : https://stackoverflow.com/questions/...de-google-play
  • 12-11-2019, 22:09:05
    #3
    Buyur hocam
    boolean verifyInstallerId(Context context) {    // A list with valid installers package name    List<String> validInstallers = new ArrayList<>(Arrays.asList("com.android.vending", "com.google.android.feedback"));    // The package name of the app that has installed your app    final String installer = context.getPackageManager().getInstallerPackageName(context.getPackageName());    // true if your app has been downloaded from Play Store     return installer != null && validInstallers.contains(installer);}
  • 12-11-2019, 23:48:27
    #4
    Kimlik doğrulama veya yönetimden onay bekliyor.
    yardımcı olabilirim pm atarmısınız