text: // Copyright (c) Microsoft Corporation. All rights reserved.
  // Licensed under the MIT License.
  
  var exec = require('cordova/exec');
  
  var AppCenter = {
      getInstallId: function (success, error) {
          exec(success, error, "AppCenterShared", "getInstallId", []);
      },
  
      setUserId: function (userId, success, error) {
          exec(success, error, "AppCenterShared", "setUserId", [userId]);
      }
  };
  
  module.exports = AppCenter;
  