This repository has been archived by the owner on May 18, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 37
/
plugin.xml
61 lines (56 loc) · 2.88 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
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
id="cordova-plugin-service-worker"
version="1.0.1">
<name>Service Worker</name>
<description>Service Worker Plugin</description>
<license>Apache 2.0</license>
<keywords>cordova,serviceworker,service,worker</keywords>
<dependency id="es6-promise-plugin" url="https://github.com/vstirbu/PromisesPlugin.git" />
<!-- JS modules for use by the plugin (browser env) -->
<js-module src="www/service_worker_container.js" name="ServiceWorkerContainer">
<clobbers target="navigator.serviceWorker" />
</js-module>
<js-module src="www/service_worker_registration.js" name="ServiceWorkerRegistration">
<clobbers target="ServiceWorkerRegistration" />
</js-module>
<js-module src="www/service_worker.js" name="ServiceWorker">
<clobbers target="ServiceWorker" />
</js-module>
<js-module src="www/kamino.js" name="kamino.js">
<clobbers target="Kamino" />
</js-module>
<!-- Assets for use by the worker (worker env) -->
<asset src="www/sw_assets/client.js" target="sw_assets/client.js" />
<asset src="www/sw_assets/event.js" target="sw_assets/event.js" />
<asset src="www/sw_assets/fetch.js" target="sw_assets/fetch.js" />
<asset src="www/sw_assets/cache.js" target="sw_assets/cache.js" />
<asset src="www/sw_assets/kamino.js" target="sw_assets/kamino.js" />
<asset src="www/sw_assets/message.js" target="sw_assets/message.js" />
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="ServiceWorker">
<param name="ios-package" value="CDVServiceWorker" />
<param name="onload" value="true" />
</feature>
</config-file>
<header-file src="src/ios/CDVServiceWorker.h" />
<source-file src="src/ios/CDVServiceWorker.m" />
<header-file src="src/ios/FetchConnectionDelegate.h" />
<source-file src="src/ios/FetchConnectionDelegate.m" />
<header-file src="src/ios/FetchInterceptorProtocol.h" />
<source-file src="src/ios/FetchInterceptorProtocol.m" />
<header-file src="src/ios/ServiceWorkerCache.h" />
<source-file src="src/ios/ServiceWorkerCache.m" />
<header-file src="src/ios/ServiceWorkerCacheApi.h" />
<source-file src="src/ios/ServiceWorkerCacheApi.m" />
<header-file src="src/ios/ServiceWorkerCacheEntry.h" />
<source-file src="src/ios/ServiceWorkerCacheEntry.m" />
<header-file src="src/ios/ServiceWorkerRequest.h" />
<source-file src="src/ios/ServiceWorkerRequest.m" />
<header-file src="src/ios/ServiceWorkerResponse.h" />
<source-file src="src/ios/ServiceWorkerResponse.m" />
<framework src="JavaScriptCore.framework" />
<framework src="CoreData.framework" />
</platform>
</plugin>