Android screen stays empty after register #40

Closed
opened 2020-03-13 10:37:19 +00:00 by dofl · 10 comments

Using an Android OnePlus 6 phone with Android 10.
Installed the app-main-release.apk from 03/01/2020 10:13:24 PM
Vikunja API docker is running on http://192.168.1.3:3456 and reachable by browser

Opened the Android Vikunja application. Registred a new account with the following data:

Server address: http://192.168.1.3:3456
Username: test
Email: ohnonono@dofl.nl
Password: test
Repeat Password: test

After that the application does not seem to load any further. I've made sure the server logged everything from the start of the docker followed by the registration of the account

==> database.log <==
[xorm] [info]  2020/03/13 10:36:00.741966 [SQL] SELECT count(*) FROM `migration` WHERE `id` IN (?) []interface {}{"20190718200716"}
[xorm] [info]  2020/03/13 10:36:00.742064 [SQL] SELECT count(*) FROM `migration` WHERE `id` IN (?) []interface {}{"20190818210133"}
[xorm] [info]  2020/03/13 10:36:00.742183 [SQL] SELECT count(*) FROM `migration` WHERE `id` IN (?) []interface {}{"20190920185205"}
[xorm] [info]  2020/03/13 10:36:00.742288 [SQL] SELECT count(*) FROM `migration` WHERE `id` IN (?) []interface {}{"20190922205826"}
[xorm] [info]  2020/03/13 10:36:00.742388 [SQL] SELECT count(*) FROM `migration` WHERE `id` IN (?) []interface {}{"20191008194238"}
[xorm] [info]  2020/03/13 10:36:00.742487 [SQL] SELECT count(*) FROM `migration` WHERE `id` IN (?) []interface {}{"20191010131430"}
[xorm] [info]  2020/03/13 10:36:00.742586 [SQL] SELECT count(*) FROM `migration` WHERE `id` IN (?) []interface {}{"20191207204427"}
[xorm] [info]  2020/03/13 10:36:00.742689 [SQL] SELECT count(*) FROM `migration` WHERE `id` IN (?) []interface {}{"20191207220736"}
[xorm] [info]  2020/03/13 10:36:00.742801 [SQL] SELECT count(*) FROM `migration` WHERE `id` IN (?) []interface {}{"20200120201756"}
[xorm] [info]  2020/03/13 10:36:00.742900 [SQL] SELECT count(*) FROM `migration` WHERE `id` IN (?) []interface {}{"20200219183248"}

==> echo.log <==
⇨ http server started on [::]:3456

==> http.log <==

==> standard.log <==
2020-03-13T10:36:00.742980433Z: INFO	▶ migration/Migrate 001 [Ran all migrations successfully.]
2020-03-13T10:36:00.743178466Z: INFO	▶ cmd/func1 002 Vikunja version 0.11+5-4472020ee9, built at Mon, 09 Mar 2020 23:45:50 +0000

==> database.log <==
[xorm] [info]  2020/03/13 10:36:14.684224 [SQL] SELECT `id`, `username`, `password`, `email`, `is_active`, `password_reset_token`, `email_confirm_token`, `created`, `updated` FROM `users` WHERE `username`=? LIMIT 1 []interface {}{"test"}
[xorm] [info]  2020/03/13 10:36:14.684730 [SQL] SELECT `id`, `username`, `password`, `email`, `is_active`, `password_reset_token`, `email_confirm_token`, `created`, `updated` FROM `users` WHERE `email`=? LIMIT 1 []interface {}{"ohnonono@dofl.nl"}
[xorm] [info]  2020/03/13 10:36:14.892046 [SQL] INSERT INTO `users` (`username`,`password`,`email`,`is_active`,`password_reset_token`,`email_confirm_token`,`created`,`updated`) VALUES (?, ?, ?, ?, ?, ?, ?, ?) []interface {}{"test", "$2a$11$EYxrRY7NBvXzrTOXy5JwRemHTLOGclK9n/f.LAumDIG5G/qtFx0/G", "ohnonono@dofl.nl", true, "", "", 1584095774, 1584095774}
[xorm] [info]  2020/03/13 10:36:14.895015 [SQL] SELECT `id`, `username`, `password`, `email`, `is_active`, `password_reset_token`, `email_confirm_token`, `created`, `updated` FROM `users` WHERE `id`=? AND `username`=? AND `password`=? AND `email`=? AND `created`=? AND `updated`=? LIMIT 1 []interface {}{2, "test", "$2a$11$EYxrRY7NBvXzrTOXy5JwRemHTLOGclK9n/f.LAumDIG5G/qtFx0/G", "ohnonono@dofl.nl", 1584095774, 1584095774}
[xorm] [info]  2020/03/13 10:36:14.895585 [SQL] SELECT `id`, `username`, `password`, `email`, `is_active`, `password_reset_token`, `email_confirm_token`, `created`, `updated` FROM `users` WHERE `id`=? LIMIT 1 []interface {}{2}
[xorm] [info]  2020/03/13 10:36:14.896051 [SQL] INSERT INTO `namespaces` (`name`,`description`,`owner_id`,`created`,`updated`) VALUES (?, ?, ?, ?, ?) []interface {}{"test", "test's namespace.", 2, 1584095774, 1584095774}

==> http.log <==
2020-03-13T10:36:14.898263546Z: WEB 	▶ 172.17.0.1  POST 200 /api/v1/register 215.332727ms - Dart/2.7 (dart:io)

==> database.log <==
[xorm] [info]  2020/03/13 10:36:15.008937 [SQL] SELECT `id`, `username`, `password`, `email`, `is_active`, `password_reset_token`, `email_confirm_token`, `created`, `updated` FROM `users` WHERE `username`=? LIMIT 1 []interface {}{"test"}

==> http.log <==
2020-03-13T10:36:15.215718641Z: WEB 	▶ 172.17.0.1  POST 200 /api/v1/login 207.569784ms - Dart/2.7 (dart:io)

==> database.log <==
[xorm] [info]  2020/03/13 10:36:15.296423 [SQL] SELECT `id`, `username`, `password`, `email`, `is_active`, `password_reset_token`, `email_confirm_token`, `created`, `updated` FROM `users` WHERE `id`=? LIMIT 1 []interface {}{2}

==> http.log <==
2020-03-13T10:36:15.29700683Z: WEB 	▶ 172.17.0.1  GET 200 /api/v1/user 825.774µs - Dart/2.7 (dart:io)

==> database.log <==
[xorm] [info]  2020/03/13 10:36:15.378118 [SQL] SELECT namespaces.* FROM `namespaces` LEFT JOIN team_namespaces ON namespaces.id = team_namespaces.namespace_id LEFT JOIN team_members ON team_members.team_id = team_namespaces.team_id LEFT JOIN users_namespace ON users_namespace.namespace_id = namespaces.id WHERE (((team_members.user_id = ?)) OR (namespaces.owner_id = ?) OR (users_namespace.user_id = ?)) AND (namespaces.name LIKE ?) GROUP BY namespaces.id LIMIT 50 []interface {}{2, 2, 2, "%%"}
[xorm] [info]  2020/03/13 10:36:15.378953 [SQL] SELECT users.* FROM `namespaces` LEFT JOIN team_namespaces ON namespaces.id = team_namespaces.namespace_id LEFT JOIN team_members ON team_members.team_id = team_namespaces.team_id LEFT JOIN users_namespace ON users_namespace.namespace_id = namespaces.id INNER JOIN users ON users.id = namespaces.owner_id WHERE (((team_members.user_id = ?)) OR (namespaces.owner_id = ?) OR (users_namespace.user_id = ?)) GROUP BY users.id []interface {}{2, 2, 2}
[xorm] [info]  2020/03/13 10:36:15.379504 [SQL] SELECT `id`, `title`, `description`, `identifier`, `owner_id`, `namespace_id`, `created`, `updated` FROM `list` WHERE `namespace_id` IN (?,?) []interface {}{-1, 2}
[xorm] [info]  2020/03/13 10:36:15.379926 [SQL] SELECT l.* FROM `list` AS `l` LEFT JOIN `team_list` AS `tl` ON l.id = tl.list_id LEFT JOIN `team_members` AS `tm` ON tm.team_id = tl.team_id LEFT JOIN `users_list` AS `ul` ON ul.list_id = l.id WHERE (((tm.user_id = ?)) OR (ul.user_id = ?)) GROUP BY l.id []interface {}{2, 2}
[xorm] [info]  2020/03/13 10:36:15.380262 [SQL] SELECT `id`, `username`, `password`, `email`, `is_active`, `password_reset_token`, `email_confirm_token`, `created`, `updated` FROM `users` WHERE 0=1
[xorm] [info]  2020/03/13 10:36:15.380512 [SQL] SELECT count(*) FROM `namespaces` LEFT JOIN team_namespaces ON namespaces.id = team_namespaces.namespace_id LEFT JOIN team_members ON team_members.team_id = team_namespaces.team_id LEFT JOIN users_namespace ON users_namespace.namespace_id = namespaces.id WHERE (((team_members.user_id = ?)) OR (namespaces.owner_id = ?) OR (users_namespace.user_id = ?)) AND (namespaces.name LIKE ?) GROUP BY namespaces.id []interface {}{2, 2, 2, "%%"}

==> http.log <==
2020-03-13T10:36:15.381146672Z: WEB 	▶ 172.17.0.1  GET 200 /api/v1/namespaces 3.386895ms - Dart/2.7 (dart:io)


Using an Android OnePlus 6 phone with Android 10. Installed the app-main-release.apk from 03/01/2020 10:13:24 PM Vikunja API docker is running on http://192.168.1.3:3456 and reachable by browser Opened the Android Vikunja application. Registred a new account with the following data: ``` Server address: http://192.168.1.3:3456 Username: test Email: ohnonono@dofl.nl Password: test Repeat Password: test ``` After that the application does not seem to load any further. I've made sure the server logged everything from the start of the docker followed by the registration of the account ``` ==> database.log <== [xorm] [info] 2020/03/13 10:36:00.741966 [SQL] SELECT count(*) FROM `migration` WHERE `id` IN (?) []interface {}{"20190718200716"} [xorm] [info] 2020/03/13 10:36:00.742064 [SQL] SELECT count(*) FROM `migration` WHERE `id` IN (?) []interface {}{"20190818210133"} [xorm] [info] 2020/03/13 10:36:00.742183 [SQL] SELECT count(*) FROM `migration` WHERE `id` IN (?) []interface {}{"20190920185205"} [xorm] [info] 2020/03/13 10:36:00.742288 [SQL] SELECT count(*) FROM `migration` WHERE `id` IN (?) []interface {}{"20190922205826"} [xorm] [info] 2020/03/13 10:36:00.742388 [SQL] SELECT count(*) FROM `migration` WHERE `id` IN (?) []interface {}{"20191008194238"} [xorm] [info] 2020/03/13 10:36:00.742487 [SQL] SELECT count(*) FROM `migration` WHERE `id` IN (?) []interface {}{"20191010131430"} [xorm] [info] 2020/03/13 10:36:00.742586 [SQL] SELECT count(*) FROM `migration` WHERE `id` IN (?) []interface {}{"20191207204427"} [xorm] [info] 2020/03/13 10:36:00.742689 [SQL] SELECT count(*) FROM `migration` WHERE `id` IN (?) []interface {}{"20191207220736"} [xorm] [info] 2020/03/13 10:36:00.742801 [SQL] SELECT count(*) FROM `migration` WHERE `id` IN (?) []interface {}{"20200120201756"} [xorm] [info] 2020/03/13 10:36:00.742900 [SQL] SELECT count(*) FROM `migration` WHERE `id` IN (?) []interface {}{"20200219183248"} ==> echo.log <== ⇨ http server started on [::]:3456 ==> http.log <== ==> standard.log <== 2020-03-13T10:36:00.742980433Z: INFO ▶ migration/Migrate 001 [Ran all migrations successfully.] 2020-03-13T10:36:00.743178466Z: INFO ▶ cmd/func1 002 Vikunja version 0.11+5-4472020ee9, built at Mon, 09 Mar 2020 23:45:50 +0000 ==> database.log <== [xorm] [info] 2020/03/13 10:36:14.684224 [SQL] SELECT `id`, `username`, `password`, `email`, `is_active`, `password_reset_token`, `email_confirm_token`, `created`, `updated` FROM `users` WHERE `username`=? LIMIT 1 []interface {}{"test"} [xorm] [info] 2020/03/13 10:36:14.684730 [SQL] SELECT `id`, `username`, `password`, `email`, `is_active`, `password_reset_token`, `email_confirm_token`, `created`, `updated` FROM `users` WHERE `email`=? LIMIT 1 []interface {}{"ohnonono@dofl.nl"} [xorm] [info] 2020/03/13 10:36:14.892046 [SQL] INSERT INTO `users` (`username`,`password`,`email`,`is_active`,`password_reset_token`,`email_confirm_token`,`created`,`updated`) VALUES (?, ?, ?, ?, ?, ?, ?, ?) []interface {}{"test", "$2a$11$EYxrRY7NBvXzrTOXy5JwRemHTLOGclK9n/f.LAumDIG5G/qtFx0/G", "ohnonono@dofl.nl", true, "", "", 1584095774, 1584095774} [xorm] [info] 2020/03/13 10:36:14.895015 [SQL] SELECT `id`, `username`, `password`, `email`, `is_active`, `password_reset_token`, `email_confirm_token`, `created`, `updated` FROM `users` WHERE `id`=? AND `username`=? AND `password`=? AND `email`=? AND `created`=? AND `updated`=? LIMIT 1 []interface {}{2, "test", "$2a$11$EYxrRY7NBvXzrTOXy5JwRemHTLOGclK9n/f.LAumDIG5G/qtFx0/G", "ohnonono@dofl.nl", 1584095774, 1584095774} [xorm] [info] 2020/03/13 10:36:14.895585 [SQL] SELECT `id`, `username`, `password`, `email`, `is_active`, `password_reset_token`, `email_confirm_token`, `created`, `updated` FROM `users` WHERE `id`=? LIMIT 1 []interface {}{2} [xorm] [info] 2020/03/13 10:36:14.896051 [SQL] INSERT INTO `namespaces` (`name`,`description`,`owner_id`,`created`,`updated`) VALUES (?, ?, ?, ?, ?) []interface {}{"test", "test's namespace.", 2, 1584095774, 1584095774} ==> http.log <== 2020-03-13T10:36:14.898263546Z: WEB ▶ 172.17.0.1 POST 200 /api/v1/register 215.332727ms - Dart/2.7 (dart:io) ==> database.log <== [xorm] [info] 2020/03/13 10:36:15.008937 [SQL] SELECT `id`, `username`, `password`, `email`, `is_active`, `password_reset_token`, `email_confirm_token`, `created`, `updated` FROM `users` WHERE `username`=? LIMIT 1 []interface {}{"test"} ==> http.log <== 2020-03-13T10:36:15.215718641Z: WEB ▶ 172.17.0.1 POST 200 /api/v1/login 207.569784ms - Dart/2.7 (dart:io) ==> database.log <== [xorm] [info] 2020/03/13 10:36:15.296423 [SQL] SELECT `id`, `username`, `password`, `email`, `is_active`, `password_reset_token`, `email_confirm_token`, `created`, `updated` FROM `users` WHERE `id`=? LIMIT 1 []interface {}{2} ==> http.log <== 2020-03-13T10:36:15.29700683Z: WEB ▶ 172.17.0.1 GET 200 /api/v1/user 825.774µs - Dart/2.7 (dart:io) ==> database.log <== [xorm] [info] 2020/03/13 10:36:15.378118 [SQL] SELECT namespaces.* FROM `namespaces` LEFT JOIN team_namespaces ON namespaces.id = team_namespaces.namespace_id LEFT JOIN team_members ON team_members.team_id = team_namespaces.team_id LEFT JOIN users_namespace ON users_namespace.namespace_id = namespaces.id WHERE (((team_members.user_id = ?)) OR (namespaces.owner_id = ?) OR (users_namespace.user_id = ?)) AND (namespaces.name LIKE ?) GROUP BY namespaces.id LIMIT 50 []interface {}{2, 2, 2, "%%"} [xorm] [info] 2020/03/13 10:36:15.378953 [SQL] SELECT users.* FROM `namespaces` LEFT JOIN team_namespaces ON namespaces.id = team_namespaces.namespace_id LEFT JOIN team_members ON team_members.team_id = team_namespaces.team_id LEFT JOIN users_namespace ON users_namespace.namespace_id = namespaces.id INNER JOIN users ON users.id = namespaces.owner_id WHERE (((team_members.user_id = ?)) OR (namespaces.owner_id = ?) OR (users_namespace.user_id = ?)) GROUP BY users.id []interface {}{2, 2, 2} [xorm] [info] 2020/03/13 10:36:15.379504 [SQL] SELECT `id`, `title`, `description`, `identifier`, `owner_id`, `namespace_id`, `created`, `updated` FROM `list` WHERE `namespace_id` IN (?,?) []interface {}{-1, 2} [xorm] [info] 2020/03/13 10:36:15.379926 [SQL] SELECT l.* FROM `list` AS `l` LEFT JOIN `team_list` AS `tl` ON l.id = tl.list_id LEFT JOIN `team_members` AS `tm` ON tm.team_id = tl.team_id LEFT JOIN `users_list` AS `ul` ON ul.list_id = l.id WHERE (((tm.user_id = ?)) OR (ul.user_id = ?)) GROUP BY l.id []interface {}{2, 2} [xorm] [info] 2020/03/13 10:36:15.380262 [SQL] SELECT `id`, `username`, `password`, `email`, `is_active`, `password_reset_token`, `email_confirm_token`, `created`, `updated` FROM `users` WHERE 0=1 [xorm] [info] 2020/03/13 10:36:15.380512 [SQL] SELECT count(*) FROM `namespaces` LEFT JOIN team_namespaces ON namespaces.id = team_namespaces.namespace_id LEFT JOIN team_members ON team_members.team_id = team_namespaces.team_id LEFT JOIN users_namespace ON users_namespace.namespace_id = namespaces.id WHERE (((team_members.user_id = ?)) OR (namespaces.owner_id = ?) OR (users_namespace.user_id = ?)) AND (namespaces.name LIKE ?) GROUP BY namespaces.id []interface {}{2, 2, 2, "%%"} ==> http.log <== 2020-03-13T10:36:15.381146672Z: WEB ▶ 172.17.0.1 GET 200 /api/v1/namespaces 3.386895ms - Dart/2.7 (dart:io) ```
Owner

Could you send a screenshot?

However, the app is not really usable at the moment since there were breaking changes made to the api and I did not have the time yet to update everything.

Could you send a screenshot? However, the app is not really usable at the moment since there were breaking changes made to the api and I did not have the time yet to update everything.

same here:
after login via android-app the screen stays grey and nothing is happen

same here: after login via android-app the screen stays grey and nothing is happen
Owner

It'll take a bit for me to fix this because there are quite a few breaking changes to the api. I'll fix it when I find the time in the coming weeks and update here.

It'll take a bit for me to fix this because there are quite a few breaking changes to the api. I'll fix it when I find the time in the coming weeks and update here.
konrad added the
bug
label 2020-03-26 19:05:31 +00:00

Great. I appreciate your project. I know its hard work (for free).
It would be great if it is done before "wunderlist" will shut down ;-)

Great. I appreciate your project. I know its hard work (for free). It would be great if it is done before "wunderlist" will shut down ;-)
Owner

In the meantime, you could use the pwa. I use it daily and it works great for me so far.

What would be a reason for you to use the mobile app over the pwa?

In the meantime, you could use the pwa. I use it daily and it works great for me so far. What would be a reason for you to use the mobile app over the pwa?

Sorry, but what is "pwa" ?? :-)

Sorry, but what is "pwa" ?? :-)
Collaborator

A PWA (Progressive Web App) enables some native features for web applications like offline caching or having an app shell. You can add the vikunja PWA by clicking "Add to homescreen" in your browser on your mobile device.

A PWA (Progressive Web App) enables some native features for web applications like offline caching or having an app shell. You can add the vikunja PWA by clicking "Add to homescreen" in your browser on your mobile device.
Owner

The vikunja frontend is the pwa.

The vikunja frontend is the pwa.

Ah ok.
I see.
I will give it a try. But for the waf (wife-acceptance-factor) the android-app would be quite better ;-)

Ah ok. I see. I will give it a try. But for the waf (wife-acceptance-factor) the android-app would be quite better ;-)
Owner

It should be fixed so I'm closing this. Feel free to reopen.

It should be fixed so I'm closing this. Feel free to reopen.
This repo is archived. You cannot comment on issues.
No Milestone
No Assignees
4 Participants
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: vikunja/app#40
No description provided.