-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplugin.xml
122 lines (120 loc) · 6.69 KB
/
plugin.xml
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
<?xml version="1.0" encoding="UTF-8" ?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="org.thaliproject.p2p"
version="0.0.1">
<name>Thali</name>
<description>ThaliPlugin to be used on top of JXcore</description>
<license>MIT</license>
<keywords>cordova,jxcore,node.js,thali</keywords>
<engines>
<engine name="cordova-android" version=">=3.2.0" />
<engine name="android-sdk" version=">=19" />
</engines>
<!-- Android -->
<platform name="android">
<config-file target="AndroidManifest.xml" parent="/*">
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
</config-file>
<framework src="src/android/JXcore.gradle" custom="true" type="gradleReference" />
<source-file src="src/android/java/io/jxcore/node/BtToRequestSocket.java" target-dir="src/io/jxcore/node/" />
<source-file src="src/android/java/io/jxcore/node/BtToServerSocket.java" target-dir="src/io/jxcore/node/" />
<source-file src="src/android/java/io/jxcore/node/BtToSocketBase.java" target-dir="src/io/jxcore/node/" />
<source-file src="src/android/java/io/jxcore/node/StreamCopyingThread.java" target-dir="src/io/jxcore/node/" />
<source-file src="src/android/java/io/jxcore/node/BtConnectorHelper.java" target-dir="src/io/jxcore/node/" />
<source-file src="src/android/java/io/jxcore/node/ConnectivityMonitor.java" target-dir="src/io/jxcore/node/" />
<source-file src="src/android/java/io/jxcore/node/LifeCycleMonitor.java" target-dir="src/io/jxcore/node/" />
<source-file src="src/android/java/io/jxcore/node/BtSocketDisconnectedCallBack.java" target-dir="src/io/jxcore/node/" />
<hook type="after_prepare" src="scripts/androidAfterPrepare.js"/>
<!--<hook type="after_platform_add" src="scripts/androidAfterPlatformAdd.js"/>-->
</platform>
<!-- iOS -->
<platform name="ios">
<config-file target="config.xml" parent="/*">
</config-file>
<framework src="MultipeerConnectivity.framework" />
<framework src="CoreBluetooth.framework" />
<framework src="SystemConfiguration.framework" />
<source-file src="src/ios/JXcoreExtension.m"
compiler-flags="-Werror"/>
<header-file src="src/ios/Utility/THEThreading.h"
compiler-flags="-Werror" />
<header-file src="src/ios/Utility/THEAtomicFlag.h"
compiler-flags="-Werror" />
<source-file src="src/ios/Utility/THEAtomicFlag.m"
compiler-flags="-Werror"/>
<header-file src="src/ios/NPReachability/NPReachability.h"
compiler-flags="-Werror"/>
<source-file src="src/ios/NPReachability/NPReachability.m"
compiler-flags="-Werror"/>
<header-file src="src/ios/THEAppContext.h"
compiler-flags="-Werror"/>
<source-file src="src/ios/THEAppContext.m"
compiler-flags="-Werror"/>
<header-file src="src/ios/THEPeer.h"
compiler-flags="-Werror"/>
<source-file src="src/ios/THEPeer.m"
compiler-flags="-Werror"/>
<header-file src="src/ios/THEPeerBluetoothDelegate.h"
compiler-flags="-Werror"/>
<header-file src="src/ios/THEPeerBluetooth.h"
compiler-flags="-Werror"/>
<source-file src="src/ios/THEPeerBluetooth.m"
compiler-flags="-Werror"/>
<header-file src="src/ios/MultipeerConnectivity/THEMultipeerSession.h"
compiler-flags="-Werror"/>
<source-file src="src/ios/MultipeerConnectivity/THEMultipeerSession.m"
compiler-flags="-Werror"/>
<header-file src="src/ios/MultipeerConnectivity/THEMultipeerSessionDelegate.h"
compiler-flags="-Werror"/>
<header-file src="src/ios/MultipeerConnectivity/THEMultipeerClient.h"
compiler-flags="-Werror"/>
<source-file src="src/ios/MultipeerConnectivity/THEMultipeerClient.m"
compiler-flags="-Werror"/>
<header-file src="src/ios/MultipeerConnectivity/THEMultipeerServer.h"
compiler-flags="-Werror"/>
<source-file src="src/ios/MultipeerConnectivity/THEMultipeerServer.m"
compiler-flags="-Werror"/>
<header-file src="src/ios/MultipeerConnectivity/THEMultipeerPeerSession.h"
compiler-flags="-Werror"/>
<source-file src="src/ios/MultipeerConnectivity/THEMultipeerPeerSession.m"
compiler-flags="-Werror"/>
<header-file src="src/ios/MultipeerConnectivity/THEMultipeerClientSession.h"
compiler-flags="-Werror"/>
<source-file src="src/ios/MultipeerConnectivity/THEMultipeerClientSession.m"
compiler-flags="-Werror"/>
<header-file src="src/ios/MultipeerConnectivity/THEMultipeerServerSession.h"
compiler-flags="-Werror"/>
<source-file src="src/ios/MultipeerConnectivity/THEMultipeerServerSession.m"
compiler-flags="-Werror"/>
<header-file src="src/ios/MultipeerConnectivity/THEMultipeerSocketRelay.h"
compiler-flags="-Werror"/>
<source-file src="src/ios/MultipeerConnectivity/THEMultipeerSocketRelay.m"
compiler-flags="-Werror"/>
<header-file src="src/ios/MultipeerConnectivity/THEMultipeerClientSocketRelay.h"
compiler-flags="-Werror"/>
<source-file src="src/ios/MultipeerConnectivity/THEMultipeerClientSocketRelay.m"
compiler-flags="-Werror"/>
<header-file src="src/ios/MultipeerConnectivity/THEMultipeerClientSocketRelayDelegate.h"
compiler-flags="-Werror"/>
<header-file src="src/ios/MultipeerConnectivity/THEMultipeerServerSocketRelay.h"
compiler-flags="-Werror"/>
<source-file src="src/ios/MultipeerConnectivity/THEMultipeerServerSocketRelay.m"
compiler-flags="-Werror"/>
<header-file src="src/ios/GCDAsyncSocket/GCDAsyncSocket.h"
compiler-flags="-Werror"/>
<source-file src="src/ios/GCDAsyncSocket/GCDAsyncSocket.m"
compiler-flags="-Werror"/>
<header-file src="src/ios/Utility/THEProtectedMutableDictionary.h"
compiler-flags="-Werror"/>
<source-file src="src/ios/Utility/THEProtectedMutableDictionary.m"
compiler-flags="-Werror"/>
<header-file src="src/ios/Utility/THESessionDictionary.h"
compiler-flags="-Werror"/>
<source-file src="src/ios/Utility/THESessionDictionary.m"
compiler-flags="-Werror"/>
</platform>
</plugin>