-
Notifications
You must be signed in to change notification settings - Fork 13
/
plugin.xml
47 lines (45 loc) · 2.16 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
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0" id="cordova-plugin-purchases" version="6.1.1">
<dependency id="cordova-annotated-plugin-android" />
<name>Purchases</name>
<description>Purchases Cordova Plugin</description>
<license>MIT</license>
<keywords>cordova,purchases,revenuecat,iap,inapp,in-app,storekit,purchase</keywords>
<js-module src="www/plugin.js" name="plugin">
<clobbers target="Purchases" />
</js-module>
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="PurchasesPlugin">
<param name="android-package" value="com.revenuecat.purchases.PurchasesPlugin" />
</feature>
</config-file>
<framework src="com.revenuecat.purchases:purchases-hybrid-common:13.9.0" />
<framework src="androidx.annotation:annotation:[1.4.0]"/>
<source-file src="src/android/PurchasesPlugin.java" target-dir="src/com/revenuecat/purchases"/>
</platform>
<platform name="ios">
<dependency id="cordova-plugin-add-swift-support" version="2.0.2"/>
<config-file target="config.xml" parent="/*">
<feature name="PurchasesPlugin">
<param name="ios-package" value="CDVPurchasesPlugin"/>
</feature>
<preference name="deployment-target" value="13.0" />
</config-file>
<source-file src="src/ios/PurchasesPlugin.swift" />
<source-file src="src/ios/PurchasesPlugin+APIHelpers.swift" />
<source-file src="src/ios/PurchasesPlugin+Attribution.swift" />
<source-file src="src/ios/PurchasesPlugin+PurchasesDelegate.swift" />
<source-file src="src/ios/PurchasesPlugin+Purchasing.swift" />
<source-file src="src/ios/PurchasesPlugin+Users.swift" />
<podspec>
<config>
<source url="https://github.com/CocoaPods/Specs.git"/>
</config>
<pods use-frameworks="true">
<pod name="PurchasesHybridCommon" spec="13.9.0"/>
</pods>
</podspec>
</platform>
<params name="ANDROIDXENABLED" value="true" />
</plugin>