first commit :D

This commit is contained in:
Stef-00012 2025-01-21 13:55:00 +01:00
parent 40b7eabefe
commit ed5c91435d
No known key found for this signature in database
GPG key ID: 28BE9A9E4EF0E6BF
41 changed files with 724 additions and 907 deletions

15
functions/database.ts Normal file
View file

@ -0,0 +1,15 @@
import * as SecureStore from "expo-secure-store";
export function set(key: string, value: string) {
SecureStore.setItem(key, value);
}
export function get(key: string) {
const result = SecureStore.getItem(key);
if (result) {
return result;
}
return null;
}