mohamed-salah / macaddress Goto Github PK
View Code? Open in Web Editor NEWMacAddress plugin for Cordova / PhoneGap
MacAddress plugin for Cordova / PhoneGap
before ive updated cordova, the plugin worked without problems.
since ive updated cordova to 6.3.1im getting a reference error
Error in Success callbackId: MacAddressPlugin1655035407 : ReferenceError: macAdress is not defined
Have you gotten this working on iOS7?
I'm reading everywhere that the ability to retrieve the Mac Address has been deprecated. So now, all we get back is a "02:00:00:00:00:00" dummy value.
I realize Apple wants developers to use other sorts of identifiers to track users, however, my current needs require an actual MAC Address since the app focuses on matching some network connection info on WiFi.
Just wondering if you have been able to retrieve the MAC Address on iOS7 device? If so, can you share if you've made any tweaks? I'm on cordova 3.2
P.S. The plugin is working great on Android devices.
On Android 7 or higher plugin returns "02:00:00:00:00:00"
phonegap local plugin add https://github.com/mohamed-salah/MacAddress.git
[phonegap] adding the plugin: https://github.com/mohamed-salah/MacAddress.git
[error] Fetching plugin failed: TypeError: Object # has no method 'tmpdir'
Hello,
I am using phonegap build version 2.9.0 and your plugin in my config.xml
<gap:plugin name="com.badrit.macaddress" version="0.1.0" />
The build always fails with this included in the config.
Oh geez. Your build failed. Sorry, but a problem occurred on the build server
Mohamed,
when call the plugin get below error:
"Uncaught TypeError: Cannot read property 'getMacAddress' of undefined"
My Cordova version is 6.
Model : iPhone8,2
iOS version : 10.1.1
It gives a response of macAddress equivalent to "02:00:00:00:00:00"
According to this
#3
the Android have the similar problem
I am using PGB 3.3 OR PGB 3.4 with your latest plugin 0.1.0
in Android 4.0.3, it always get the "00:00:00:00:00:00" dummy value
but in Android 4.1.1,it will show the right mac address
returns 00:00:00:00:00:00 as the mac id
I am not getting MAC address in iOS 8 version
Q1
is there any plan to develop in winphone
Q2
if the IMEI code could be get,I think it is more beter
Thanks for your plugin,it is very useful
previously it used to work but after 10.3 version upgrade it simple displaying the
Model : iPhone7
iOS version : 10.3.2
it simple displaying "02:00:00:00:00:00"
It´s possible to use your pluging with this new ionic?
thanks
Im using phonegap developer app in mobile.
Here is my index file
<head>
<meta charset="utf-8" />
<meta name="format-detection" content="telephone=no" />
<meta name="msapplication-tap-highlight" content="no" />
<meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width, height=device-height, target-densitydpi=device-dpi" />
<title>Mac Address Example</title>
<script type="text/javascript" src="cordova.js"></script>
<script type="text/javascript" src="js/index.js"></script>
<script type="text/javascript">
function getMac()
{
alert('test');
window.MacAddress.getMacAddress(
function(macAddress){alert(macAddress);},function(fail) {alert(fail);}
);
}
</script>
</head>
<body>
<button onclick="getMac()">Get Macs Address</button>
</body>
alert('test') is displayed while mac address is not.
i followed this tutorial https://www.npmjs.com/package/com-badrit-macaddress
Please help. Thank you
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.