JordyHers-org / Times-up-flutter

πŸ‘¨β€πŸ‘©β€πŸ‘§ 🚸 Parental Control App- For Android 🌟This Application use Native plugins to get local data such as Location and AppData to send it to the database. These information are saved in cache. In order to monitor the time spend on screen parent can then send messages and warn kids when it’s time to go to bed or do their homework. πŸ“±πŸŒŸπŸŒŸ
Apache License 2.0
122 stars 48 forks source link

Can't add children's device #250

Closed Elwag closed 2 months ago

Elwag commented 3 months ago

Describe the bug I can't add my child's device because after ~15 seconds it throws an error on the child's device: "LateInitializationError: Field'_token@1725...' has not been initialized."

To Reproduce Steps to reproduce the behavior:

  1. Setup an account
  2. Setup a parent's device, add a child
  3. Try to setup the cild's device with the name and given code

Expected behavior The child's device successfully registers and I can configure it.

Smartphone:

Screenshots Screenshot_20240811-172200_Time's Up

JordyHers commented 3 months ago

@Elwag I have a few questions.

1- Did you mke sure you configured a Parent device before the Child? 2- Did you use the same device to register both. 3- Did you have a valid internet connection? 4- Did you use the same Email/Google account on both devices 5- Did you try from the apk provided or did you run the app locally. If yes, can I see the logs?

JordyHers commented 2 months ago

Duplicate of #251 Please refer to this thread