I see the original bug I posted above is fixed (in 2.15.2 or before), but the terminal has new bad behavior.
On long strings of output, it appears to not flush, and the output looks slightly corrupted. However, if I restart the app, the terminal data looks perfect. One additional problem is that restarting the Blynk app scrolls the terminal all the way to the top. It really should scroll to bottom on app restart.
My terminal window was working fantastic until recently, too. Worked marvelously until a week ago. Have seen all of the mentioned symptoms:
println’s don’t always appear as expected. An on/off button that writes to log doesn’t write the “on” press, but another press writes 2 lines, the “on” and “off” press. Other functions, like a door that opens and closes, doesn’t write the open but writes both lines when the door closes. A .flush happens after every println, anyway, so @wanek the workaround doesn’t help me much. Adding a .flush statement that fires often doesn’t help, either. All lines appear as expected if the app wasn’t running at the time, or if I kill the app and restart it.
Have seen duplicated lines, but the duplicates go away after restarting the app.
Scrolling is erratic. It definitely isn’t working as a true “terminal” window should, although it used to.
Switched from the table widget, which actually worked better for my purposes but fell victim to issues after the 100’th entry. Nobody seemed interested in correcting, so I switched to terminal widget, but now seems to be falling victim to similar issues.
EDIT: I haven’t tried the APK @BlynkAndroidDev put up --> lazy
Android 2.15.3, updated yesterday. Behavior still happening. Button press, nothing showing in the log. Press again, 2 lines appear. Also, button press, nothing showing in the log, but kill the app, restart, it shows there. Have restarted phone, restarted device, etc…
Apk isn’t installing (says “X App not installed” when running apk, unknown sources enabled), I’m assuming it’s merely Blynk with a logger built into it, not a fix, anyway. My project is quite complex and refined at this point - I shudder at the thought of uninstalling Blynk to install a dev version and losing my project. I will try to build a simple project and sketch to see if I can reproduce. For what it’s worth, I have tried deleting the terminal widget and then adding it back in, no difference… Will work on a simple project, post results…
I shuddered too but that’s exactly what I did and all was fine. I did also move Blynk from the SD card back to internal storage and it seems to run much smoother. Maybe it’s some of the cache that was cleared during the app removal.
@psoro yep the old S3 and I received a new battery (approx $5) a few weeks ago so that’s at least 2 more years of use.
Our Samsung 10.1 TAB “died” about a week ago but after a few days I stripped it down and it’s as good as new now. I thought it might need a new battery but is was fine, don’t really know why it sprang back to life.
A couple of months ago I bought my first ever “Apple” only to find that the “modern” iPhone 4 isn’t supported by Blynk
Means I now have to learn to build my own Apple app’s to support the “4” for another 5 years.
My wife has a Samsung S6 that I use for testing now and again. I also use her old $40 Alcatel Android that’s still got a good few years left in her.