@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.
@@ -45,7 +45,8 @@ public class Plugin: CAPPlugin {
45
45
  return;
46
46
  }
47
47
 
48
- guard let contentString = String(data: content, encoding: .ascii),
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")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hanwha-ss1/plugin",
3
- "version": "0.6.7",
3
+ "version": "0.6.8",
4
4
  "description": "Plugin",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",