react-native-qonversion
Version:
Qonversion provides full in-app purchases infrastructure, so you do not need to build your own server for receipt validation. Implement in-app subscriptions, validate user receipts, check subscription status, and provide access to your app features and co
22 lines • 722 B
JavaScript
;
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const Mapper_1 = __importDefault(require("../internal/Mapper"));
class UserProperty {
key;
value;
/**
* {@link UserPropertyKey} used to set this property.
* Returns {@link UserPropertyKey.CUSTOM} for custom properties.
*/
definedKey;
constructor(key, value) {
this.key = key;
this.value = value;
this.definedKey = Mapper_1.default.convertDefinedUserPropertyKey(key);
}
}
exports.default = UserProperty;
//# sourceMappingURL=UserProperty.js.map