cordova-plugin-app-name

1.0.7 • Public • Published

cordova-plugin-app-name

I created this plugin to address the issue of spaces in the names of my Cordova apps.

How does it work?

It adds an after_prepare hook that changes the value of app_name in strings.xml for Android and updates the "Project Name" and "Project Display Name" in the plist for iOS.

How do I install it?

If you're like me and using Cordova CLI:

cordova plugin add cordova-plugin-app-name --variable APP_NAME="Look <Ma> I Got Spaces and Stuff!"

or

phonegap local plugin add cordova-plugin-app-name --variable APP_NAME="Look <Ma> I Got Spaces and Stuff!"

How do I use it?

Um ... See above :)

/cordova-plugin-app-name/

    Package Sidebar

    Install

    npm i cordova-plugin-app-name

    Weekly Downloads

    388

    Version

    1.0.7

    License

    MIT

    Unpacked Size

    6.29 kB

    Total Files

    7

    Last publish

    Collaborators

    • carloslawton