summaryrefslogtreecommitdiff
path: root/StoneIsland/plugins/cordova-plugin-app-name/plugin.xml
blob: 6e7c5480dd5ec2fd7d430edf835ef8176664448f (plain)
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
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0" id="cordova-plugin-app-name" version="1.0.4">
    <name>App Namer</name>
    <author>Carlos "blakgeek" Lawton</author>
    <description>
        Cordova/Phonegap plugin that allows you to put spaces in the display name of your app.
    </description>
    <keywords>cordova, ios, app, name, spaces</keywords>
    <license>MIT</license>
    <engines>
        <engine name="cordova" version="&gt;=3.0.0"/>
    </engines>

    <preference name="APP_NAME"/>
    <hook type="after_prepare" src="src/rename-app.js"/>

    <platform name="android">
        <config-file target="config.xml" parent="/*">
            <preference name="AppName" value="$APP_NAME"/>
        </config-file>
    </platform>

    <platform name="ios">
        <config-file target="*-Info.plist" parent="CFBundleName">
            <string>$APP_NAME</string>
        </config-file>
        <config-file target="*-Info.plist" parent="CFBundleDisplayName">
            <string>$APP_NAME</string>
        </config-file>
    </platform>
</plugin>