Skip to content

Настройка UUID при первом запуске #48

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
AnShok opened this issue Apr 8, 2025 · 0 comments
Open

Настройка UUID при первом запуске #48

AnShok opened this issue Apr 8, 2025 · 0 comments

Comments

@AnShok
Copy link
Owner

AnShok commented Apr 8, 2025

Сгенерировать уникальный UUID при первом запуске приложения

Сохранять его в SharedPreferences или DataStore

Использовать как идентификатор пользователя:

  • для Telegram-бота

  • аналитики

  • потенциальных внешних систем

Реализация:

  • val uuid = UUID.randomUUID().toString() (однократно)

  • Ключ user_uuid

  • Метод getOrCreateUUID()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant