forked from TongZhangzt/cordova-plugin-native-ringtones
-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.xml
35 lines (35 loc) · 2.01 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
<?xml version='1.0' encoding='utf-8'?>
<plugin id="cordova-plugin-native-ringtones" version="0.2.5" xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android">
<name>NativeRingtones</name>
<description>The plugin helps get the native ringtones list on Android or IOS devices. You can use this plugin to get three types of ringtones on Native device: TYPE_ALARM, TYPE_NOTIFICATION, TYPE_RINGTONE.</description>
<author>Tong Zhang</author>
<keywords>cordova, native ringtones, ringtone list</keywords>
<repo>https://github.com/TongZhangzt/cordova-plugin-native-ringtones</repo>
<issue>https://github.com/TongZhangzt/cordova-plugin-native-ringtones/issues</issue>
<license>Apache 2.0</license>
<js-module name="NativeRingtones" src="www/NativeRingtones.js">
<clobbers target="cordova.plugins.NativeRingtones" />
</js-module>
<dependency id="cordova-plugin-media" />
<platform name="android">
<config-file parent="/*" target="res/xml/config.xml">
<feature name="NativeRingtones">
<param name="android-package" value="cordova.plugin.nativeRingtones.NativeRingtones" />
</feature>
</config-file>
<config-file parent="/*" target="AndroidManifest.xml">
<uses-permission android:name="android.permission.WRITE_SETTINGS" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
</config-file>
<source-file src="src/android/NativeRingtones.java" target-dir="src/cordova-plugin-native-ringtones/NativeRingtones" />
</platform>
<platform name="ios">
<config-file paSrent="/*" target="config.xml">
<feature name="NativeRingtones">
<param name="ios-package" value="NativeRingtones" />
</feature>
</config-file>
<source-file src="src/ios/NativeRingtones.m" />
</platform>
</plugin>