module KrakenMobile::CalabashAndroid::ApkSigner

Public Class Methods

is_apk_signed?(apk_path) click to toggle source
# File lib/kraken-mobile/runners/calabash/android/apk_signer.rb, line 7
def self.is_apk_signed? apk_path
  keystores = JavaKeystore.get_keystores
  apk_fingerprint = fingerprint_from_apk(apk_path)
  keystores.select { |k| k.fingerprint == apk_fingerprint}.any?
end