An Android application for learning kana and kanji written for a class project.
- Dark and light theme
- Customizable font size
- Authentication
- Profile pictures
- TalkBack support
- Create an account at https://firebase.google.com/.
- Create a Firebase project.
- Go to Project settings → General → Android, and register a new app with package name:
com.example.gengo
. - Click "Download google-services.json" and save the file at
app/
. - Go to Console → Storage → Get started → Click "Start in test mode" → Click "Next" → Choose storage location and click "Done". Then, create an
images/
folder. - Go to Storage → Rules, and replace the default rules with the following:
rules_version = '2'; service firebase.storage { match /b/{bucket}/o { match /{allPaths=**} { allow read, write: if true; } } }
- Go to Firestore Database and click "Start collection". Enter
Users
as Collection ID and click "Next". Then, add a new document with ID e.g.foo.test@email.com
and ausername
field of typestring
and valueFoo
. - Go to Firestore Database → Rules, and replace the default rules with the following:
rules_version = '2'; service cloud.firestore { match /databases/{database}/documents { match /{document=**} { allow read, write: if true; } } }
- Add
Lessons
collection with e.g. the following documents:Hiragana
,Katakana
, andKanji - numbers
. Populate the documents with fields as shown in the pictures below. - Go to All products → Authentication → Get started → Sign-in method. Select "Email/Password", and then enable only "Email/Password", and click "Save".
- Build and run the application using e.g. Adroid Studio.