Financier Forums

Financier App => Other => Topic started by: asromzek on July 04, 2019, 03:47:21 PM

Title: Mobile App Beta 2.0.0-beta.3 (Syncing Enabled)
Post by: asromzek on July 04, 2019, 03:47:21 PM
Disclaimer: Login and syncing capabilities have been re-enabled with v2.0.0-beta.3. Read the following thoroughly before logging in and testing.

The beta app has reached the stage where it is likely stable enough to test against production budgets. Earlier this week I hot-wired a special version to work with my own budget for a few days, and have not encountered any show stopping bugs.

Changes/Fixes

Avoiding Database Pollution of Deleted Budgets
If you intend to test and then delete temporary budgets, it is important to understand one significant detail about how the CouchDB/PouchDB database syncing works: any data that is deleted is never truly removed from the database. The data is simply flagged as deleted so that any unsynced databases will also flag it as deleted when they sync up with the central Financier CouchDB database.

What this means is that if you create a bunch of test budgets that are synced to the main Financier CouchDB database and then deleted, all of that data will live forever and will be included when initially syncing a new device. This can drastically slow down initial syncing, and it is also a major concern for the mobile app if you are using Safari on iOS since the database has 50MB limit. I managed to exceed this limit during the early days of mobile app development since I was creating/deleting synced budgets constantly using my personal account. I did not realized that my database would eventually become polluted with stale data that cannot be removed, and had to bug @Alex to manually fix my database. I would not recommend this due to the number of virtual eye rolls that were received throughout the process.

Offline Testing
If you would like to test the app without affecting your synced budget(s), it is recommended to log out using the Logout & Clear Local Data menu to avoid having temporary data pollute your synced database.

You can also using Incognito/Private browsing mode without logging in to make sure that any budget data generated is truly temporary.

I recommend offline testing of the beta mobile app if you only want to see how things look and feel compared to the old version, or if you are not brave enough to sync your budget(s) with the beta app.

Online/Synced Testing
If you would like to test the full syncing capability of the beta mobile app using actual production budget(s), I highly recommend backing up your budget(s) using the main Financier app in the rare event that the beta mobile app corrupts data due to an unexpected bug. You can find the Backup Budget menu by clicking the gear icon next to the Add Account button in the main Financier app.

It is also recommended to clear any temporary budget data using the Clear Local Data menu before logging in. Otherwise, any temporary budget data that you have been testing with will be synced to your database causing data pollution.

If you are certain that your local database is cleared of any test data, you can log in to the beta mobile app, your production budget(s) will be synced, and all further changes will be synced to your main Financier account. Again, if you are not comfortable with this I would recommend sticking to offline testing. If you have logged in and synced your data and want to revert to offline testing, simply log out using the Logout & Clear Local Data menu to ensure that all of your production budget(s) data is completely removed from your device.

Links
Beta App: https://beta.fmobile.io
Current App: https://app.fmobile.io
Title: Re: Mobile App Beta 2.0.0-beta.3 (Syncing Enabled)
Post by: ottyacat on July 04, 2019, 05:39:19 PM
I haven't had a chance to try it out but I will give it a run tonight and provide some feedback, thanks for all your hard work!
Title: Re: Mobile App Beta 2.0.0-beta.3 (Syncing Enabled)
Post by: asromzek on July 04, 2019, 06:18:13 PM
Awesome. Iím looking for feedback on the UI/UX redesign, like things that look or act inconsistently, weird navigation issues, or features that were lost in the mix.
Title: Re: Mobile App Beta 2.0.0-beta.3 (Syncing Enabled)
Post by: ottyacat on July 05, 2019, 05:25:50 AM
Awesome. Iím looking for feedback on the UI/UX redesign, like things that look or act inconsistently, weird navigation issues, or features that were lost in the mix.

Hi Asromzek,

Here is some feedback as promised, I couldn't really give it a proper run because of point 1 below but hopefully some of this is helpful. Let me know if there is anything you want me to try etc.



Title: Re: Mobile App Beta 2.0.0-beta.3 (Syncing Enabled)
Post by: ottyacat on July 05, 2019, 06:32:22 AM
Ok I have an update, it appears to be the syncing that's causing the issue as soon as I logout close the browser and reopen it starts working ok probably as fast as V1 very nice to navigate, liking it so far. Then I enable sync and it all goes to crap again. So testing without sync:

The next issue is that on the budget screen there is nothing in there the summary at the top has info in it but it's all wrong like this month it says I'm over budgeted by 500,000 dollars... Dam lol. The section below is just empty no table or values. I also have a similar issue when entering transactions, I enter an amount and a payee but when it gets to the selecting a category and it's all empty nothing to choose from.

Account screen is fine so far.
Title: Re: Mobile App Beta 2.0.0-beta.3 (Syncing Enabled)
Post by: ottyacat on July 05, 2019, 07:08:08 AM
Ok a couple more things:

When deleting a transaction from the account screen, swipe left click delete, the slider closes but the transaction doesn't disappear. If you refresh it is gone or of you swipe left on the same transaction again it then vanishes.

This probably only effects me it's to do with what we have discussed previously, because I am on Android and have a large budget it takes some time.to initially open the budget (between 10-20 seconds) in V1 because there was an open button that changed state you knew it was working on it . In the new version because there is no change of state I find myself tapping it over and over again as you don't know of its opening or not until it finally does. Some sort of feedback would be nice.

Ok so a rocky start at least for Android but hey that's what betas are for... That being said I do love it and already don't want to switch back to V1 great job again appreciate all your hard work and it's exciting to see some of your ideas for the future.
Title: Re: Mobile App Beta 2.0.0-beta.3 (Syncing Enabled)
Post by: asromzek on July 05, 2019, 09:05:41 AM
Thanks for the disappointing feedback, @ottyacat! ;)

I know there were some reports a while ago that people were having issues with the v1 mobile app on certain Android/Chrome devices. Unfortunately, I donít have one in my possession to test with, but I should get one soon. (I know, I have been saying that for over a year)

For reference, all development and debugging is currently being done with Chrome on a Windows 10 PC which simulates a mobile layout, and then the app is being built/pushed to a test server to see how the app runs on an iPhone 6s. My budget contains just under 3 years of data.

I am very curious why the beta app would perform so poorly compared to the older app considering that the majority of the changes were mostly cosmetic. In fact, I would expect the app to work smoother due to quite a few weird layout issues that were fixed. The animations were a bit of a gamble, so I was expecting a little turbulence there. The underlying budget structure and syncing code has remained largely the same, so that also should not have a significant effect on performance.

So, with all of that said and after reading your feedback again I have a few steps to suggest for troubleshooting since I have a hunch that the initial sync may be bogging down your phone.

As for the touch creating a text selection, I think I have a fix for that and need to apply it site wide.
Title: Re: Mobile App Beta 2.0.0-beta.3 (Syncing Enabled)
Post by: ottyacat on July 05, 2019, 06:11:27 PM
No problems I'll try what you suggested later on today I've also got a 1yo Samsung Galaxy Edge in my possession as I'm on 24 hour tech support for work this week  :( I'll give it a run on that too. And if I can prise my wife's Pixel 2 out of her hands for more than 15 minutes... I'll give it a run on that too both those phones were top of the line about 12 months ago.
Title: Re: Mobile App Beta 2.0.0-beta.3 (Syncing Enabled)
Post by: ottyacat on July 05, 2019, 08:27:38 PM
Ok update, I have tried on Google Chrome on my desktop PC and it's doing pretty much the same thing only the chrome tab actually crashes after a few mins. It's not a happy camper with my budget, I don't think it's completing the sync as the empty budget I created on the main app won't appear either. V1 works fine on both my PC and phones. I am not getting any errors in the Dev console but I am seeing a script abort an XRH call after about 30 seconds and then it crashes the whole Chrome tab. Would you like me to send you a copy of my budget again and some screenshots? Do you have the same email
Title: Re: Mobile App Beta 2.0.0-beta.3 (Syncing Enabled)
Post by: asromzek on July 05, 2019, 08:29:54 PM
Sure, you can send it to my username at gmail. I can test it out and ensure that all copies are deleted.

Wait, did we do that before?
Title: Re: Mobile App Beta 2.0.0-beta.3 (Syncing Enabled)
Post by: ottyacat on July 05, 2019, 11:29:34 PM
Wait, did we do that before?

Yep, you were diagnosing the 20 second budget open time on Andriod for me, you figured out that Andriod didn't use hardware acceleration for javascript calculations or something like that.

I have emailed you a new copy.

Let me know if there is anything I can do to assist.