AquaMail Forum

English - Android => Development builds => Topic started by: Kostya Vasilyev on November 19, 2016, 01:12:02 am

Title: Version 1.7.0-12-dev - "work in progress", not in Google Play
Post by: Kostya Vasilyev on November 19, 2016, 01:12:02 am
https://www.aqua-mail.com/download/AquaMail-market-1.7.0-12-dev-6faf8727019e.apk

---

+ An easier way to swipe for commands in message lists: app settings -> swiping -> sticky icons.

+ Adding attachments (from other apps) on the compose screen has been redone. OneDrive works now.

+ Exchange push will detect when blocked by the server.

+ Settings -> look and feel -> "delete old cached attachments" (by elapsed time).

Translations:

We had to redo several of the old pre-existing translations from scratch (this includes German, Italian, Spanish, Portuguese, Chinese).

Unfortunately, we missed Polish, our fault, slipped through the cracks.

There will be a Polish translation again, but I've decided to post this build now and not wait for that.

Fixes:

The long standing "cannot update calendar event from an .ical invite, gets reset by Google calendar sync".

Inability to pick attachments from OneDrive.

Version numbers:

As you can see, the 1.6.4 - "dev" branch got renamed to 1.7.0.

The "-12" suffix is the "build number", this will increment as time goes on with every new build. The "-dev" lets you know that this is a "development" type build, not a "1.7.0 stable finished done officially released".

The junk at the end ("6faf8727019e" in this one) is a "hash" which makes it possible for us to find the exact source code from which this .apk was built, helps with tracking bugs / regressions / changes.

Overall, it's a more simple and more logical scheme.

---

+ Новый способ выбрать команду жестом в списках сообщений: настройки - жесты - выбор отдельным нажатием.

+ Новый процесс прикрепления вложений (на экране написания). Заработал выбор вложений из OneDrive.

+ Пуш почта для Exchange обнаруживает и уведомляет когда блокируется на сервере.

+ Настройки - интерфейс - удалять старые кешированные вложения (по времени).
Title: Re: Version 1.7.0-12-dev - "work in progress", not in Google Play
Post by: nica on November 19, 2016, 10:27:44 am


+ Settings -> look and feel -> "delete old cached attachments" (by elapsed time).
Thank you for this very useful feature.

How does it work? Just by interest: Executed once a day or on every launch of app.
Title: Re: Version 1.7.0-12-dev - "work in progress", not in Google Play
Post by: Finferlo on November 19, 2016, 03:12:41 pm
In my opinion, the Italian translation of this version is not better than the last.

"+ Exchange push will detect When blocked by the server."

what does it mean ?

For everything else, this software is perfect, there is no other email software to be able to compete with Aquamail.

Thanks.
Title: Re: Version 1.7.0-12-dev - "work in progress", not in Google Play
Post by: nica on November 19, 2016, 05:07:05 pm
Hi, I realized in this version, that AquaMail establishes a connection to Flurry Analytics (Yahoo).

Is this the first version, which uses Flurry or didn't I just noticed it in the past?
Title: Re: Version 1.7.0-12-dev - "work in progress", not in Google Play
Post by: Kostya Vasilyev on November 19, 2016, 06:21:12 pm
Re: I prefer the previous (historical) way of swiping - but the new one is optional so it's ok.

I do too, but some number of users have trouble with that pattern, and really need to be able to "release" and then "tap to trigger".

Re: In my opinion, the Italian translation of this version is not better than the last.

It may not be better, never said it was.

But that's not the reason.

All "original" translations were done by users, as voluntary contributions, before MobiSystems entered into the picture.

So I could not just "give" those translations to MobiSystems, because they were not "mine", were not created or owned be me or licensed to me.

And therefore, for some translations, those which were created by one person (each), I asked those persons if we could continue using their translation. A few did give their consent.

For translations which were a "group effort", i.e. done by more than one person, over time, also with changes suggested by others yet (say, over email) -- it was not possible to do that (I won't be sure that I'd asked everyone, every single person who contributed to a particular translation).

And therefore, those translations had to be redone from scratch.

Re: "+ Exchange push will detect When blocked by the server."

Exchange push does not work for a small number of users (about 3-5%) because it's blocked (turned off) on their corporate mail server.

Before, I had to investigate each case of "push not working" manually, by hand, checking server logs etc.

Now, the app "knows" when this happens (when push is blocked by the corporate mail server) and there is a message to inform the user.

Much easier for users and for me when "push not working for me".

Re: Is this the first version, which uses Flurry or didn't I just noticed it in the past?

Flurry is new.
Title: Re: Version 1.7.0-12-dev - "work in progress", not in Google Play
Post by: Kostya Vasilyev on November 19, 2016, 06:34:23 pm
Things I forgot to mention last night:


+ Android 7: now possible to turn off the "reply" icon in notifications: settings -> message notifications -> action buttons.

+ Android 7: multi-window support, the app automatically switches between two panel and single panel mode.

+ New window layout: settings -> look and feel -> enable "two panel UI" and set "portrait mode" below to "single panel, full screen".

---

Забыл упомянуть вчера:

+ Андроид 7: теперь можно отключить иконку "ответить" в уведомлениях: настройки - уведомления о сообщениях - кнопки действий.

+ Андроид 7: поддержка много-оконного режима, программа сама переключается между одной и двумя панелями информации.

+ Новая раскладка интерфейса: настройки - интерфейс - включить "две панели" и установить "режим в вертикальной" на "полный экран".
Title: Re: Version 1.7.0-12-dev - "work in progress", not in Google Play
Post by: Finferlo on November 19, 2016, 06:52:01 pm
Kostya, you are an extraordinary person, patient and kind. Your job could be great thanks to the collaboration of all but thanks to your great kindness politeness and respect. THANK YOU !!

Regarding the translation, I had already imagined what were the reasons, but I wanted to do only congratulate those who earlier had done an excellent job, and I hope that Mobisystems able to do the same.

"Exchange push does not work for a small number of users (about 3-5%) Because it's blocked (turned off) on Their corporate email server."

I am one of these 3-5% :-)


"Now, the app" knows "when this happens (When push is blocked by the corporate email server) and there is a message to inform the user."

In my case Aquamail does not know. In fact, my push is locked but I do not receive the warning. (STOPPED NOT TO BLAME FOR AQUAMAIL !!!!!!!! :-))

Thanks thanks thanks !!
Title: Re: Version 1.7.0-12-dev - "work in progress", not in Google Play
Post by: Kostya Vasilyev on November 19, 2016, 07:34:43 pm
Quote
Kostya, you are an extraordinary person, patient and kind. Your job could be great thanks to the collaboration of all but thanks to your great kindness politeness and respect. THANK YOU !!

Although "corporate" often goes with"asshole", it doesn't have to be :)

Quote
In my case Aquamail does not know. In fact, my push is locked but I do not receive the warning. (STOPPED NOT TO BLAME FOR AQUAMAIL !!!!!!!! :-))

It's actually not a "status bar" notification, I'm not sure if it should be that visible / annoying.

Please long press on the account -> options and folders -> account options.

The "enable push" should have a subtitle saying "Push mail for this account seems to be blocked on the server".

If it doesn't, please go into app settings -> debug -> very end, "EWS push device ID" and send to kmansoft [at] gmail, or post here. Tapping that "device ID" copies the value into the clipboard, enabling paste.
Title: Re: Version 1.7.0-12-dev - "work in progress", not in Google Play
Post by: bschelst on November 19, 2016, 08:01:25 pm
Aquamail updater is failing on this new Versioning :)
Title: Re: Version 1.7.0-12-dev - "work in progress", not in Google Play
Post by: Kostya Vasilyev on November 19, 2016, 08:04:08 pm
Re: Aquamail updater is failing on this new Versioning

We made an effort to preserve that, the "version file" looks good to me and the .apk is there.

Not sure what's wrong.

At what point does it fail?

Checking for new version? Downloading?

Or maybe showing the list of changes?

@pyler, are you around? :)
Title: Re: Version 1.7.0-12-dev - "work in progress", not in Google Play
Post by: Kostya Vasilyev on November 19, 2016, 08:14:05 pm
Quote
Re: Aquamail updater is failing on this new Versioning

We made an effort to preserve that, the "version file" looks good to me and the .apk is there.

Not sure what's wrong.

Can you try now please?
Title: Re: Version 1.7.0-12-dev - "work in progress", not in Google Play
Post by: Kostya Vasilyev on November 19, 2016, 09:17:26 pm
AquaMailUnlocker:

I made some changes, doesn't crash anymore.

Please run this one, until Pyler pulls the changes into his "official" version.

https://www.aqua-mail.com/download/AquaMailUpdater-debug.apk
Title: Re: Version 1.7.0-12-dev - "work in progress", not in Google Play
Post by: RavenSoft on November 20, 2016, 09:44:14 am
Is there anything to worry about with Yahoo Flurry being added?
Title: Re: Version 1.7.0-12-dev - "work in progress", not in Google Play
Post by: nica on November 20, 2016, 12:19:35 pm
Many apps uses Flurry Analytics. It might be the first change initiated by Mobisystems, I would guess - but I don't know. This bases on general privacy policy of Mobisystems, I suppose. I don't worry about it (though it could have been mentioned in changelog).

Other question:
+ Settings -> look and feel -> "delete old cached attachments" (by elapsed time).
How does it work? I set it yesterday to "3 days", but the folder still contains attachment files crated or changed 9 days before.

Is it executed every 3 days?
Or is it executed daily and removes files older than 3 days?
Or is it executed every time AquaMail was started?

Thanks for answer.
Title: Re: Version 1.7.0-12-dev - "work in progress", not in Google Play
Post by: Kostya Vasilyev on November 20, 2016, 04:32:51 pm
Quote
Is it executed every 3 days?
Or is it executed daily and removes files older than 3 days?
Or is it executed every time AquaMail was started?

It's part of the app's automatic, nightly, "database optimization" which runs around 3am.

You can also do it manually with Menu -> Compact the database.

Only "cached" (downloaded, not "saved") files are considered by this cleanup.

Any attachments "saved" (into Downloads directory for example) are under the user's control and the app won't touch them. Same as it's always been.
Title: Re: Version 1.7.0-12-dev - "work in progress", not in Google Play
Post by: nica on November 20, 2016, 07:33:16 pm
Quote
Is it executed every 3 days?
Or is it executed daily and removes files older than 3 days?
Or is it executed every time AquaMail was started?

It's part of the app's automatic, nightly, "database optimization" which runs around 3am.

You can also do it manually with Menu -> Compact the database.
Thank you. Tried also manually, AquaMail did some work, but nothing happened in folder
"/storage/emulated/0/Android/data/org.kman.AquaMail/files/parts"

There are still all files existing, changed/created up to 9 days ago. (Android 5.1.1, Samsung Tablet 10" Note 2014). Nothing removed.
Title: Re: Version 1.7.0-12-dev - "work in progress", not in Google Play
Post by: bschelst on November 20, 2016, 07:50:56 pm
Re: Aquamail updater is failing on this new Versioning

We made an effort to preserve that, the "version file" looks good to me and the .apk is there.

Not sure what's wrong.

At what point does it fail?

Checking for new version? Downloading?

Or maybe showing the list of changes?

@pyler, are you around? :)


It crashes when the application gets started,  so when reading the version.  You can see that he sees the new version,  shows the version,  and then it crashes .
Download isn't possible yet at that stage
Title: Re: Version 1.7.0-12-dev - "work in progress", not in Google Play
Post by: bschelst on November 20, 2016, 07:55:31 pm
AquaMailUnlocker:

I made some changes, doesn't crash anymore.

Please run this one, until Pyler pulls the changes into his "official" version.

https://www.aqua-mail.com/download/AquaMailUpdater-debug.apk



I  can confirm that this version is also working over here.
Title: Re: Version 1.7.0-12-dev - "work in progress", not in Google Play
Post by: Kostya Vasilyev on November 20, 2016, 07:59:53 pm
Quote
Thank you. Tried also manually, AquaMail did some work, but nothing happened in folder
"/storage/emulated/0/Android/data/org.kman.AquaMail/files/parts"

There are still all files existing, changed/created up to 9 days ago. (Android 5.1.1, Samsung Tablet 10" Note 2014). Nothing removed.

The new setting is off by default, did you actually set it to something (e.g.  "one week")?

Does the tablet have a real microSd and if so, is there a "folder for caching attachments" in AquaMail settings -> look and feel (just above the "delete old cached attachments")? Is it set to memory card?

Finally, do any of the attachments have "prev_" in their filenames?
Title: Re: Version 1.7.0-12-dev - "work in progress", not in Google Play
Post by: nica on November 21, 2016, 12:37:45 am
The new setting is off by default, did you actually set it to something (e.g.  "one week")?

Yes, as I wrote above, I set it to "3 days"

Quote
Does the tablet have a real microSd

No. No external SD

Quote
Finally, do any of the attachments have "prev_" in their filenames?

Again: No. All filenames start with "a1-"


This might be important:

Two weeks agao StR gave me a hint to delete those cache files via shell command, see this post:
http://www.aqua-mail.com/forum/index.php?topic=4904.msg29927#msg29927

This works on my S6 edge (Android 6.0.1), but it does NOT work on the tablet I mentioned above (Android 5.1.1). Don't know why.


Title: Re: Version 1.7.0-12-dev - "work in progress", not in Google Play
Post by: Kostya Vasilyev on November 21, 2016, 12:40:46 am
Re: Again: No. All filenames start with "a1-"

They would, but is there perhaps a "prev_" in the middle?

Re: does NOT work on the tablet I mentioned above

Can you try "ls -ltc" and "ls -lt" in the directory? Or check the "last modified time" on those files some other way?

Title: Re: Version 1.7.0-12-dev - "work in progress", not in Google Play
Post by: nica on November 21, 2016, 12:54:29 am
No "-prev" in the middle. See attached screenshot.

Last time changed is displayed by Solid Explorer.
Title: Re: Version 1.7.0-12-dev - "work in progress", not in Google Play
Post by: Kostya Vasilyev on November 21, 2016, 01:09:49 am
It's the files from November 11?

Looks like those are "embedded images" not attachments.

Embedded images won't be deleted (by this new setting) so they don't have to be downloaded next time you open a message.

Only attachments (will be deleted). And embedded images are typically much smaller.
Title: Re: Version 1.7.0-12-dev - "work in progress", not in Google Play
Post by: nica on November 21, 2016, 01:28:14 am
Ok. And what about the file "a1-f6-m8959-2.pdf" in the right column from 16th november?

(Usually I don't get image attachments. Most of then are doc, pdf, odt etc).
Title: Re: Version 1.7.0-12-dev - "work in progress", not in Google Play
Post by: Kostya Vasilyev on November 21, 2016, 01:30:19 am
Yes that one should have been deleted, not sure why it wasn't.

The best thing at some point is to make a debug log and do "compact the db" and then send me the log file.

kmansoft [at] gmail or support [at] aqua-mail

Title: Re: Version 1.7.0-12-dev - "work in progress", not in Google Play
Post by: nica on November 21, 2016, 01:46:54 am
Log file was sent to the first mentioned address.
Title: Re: Version 1.7.0-12-dev - "work in progress", not in Google Play
Post by: Kostya Vasilyev on November 21, 2016, 01:48:37 am
Got it. Thanks.

Ah, that's another special case. This belongs to the Sent folder.

No expiration (will be deleted when the messages are), just in case, to be safe (in case these are important files and they didn't upload to the server's Sent folder so can't be downloaded).
Title: Re: Version 1.7.0-12-dev - "work in progress", not in Google Play
Post by: nica on November 21, 2016, 01:52:26 am
Ok, thanks for looking in it and reply.

Will keep an eye on this option next days
Title: Re: Version 1.7.0-12-dev - "work in progress", not in Google Play
Post by: Kostya Vasilyev on November 21, 2016, 01:58:44 am
You can send yourself a few files via web mail so they end up in incoming type folders, tap them to view (don't do three dots -> Save), note the names, and then check in 3-4 days..
Title: Re: Version 1.7.0-12-dev - "work in progress", not in Google Play
Post by: p50kombi on November 21, 2016, 05:03:44 pm
Hi, I am new to Aquamail after having shifted around quite a few email apps.
I'm always interested in testing latest builds and trying to contribute as much as I can.
All previous apps I've used have had no issues showing unread counter badges on my HTC 10 using Sense.
Is this something I can switch on somewhere as I can't seem to find it anywhere.

Thanks, J
Title: Re: Version 1.7.0-12-dev - "work in progress", not in Google Play
Post by: p50kombi on November 21, 2016, 05:56:05 pm
Hi, I am new to Aquamail after having shifted around quite a few email apps.
I'm always interested in testing latest builds and trying to contribute as much as I can.
All previous apps I've used have had no issues showing unread counter badges on my HTC 10 using Sense.
Is this something I can switch on somewhere as I can't seem to find it anywhere.

Thanks, J

In addition, have you considered releasing this via playstore as an alpha built? I know there's a state before beta which you can let people into.
Not sure if you want to keep it on this forum though as that would probably be easier for you to track comments :)
Title: Re: Version 1.7.0-12-dev - "work in progress", not in Google Play
Post by: Kostya Vasilyev on November 21, 2016, 10:32:29 pm
Re: All previous apps I've used have had no issues showing unread counter badges on my HTC 10 using Sense.

HTC does not document unread badges. They document all kinds of useless crap, but not this.

I have in the past tried whatever unofficial "HTC unread count badge" code was floating around on the Internet, and it had strange home screen repaint issues on the HTC devices I had back then.

Re: alpha in Google Play

No, not really. For me, the existing process (internal -> forum -> Play beta -> Play release) makes more sense.
Title: Re: Version 1.7.0-12-dev - "work in progress", not in Google Play
Post by: Jeff on November 22, 2016, 02:14:13 am
FWIW  I am using Nova Launcher with Tesla Unread, on MM 6.0.1 on two different devices, a Note 4 (custom TouchWiz ROM) and a Nexus 6P (PureNexus).  On both of these devices my unread badge works properly with AquaMail.

Title: Re: Version 1.7.0-12-dev - "work in progress", not in Google Play
Post by: p50kombi on November 22, 2016, 10:41:36 am
I wonder how other apps do it.
Got so many text and mail apps that work properly.
Title: Re: Version 1.7.0-12-dev - "work in progress", not in Google Play
Post by: p50kombi on November 22, 2016, 10:44:27 am
Have you tried this one?
https://github.com/leolin310148/ShortcutBadger
Title: Re: Version 1.7.0-12-dev - "work in progress", not in Google Play
Post by: Kostya Vasilyev on November 22, 2016, 10:13:40 pm
Re: Nova Launcher with Tesla Unread

Yes, the developer of Nova has documented how apps can "talk to" this launcher, it's actually in Tesla Unread.

Re: Have you tried this one? https://github.com/leolin310148/ShortcutBadger

Yep, that's the one.
Title: Re: Version 1.7.0-12-dev - "work in progress", not in Google Play
Post by: p50kombi on November 23, 2016, 12:41:44 am
well, it says it works on the 10 :) as he tested it on there
Sure you can't sneak it in for me ;)
Title: Re: Version 1.7.0-12-dev - "work in progress", not in Google Play
Post by: Kostya Vasilyev on November 23, 2016, 12:46:32 am
Quote
well, it says it works on the 10 :) as he tested it on there
Sure you can't sneak it in for me ;)

No, I can not "sneak this in for you", because:

We already it "doesn't work" on the 9 -- even though to someone without "inside knowledge" of HTC models and their code, a 9 is no different from a 10 or an 8, same Android versions even it seems.

And now let's imagine that on the 9, it just "doesn't work", but on some other phone -- 8 1/2 or 11 or 10 on Verizon or 9 on AT&T or the Korean version of the 8 -- it causes something bad? Launcher flashing a repaint (like it did on my HTC One Max), or a crash?

Basically with the "does not work on the 9" I'm even more uncomfortable about putting this into a prod version.

And look at Xiaomi and Lenovo support in that library -- first added, then disabled as "not working". Not good, not ready for prod use.

Can phone manufacturers finally get it together and start documenting this stuff?

Not "our new exciting SDK for working with the laser focus" or "our wonderful new feature, the curved screen and you can show a dinky little icon there", but things that users actually want?

Rhetorical of course. Getting off the soapbox now.
Title: Re: Version 1.7.0-12-dev - "work in progress", not in Google Play
Post by: p50kombi on November 23, 2016, 12:48:49 am
point taken, shame as I invested in the app assuming it would do that, teaches me a little lesson :)
I'll keep hunting, I got quite a few acquaintances in the HTC coding world, if I dig anything up, I'll let you know.
Title: Re: Version 1.7.0-12-dev - "work in progress", not in Google Play
Post by: Kostya Vasilyev on November 23, 2016, 12:53:19 am
Re: point taken, shame as I invested in the app assuming it would do that, teaches me a little lesson :)

Well, sure, but no need to make it personal or feel sad.

This is one feature that's standard on iPhones and is not standard on Android.

Some manufacturers do it, but it's undocumented. And using undocumented stuff is always risky.

It ended up working reasonably well on Samsung's (although not without some kinks), works really well on LG's and Sony's (although they changed it in 6.0, at least they documented the new way).

Now with HTC, it really seems (from my personal experience and from that library's issue report) unstable and therefore dangerous.

Maybe WhatsApp does it in an entirely different way, maybe they were able to talk to someone at HTC?

Or maybe they feel OK about handling this on the support side ("it worked on my old HTC phone but does not work on the new HTC phone, plz fix immediate").
Title: Re: Version 1.7.0-12-dev - "work in progress", not in Google Play
Post by: p50kombi on November 23, 2016, 12:56:40 am
I'm not sad nor do I take anything personal, I'm just interested in making this app even better, just like yourselves.
Hence the remark that I will try and contact a few people, see if I can dig some documentation up although I doubt it.
It's a great app and the security aspect of it is hopefully going to remain intact.
Title: Re: Version 1.7.0-12-dev - "work in progress", not in Google Play
Post by: Kostya Vasilyev on November 23, 2016, 01:12:47 am
Re: Hence the remark that I will try and contact a few people, see if I can dig some documentation up although I doubt it.

Yes, sure, if you're able to find anything out...
Title: Re: Version 1.7.0-12-dev - "work in progress", not in Google Play
Post by: p50kombi on November 23, 2016, 01:28:53 am
HAve you looked in the htc dev?

https://www.htcdev.com/devcenter

It should be there somewhere, I'll have a look also.
Title: Re: Version 1.7.0-12-dev - "work in progress", not in Google Play
Post by: Kostya Vasilyev on November 23, 2016, 01:30:30 am
Re: HAve you looked in the htc dev?

Yes, I've seen it before.
Title: Re: Version 1.7.0-12-dev - "work in progress", not in Google Play
Post by: p50kombi on November 23, 2016, 01:45:01 am
Have you seen this one?

https://github.com/woalk/NotifCount

might have some info in there, couldn't find anything on htc dev indeed...

ah, sorry, seen now that you created a new topic.
Please feel free to move my replys over :)

Thanks.