-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathplugin.xml
More file actions
73 lines (69 loc) · 2.46 KB
/
plugin.xml
File metadata and controls
73 lines (69 loc) · 2.46 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<?xml version='1.0' encoding='utf-8'?>
<plugin id="outsystems-plugin-esim" version="1.0.0"
xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android">
<name>outsystems-plugin-esim</name>
<js-module name="outsystems-plugin-esim" src="www/outsystems-plugin-esim.js">
<clobbers target="cordova.plugins.esim" />
</js-module>
<preference name="MCC" default="000" />
<preference name="MNC" default="000" />
<platform name="android">
<config-file target="AndroidManifest.xml" parent="/*">
<uses-permission android:name="android.permission.WRITE_EMBEDDED_SUBSCRIPTIONS"/>
</config-file>
<config-file parent="/*" target="res/xml/config.xml">
<feature name="eSIM">
<param name="android-package" value="com.outsystems.eSIM" />
</feature>
</config-file>
<config-file parent="/*" target="AndroidManifest.xml" />
<source-file src="src/android/eSIM.java" target-dir="src/com/outsystems" />
</platform>
<platform name="ios">
<!-- Hooks for Swift Support -->
<hook type="before_plugin_install" src="hooks/install_prerequisites.js"/>
<hook type="after_plugin_add" src="hooks/add_swift_support.js" />
<hook type="before_plugin_install" src="hooks/fixAppEntitlements.js"/>
<!-- iOS Source Files -->
<source-file src="src/ios/eSIM.swift" />
<!-- Info.plist -->
<config-file target="*-Info.plist" parent="CarrierDescriptors">
<array>
<dict>
<key>MCC</key>
<string>$MCC</string>
<key>MNC</key>
<string>$MNC</string>
</dict>
</array>
</config-file>
<config-file target="*-Info.plist" parent="com.apple.CommCenter.fine-grained">
<array>
<string>spi</string>
<string>sim-authentication</string>
<string>identity</string>
</array>
</config-file>
<config-file target="*-Info.plist" parent="com.apple.private.system-keychain">
<true/>
</config-file>
<config-file target="*-Info.plist" parent="com.apple.security.network.client">
<true/>
</config-file>
<config-file target="*-Info.plist" parent="com.apple.security.network.server">
<true/>
</config-file>
<config-file target="*-Info.plist" parent="com.apple.wlan.authentication">
<true/>
</config-file>
<config-file target="*-Info.plist" parent="keychain-access-groups">
<true/>
</config-file>
<config-file parent="/*" target="config.xml">
<feature name="eSIM">
<param name="ios-package" value="eSIM" />
</feature>
</config-file>
</platform>
</plugin>