Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70612

No user ID specified in userdata or existing model, generating generic user ID

$
0
0

@khalilghazal wrote:

  var user = $ionicUser.get();
  if (!user.user_id) {
    user.user_id = 10;
  }
 angular.extend(user, {
     user_id:10
 });
$ionicUser.identify(user).then(function(){
     console.log(' user.user_id+' user.user_id' +user.user_id);
}, function (status) {
console.log(status);

});

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70612

Trending Articles



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