Coder Social home page Coder Social logo

macaddress's Issues

Not working in my nexus 5 or probably its not working

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

Reference Error with Cordova 6.3.1

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

ionic v2

It´s possible to use your pluging with this new ionic?
thanks

Android PhoneGap Build always fails

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

Android 7+

On Android 7 or higher plugin returns "02:00:00:00:00:00"

iOS7 MAC Address deprecated?

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.

'getMacAddress' of undefined

Mohamed,
when call the plugin get below error:
"Uncaught TypeError: Cannot read property 'getMacAddress' of undefined"
My Cordova version is 6.

Android MAC Address issue

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.