Author Topic: Version 1.17.0-1194-dev - "work in progress" - not in Google Play  (Read 15813 times)

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12742
Re: Version 1.17.0-1194-dev - "work in progress" - not in Google Play
« Reply #45 on: August 10, 2018, 07:07:19 pm »
@lijunle

I added debug logging to the sample app - which as we know works with your account on your phone.

The idea is to see what the sample app does *on your phone* which makes it work (I don't see any differences between your Aqua Mail log vs. sample app on my phone).

https://www.aqua-mail.com/download/Office365Login-app-release-2.apk

First time you run it - it will prompt for a permission to access storage. This is necessary so it can write to a log file.

Please grant the permission - and then the app will initiate a login, same as before.

The log file is called log-Office365Login.txt - you can post here (it doesn't contain any personal info) or email to me at kmansoft / at / gmail.

Thanks again for your help and sorry for the trouble.
Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/

lijunle

  • Newbie
  • *
  • Posts: 18
Re: Version 1.17.0-1194-dev - "work in progress" - not in Google Play
« Reply #46 on: August 10, 2018, 07:16:24 pm »
Re: Still now working. The log is attached.

Thank you for the new log.

What you get after tapping "Log in with Company Portal" - still the same?



Yes, still the same.

@lijunle

I added debug logging to the sample app - which as we know works with your account on your phone.

The idea is to see what the sample app does *on your phone* which makes it work (I don't see any differences between your Aqua Mail log vs. sample app on my phone).

https://www.aqua-mail.com/download/Office365Login-app-release-2.apk [nofollow]

First time you run it - it will prompt for a permission to access storage. This is necessary so it can write to a log file.

Please grant the permission - and then the app will initiate a login, same as before.

The log file is called log-Office365Login.txt - you can post here (it doesn't contain any personal info) or email to me at kmansoft / at / gmail.

Thanks again for your help and sorry for the trouble.

Here is the log. Not sure if it helps.

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12742
Re: Version 1.17.0-1194-dev - "work in progress" - not in Google Play
« Reply #47 on: August 10, 2018, 07:26:47 pm »
Re: Here is the log. Not sure if it helps.

Yes it does. A lot. Thanks!

You were right all along - it was a different app.

Aqua Mail at this point looks for this one, InTune Company Portal:

https://play.google.com/store/apps/details?id=com.microsoft.windowsintune.companyportal

and on your phone this app is present but trying to log in - fails.

The sample app recognizes this one too:

https://play.google.com/store/apps/details?id=com.azure.authenticator

---

I'll have a new build for you in a few hours.
« Last Edit: August 10, 2018, 07:29:31 pm by Kostya Vasilyev, Aqua Mail »
Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12742
Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/

lijunle

  • Newbie
  • *
  • Posts: 18
Re: Version 1.17.0-1194-dev - "work in progress" - not in Google Play
« Reply #49 on: August 10, 2018, 08:57:09 pm »
@lijunle

Let's see if this (finally) works:

https://www.aqua-mail.com/staging/AquaMail-market-1.17.0-1211-dev-f71f8132bd35.apk [nofollow]


Yes! It works! Thanks very much doe supporting!

One interesting part, it is showing "Log in with authenticator" now.

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12742
Re: Version 1.17.0-1194-dev - "work in progress" - not in Google Play
« Reply #50 on: August 10, 2018, 09:13:36 pm »
Re: Yes! It works! Thanks very much doe supporting!

Thanks! Not the least - for the debug logs and your patience.

Re: One interesting part, it is showing "Log in with authenticator" now.

Yep :)

Our app now knows that - your accounts are in the Authenticator app and not the Company Portal app (on your phone, it checks for both and resolves to Authenticator... but for others it will still find Company Portal too).
« Last Edit: August 10, 2018, 09:38:31 pm by Kostya Vasilyev, Aqua Mail »
Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/

matt0023

  • Newbie
  • *
  • Posts: 2
Re: Version 1.17.0-1194-dev - "work in progress" - not in Google Play
« Reply #51 on: August 17, 2018, 07:22:54 pm »
thx for your continued development on AquaMail! I'd like to add another vote for ADAL support.
My company is going ADAL-only for mobile device access next week, and I'm on Adroid, so I'll need to move to the Outlook client :(  >:(  :D

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12742
Re: Version 1.17.0-1194-dev - "work in progress" - not in Google Play
« Reply #52 on: August 17, 2018, 07:37:12 pm »
Re: thx for your continued development on AquaMail! I'd like to add another vote for ADAL support.

Exsqueeze me but that's being done and getting fixed right now.

I recommend you try the latest (at this time) which is 1.17.0-1211.

https://www.aqua-mail.com/forum/index.php?topic=6771.0
Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/

mikeone

  • Hero Member
  • *****
  • Posts: 2711
Re: Version 1.17.0-1194-dev - "work in progress" - not in Google Play
« Reply #53 on: August 18, 2018, 04:07:36 pm »
@Kostya
What about the latest dev build 1.17.0.1212?

https://www.aqua-mail.com/forum/index.php?topic=6771.msg40852#msg40852

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12742
Re: Version 1.17.0-1194-dev - "work in progress" - not in Google Play
« Reply #54 on: August 18, 2018, 06:21:20 pm »
Re: What about the latest dev build 1.17.0.1212?

You're right - updated!
Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/

vlad48

  • Newbie
  • *
  • Posts: 2
Re: Version 1.17.0-1194-dev - "work in progress" - not in Google Play
« Reply #55 on: August 20, 2018, 09:25:15 pm »
Thanks for all great work on this app  - paid user from 2013 here.
Just have one issue here after my company upgraded its mail policy to restrict android mobile device clients.
Now, whenever I try to logon and authenticate via AquaMail latest version posted here to my Office365 mailbox the server recognizes that I'm not using only preferred by the company Outlook for Android app and kicks me out showing that AquaMail is not allowed by the server. is there a specific way to spoof the client connection string changing it to Outlook while connecting to office365 account (maybe a checkbox for enabling agent spoof?)

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12742
Re: Version 1.17.0-1194-dev - "work in progress" - not in Google Play
« Reply #56 on: August 20, 2018, 09:46:09 pm »
@vlad

Do you mean your company uses InTune?

Or does it only allow Outlook?

- For InTune - the latest InTune enabled version is this:

https://www.aqua-mail.com/forum/index.php?topic=6771.0

- User Agent can be changed on the account setup screen if you tap Manual

However if you also use OAUTH2 - then the server knows "who" (what app) it is talking to, not just based on user agent (which is easy to change) but also based on OAUTH2 client ID.

It's like - when you go to "my account" in Office 365 and look under "apps with access to my account" - you'll have specific apps listed, "it knows". Same thing is possible for restricting access I suppose.

More broadly speaking - if your IT Department decides to do something, they have all kinds of tools and knobs and switches on their end to enforce this, so you may or may not be able to go against their polices.

( and if you do succeed but get found out and it becomes a problem - it's entirely between you and the employer )
Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/

vlad48

  • Newbie
  • *
  • Posts: 2
Re: Version 1.17.0-1194-dev - "work in progress" - not in Google Play
« Reply #57 on: August 20, 2018, 10:01:19 pm »
Many thanks for the fast reply Kostya - really appreciated!
Company changed authentication to OAUTH2 and the Client ID is the problem - it imply refuses to grant access to Aqua Mail...
So - it appears nothing can be done to trick it somehow... sad...

matt0023

  • Newbie
  • *
  • Posts: 2
Re: Version 1.17.0-1194-dev - "work in progress" - not in Google Play
« Reply #58 on: August 27, 2018, 08:38:44 pm »
thank you, Kostya, I will try the latest dev apk!  :)