@hanwha-ss1/plugin 0.6.7 → 0.6.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ios/Plugin/Plugin.swift +2 -1
- package/package.json +1 -1
package/ios/Plugin/Plugin.swift
CHANGED
|
@@ -45,7 +45,8 @@ public class Plugin: CAPPlugin {
|
|
|
45
45
|
return;
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
|
|
48
|
+
// 구형기기에서는 ascii, 최신기기는 isoLatin1
|
|
49
|
+
guard let contentString = String(data: content, encoding: .isoLatin1) ?? String(data: content, encoding: .ascii),
|
|
49
50
|
let startRange = contentString.range(of: "<plist"),
|
|
50
51
|
let endRange = contentString.range(of: "</plist>") else {
|
|
51
52
|
print("Failed to parse plist from provisioning profile")
|