mirror of
https://github.com/kalarina-bit/Matewave.git
synced 2026-11-22 08:06:09 +00:00
Adds the full Android source tree with unit tests, fastlane store metadata and the Gradle wrapper. The archive shipped without gradle-wrapper.jar, so the official Gradle 9.7.1 wrapper jar is included to make ./gradlew work from a fresh clone. .gitignore now also excludes build output and keystores. README gains build instructions and an updated structure tree. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015g6ECVSKcBG8CJPrqC3G5o
24 lines
721 B
Kotlin
24 lines
721 B
Kotlin
package cc.skysparkle.matewave
|
|
|
|
import android.app.Application
|
|
import cc.skysparkle.matewave.data.FriendsStore
|
|
import cc.skysparkle.matewave.data.GameSaveStore
|
|
import cc.skysparkle.matewave.data.ProfileStore
|
|
import cc.skysparkle.matewave.settings.Haptics
|
|
import cc.skysparkle.matewave.stats.Stats
|
|
|
|
/**
|
|
* Sets up the stores once per process, before any screen or the background presence service
|
|
* runs: the service can be restarted by the system without the activity.
|
|
*/
|
|
class MatewaveApp : Application() {
|
|
override fun onCreate() {
|
|
super.onCreate()
|
|
ProfileStore.init(this)
|
|
FriendsStore.init(this)
|
|
Stats.init(this)
|
|
GameSaveStore.init(this)
|
|
Haptics.init(this)
|
|
}
|
|
}
|