Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49176

"Serial number & UUID" cordova-plugin-device

$
0
0

@aarondeveloper wrote:

Hello guys,ç
So.. i have this issue:

I'm using the "cordova-plugin-device" for getting the "serial number" & "uuid" on ionic 1 on my app, to send them to another app through an API...
But when i send the "uuid" "they (the other app) get a different value and they don't match and when i send the serial number they get an "undefined value".

Here's part of my code

function onDeviceReady() {
$scope.deviceTest = device;
window.localStorage['uuid'] = device.uuid;
}

$scope.uuid = window.localStorage['uuid'];

$scope.porate = function(idporate) {

    $http.post(
        'http:.etc.',
        'action=setinfologin&idapp=AD01&user=' + window.localStorage['username'] + '&password=' + window.localStorage['password'] + '&chatwith=' + idporate + '&iddispositivo=' + $scope.uuid,

SAME PROCESS WITH "DEVICE.SERIAL"

any idea why i'm getting this error???

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49176

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>