Fresh history cut from cynarAI/evoo antigravity-handoff/project-timeline (Voice First + project timeline). Brand docs/titles as evOo; keep @rakazo/* packages as tech debt. Excludes node_modules, caches, secrets, voice blobs.
17 lines
381 B
TypeScript
17 lines
381 B
TypeScript
import * as SecureStore from "expo-secure-store";
|
|
|
|
const LAST_BOT_KEY = "rakazo.last_bot_id";
|
|
|
|
export async function saveLastBotId(botId: string) {
|
|
if (!botId.trim()) return;
|
|
await SecureStore.setItemAsync(LAST_BOT_KEY, botId);
|
|
}
|
|
|
|
export async function loadLastBotId() {
|
|
try {
|
|
return (await SecureStore.getItemAsync(LAST_BOT_KEY)) ?? "";
|
|
} catch {
|
|
return "";
|
|
}
|
|
}
|