Users and sign-in
Users start anonymous. Sign them in with the id token of your login (Sign in with Apple, Google, Firebase, any OpenID Connect issuer or your own backend) and the same person gets the same user on every device. Set it up in the app's User login settings.
In your app, with the SDK
await BeeAppieSdk.Instance.SignInAsync(idToken);
await BeeAppieSdk.Instance.SetUserPropertiesAsync(
new Dictionary<string, object?> { ["plan"] = "gold" });
// Back to a new anonymous user (the signed-in one is kept):
await BeeAppieSdk.Instance.SignOutAsync();
// In a coroutine:
BeeAppie.signIn(idToken)
BeeAppie.setUserProperties(mapOf("plan" to "gold"))
// Back to a new anonymous user (the signed-in one is kept):
BeeAppie.signOut()
try await BeeAppieSDK.signIn(idToken: idToken)
await BeeAppieSDK.setUserProperties(["plan": "gold"])
// Back to a new anonymous user (the signed-in one is kept):
try await BeeAppieSDK.signOut()
await BeeAppie.signIn(idToken);
await BeeAppie.setUserProperties({'plan': 'gold'});
// Back to a new anonymous user (the signed-in one is kept):
await BeeAppie.signOut();
await BeeAppie.signIn(idToken);
await BeeAppie.setUserProperties({ plan: 'gold' });
// Back to a new anonymous user (the signed-in one is kept):
await BeeAppie.signOut();
await BeeAppieSdk.SignInAsync(idToken);
await BeeAppieSdk.SetUserPropertiesAsync(new Dictionary<string, object?> { ["plan"] = "gold" });
// Back to a new anonymous player (the signed-in one is kept):
await BeeAppieSdk.SignOutAsync();
Or with the HTTP API
POST /v1/users/me/identify
{ "token": "<id token>" }
PUT /v1/users/me/properties
{ "properties": { "plan": "gold" } }
POST /v1/users/me/logout
With the usual headers: your app key, and the user's token.
- User properties target announcements and push notifications. Never store anything that identifies the person.
Ready when you are
BeeAppie opens to new apps soon. Leave your email and we will tell you when you can sign up.
Join the waitlist SDKs and downloads