xdl
Version:
The Expo Development Library
23 lines (22 loc) • 592 B
JavaScript
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.sendAsync = sendAsync;
function _internal() {
const data = require("./internal");
_internal = function () {
return data;
};
return data;
}
async function sendAsync(recipient, url_, allowUnauthed = true) {
const user = await _internal().UserManager.ensureLoggedInAsync();
const api = _internal().ApiV2.clientForUser(user);
return await api.postAsync('send-project', {
emailOrPhone: recipient,
url: url_,
includeExpoLinks: allowUnauthed
});
}
//# sourceMappingURL=Exp.js.map
;