calabash-android 0.4.0.pre5 → 0.4.0.pre6
Sign up to get free protection for your applications and to get access to all the features.
@@ -116,7 +116,10 @@ def fingerprint_from_apk(app_path)
|
|
116
116
|
end
|
117
117
|
|
118
118
|
def extract_md5_fingerprint(fingerprints)
|
119
|
-
|
119
|
+
if fingerprints.encoding.name == "CP850"
|
120
|
+
fingerprints = fingerprints.gsub("\xA0".force_encoding("CP850"),"")
|
121
|
+
end
|
122
|
+
|
120
123
|
m = fingerprints.scan(/MD5\s*:\s*((?:\h\h:){15}\h\h)/).flatten
|
121
124
|
raise "No MD5 fingerprint found:\n #{fingerprints}" if m.empty?
|
122
125
|
m.first
|
Binary file
|