Skip to content

Commit

Permalink
change readme file
Browse files Browse the repository at this point in the history
  • Loading branch information
mohamed-salah committed Jan 23, 2014
1 parent 5e6afcd commit c53e0c7
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
# MacAddress plugin for Phonegap 3 (Android) #
# MacAddress plugin for Phonegap 3 (Android, iOS) #

This Plugin is inspired from MacAddress plugin

[here](https://github.com/phonegap/phonegap-plugins/tree/master/Android/MacAddress)
[Android here](https://github.com/phonegap/phonegap-plugins/tree/master/Android/MacAddress)
[iOS here](https://github.com/jcesarmobile/my-phonegap-plugins/tree/master/iOS/MacAddressPlugin)


## Adding the Plugin to your project ##

Expand Down
6 changes: 3 additions & 3 deletions plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<plugin xmlns="http://www.phonegap.com/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="com.phonegap.plugins"
id="com.badrit.MacAddress"
version="0.1.0">
<name>MacAddress</name>
<description>Cordova MacAddress Plugin</description>
Expand All @@ -18,14 +18,14 @@
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="MacAddressPlugin">
<param name="android-package" value="com.phonegap.plugins.MacAddressPlugin"/>
<param name="android-package" value="com.badrit.MacAddress.MacAddressPlugin"/>
</feature>
</config-file>
<config-file target="AndroidManifest.xml" parent="/*">
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
</config-file>

<source-file src="src/android/MacAddressPlugin.java" target-dir="src/com/phonegap/plugins/" />
<source-file src="src/android/MacAddressPlugin.java" target-dir="src/com/badrit/MacAddress/" />
</platform>

<!-- ios -->
Expand Down
2 changes: 1 addition & 1 deletion src/android/MacAddressPlugin.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.phonegap.plugins;
package com.badrit.MacAddress;

import org.apache.cordova.CallbackContext;
import org.apache.cordova.CordovaPlugin;
Expand Down

0 comments on commit c53e0c7

Please sign in to comment.