-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.xml
91 lines (76 loc) · 3.48 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
<?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="cordova-plugin-radius-networks"
version="1.0.4">
<name>Fly Buy</name>
<description>
This plugin is used to communicate with the Radius Networks FlyBuy SDK.
</description>
<keywords>grocery, shopping</keywords>
<license></license>
<engines>
<engine name="cordova" version=">=9.0.1"/>
</engines>
<js-module name="FlyBuy" src="www/FlyBuy.js">
<clobbers target="window.FlyBuy" />
</js-module>
<!-- iOS -->
<platform name="ios">
<preference name="RN_IOS_APP_TOKEN" default="undefined" />
<hook type="after_plugin_install" src="scripts/ios/after_plugin_install.js" />
<hook type="before_plugin_uninstall" src="scripts/ios/before_plugin_uninstall.js" />
<config-file target="config.xml" parent="/*">
<feature name="FlyBuy">
<preference name="RN_IOS_APP_TOKEN" value="$RN_IOS_APP_TOKEN"/>
<param name="ios-package" value="RNFlyBuy" />
<param name="onload" value="true" />
</feature>
</config-file>
<header-file src="src/ios/RNFlyBuy.h" />
<source-file src="src/ios/RNFlyBuy.m" />
<config-file parent="UIBackgroundModes" target="*-Info.plist">
<array>
<string>fetch</string>
<string>location</string>
</array>
</config-file>
<framework src="libs/ios/FlyBuySDK.xcframework" custom="true" embed="true"/>
</platform>
<!-- android -->
<platform name="android">
<preference name="RN_ANDROID_APP_TOKEN" default="x" />
<preference name="RN_GOOGLE_ANDROID_API_KEY" default="x" />
<config-file target="res/xml/config.xml" parent="/*">
<feature name="FlyBuy">
<param name="android-package" value="com.radiusnetworks.plugin.RNFlyBuy"/>
<param name="onload" value="true" />
</feature>
<preference name="RN_ANDROID_APP_TOKEN" value="$RN_ANDROID_APP_TOKEN" />
<preference name="RN_GOOGLE_ANDROID_API_KEY" value="$RN_GOOGLE_ANDROID_API_KEY" />
<preference name="AndroidXEnabled" value="true" />
<preference name="GradlePluginKotlinEnabled" value="true" />
<preference name="GradlePluginKotlinCodeStyle" value="official" />
<preference name="GradlePluginKotlinVersion" value="1.4.10" />
</config-file>
<config-file target="AndroidManifest.xml" parent="/*">
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-feature android:name="android.hardware.location.gps" />
</config-file>
<framework src="src/android/build.gradle" custom="true" type="gradleReference" />
<hook type="after_prepare" src="scripts/android/update_gradle_properties.js" />
<lib-file src="libs/android/aar/api-release.aar" />
<lib-file src="libs/android/aar/common-release.aar" />
<lib-file src="libs/android/aar/core-release.aar" />
<lib-file src="libs/android/aar/pickup-release.aar" />
<source-file
src="src/android/RNFlyBuy.java"
target-dir="src/com/radiusnetworks/plugin"
/>
<source-file
src="src/android/PluginHelper.java"
target-dir="src/com/radiusnetworks/plugin"
/>
</platform>
</plugin>