Set User Id
Purchasely.userLogin(with: "123456789")[Purchasely userLoginWith:@"123456789"];Purchasely.userLogin("123456789") { refresh ->
if (refresh) {
//you can call your backend to refresh user information
}
}Purchasely.userLogin("123456789", refresh -> {
if(refresh) {
//you can call your backend to refresh user information
}
return null;
});Purchasely.userLogin('123456789').then((refresh) => {
if (refresh) {
//call your backend to refresh user information
}
});Purchasely.userLogin('user_id', refresh => {
if(refresh) {
// You can call your back-end to refresh user information
}
});Purchasely.userLogout()[Purchasely userLogout];Purchasely.userLogout()Purchasely.userLogout();Purchasely.userLogout();Purchasely.userLogout()Purchasely.userLogout();private PurchaselyRuntime.Purchasely _purchasely;
_purchasely.UserLogout();Last updated