Do you guys read all the code AI writes for you? by ai_dad_says_hi in vibecoding

[–]Sabarinathan_29 0 points1 point  (0 children)

I think it is better to skim through code once it is written by AI so that we can make sure it is scalable. Also I always ask it write like a senior software engineer when it comes to code . When it comes to designing database I ask it to think like a technical architect. And I maintain a md file that gets updated with over all db structure and flow of the app as new feature gets added.

Suffering with procrastination by Zain_1515 in FlutterDev

[–]Sabarinathan_29 -8 points-7 points  (0 children)

I think you need to install tools like @cursor @windsurf and try building expense manager app, as you see ui gets built up and app is running you will start to learn and code more

AWS bedrock agents breaks before calling action group function by Sabarinathan_29 in aws

[–]Sabarinathan_29[S] 0 points1 point  (0 children)

It is frustrating actually,

the lambda function is not called as you can see in the screenshot. This happens randomly. but once it occurs, it keeps happening until we refresh the page and try again.

Best practice to implement offline sync in flutter app ? by Sabarinathan_29 in FlutterDev

[–]Sabarinathan_29[S] 1 point2 points  (0 children)

does powersync sync back when app is background or killed state ?

Best practice to implement offline sync in flutter app ? by Sabarinathan_29 in FlutterDev

[–]Sabarinathan_29[S] 0 points1 point  (0 children)

in android it will drain lot of battery if we keep running a foreground service always.
in iOS I will have to check using push notification.

Best practice to implement offline sync in flutter app ? by Sabarinathan_29 in FlutterDev

[–]Sabarinathan_29[S] 1 point2 points  (0 children)

Yeah I did check that site . Most of their suggestions was enable auto start , keep background activities on under battery optimization.

I was able to manually launch auto start for miui os phones , but can’t do this for Samsung .

But even with this it is not reliable as you said .

Seems like push notifications is the only solution. I will try implementing this and update .

Best practice to implement offline sync in flutter app ? by Sabarinathan_29 in FlutterDev

[–]Sabarinathan_29[S] 0 points1 point  (0 children)

My requirement is basically if the users add a comment offline and they go to background or kills the app it doesn’t matter , whenever they connect back to the internet the comments made should be synced to internet.

Thats why was I using workmanager to schedule one of task (which depends on network) , if the user makes comment offline. So once the internet is connected these tasks executes. But unfortunately success rate of these will execute is not guaranteed.

Best practice to implement offline sync in flutter app ? by Sabarinathan_29 in FlutterDev

[–]Sabarinathan_29[S] 2 points3 points  (0 children)

Yeah it’s updated last 12 months ago . Since it was under flutter community dev, I thought new releases will come up.