Skip to content

Commit a3b895b

Browse files
committed
Rollback mistaken checkin
1 parent 20c7396 commit a3b895b

File tree

2 files changed

+8
-152
lines changed

2 files changed

+8
-152
lines changed

README.md

Lines changed: 8 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,54 +1,25 @@
1-
# cordova-plugin-cocoapod-support
2-
Are you tired of manually adding ios dependencies in Cordova apps? Me too. Android has Gradle support out of the box, but
3-
Cocoapods get no love. That is until now. Add this plugin as a dependency in your plugin, define your Cocoapod dependencies
4-
and that's it.
5-
1+
# cordova-plugin-app-name
2+
I created this plugin to address the issue of spaces in the names of my Cordova apps.
63

74
## How does it work?
8-
It adds a hook that create the Podfile, updates the necessary configs and then runs pod update for you.
5+
It adds an after_prepare hook that changes the value of app_name in strings.xml for Android and updates the "Project Name" and
6+
"Project Display Name" in the plist for iOS.
97

108
## How do I install it?
119

1210
If you're like me and using [Cordova CLI](http://cordova.apache.org/):
1311
```
14-
cordova plugin add cordova-plugin-cocoapod-support --save
12+
cordova plugin add cordova-plugin-app-name --variable APP_NAME="Look <Ma> I Got Spaces and Stuff!"
1513
```
1614

1715
or
1816

1917
```
20-
phonegap local plugin add cordova-plugin-cocoapod-support
21-
```
22-
23-
## How do I use it? Checkout this sample plugin.xml
24-
```xml
25-
<?xml version='1.0' encoding='UTF-8'?>
26-
<plugin id="cordova-plugin-withpods" version="1.0.0" xmlns="http://apache.org/cordova/ns/plugins/1.0">
27-
<name>Plugin With Pods</name>
28-
<author>Carlos "blakgeek" Lawton</author>
29-
<description>
30-
A Cordova/PhoneGap demostrating the use of cocoapod dependencies.
31-
</description>
32-
<keywords>cordova, ios, cocoapods</keywords>
33-
<license>MIT</license>
34-
<engines>
35-
<engine name="cordova" version=">=3.0.0"/>
36-
</engines>
37-
38-
<platform name="ios">
39-
<pod id="FBSDKCoreKit" version="1.0.0"/>
40-
<pod id="FBSDKShareKit"/>
41-
<pod id="FBSDKLoginKit"/>
42-
</platform>
43-
</plugin>
18+
phonegap local plugin add cordova-plugin-app-name --variable APP_NAME="Look <Ma> I Got Spaces and Stuff!"
4419
```
4520

46-
or have a look at [the demo plugin](https://github.com/blakgeek/cordova-plugin-withpods).
47-
48-
49-
##TODO:
50-
# update with examples of all support pod attributes (git, podspec, path, subspec, configuration(s) )
51-
# a
21+
## How do I use it?
22+
Um ... See above :)
5223

5324

5425

scripts/podify.js

Lines changed: 0 additions & 115 deletions
This file was deleted.

0 commit comments

Comments
 (0)