[Q] Geolocalized Push Notification - Android Q&A, Help & Troubleshooting

Hi,
I am developing a mobile application that needs send push notification and messages to the user depending on the device geolocation. I have been testing some push notification providers (Urban Airship, Notificare and Parse) that allow me to send geolocalized notifications.
However, the problem is that the accuracy of the location highly depends on the frequency with I refresh the device location. If I refresh very often the location accuracy is improved, but the battery consumption increases a lot. If I refresh only a couple of time per day, the battery life is improved, but the location accuracy is worse.
Has anyone had this same problem? How did you solve it? Is there any provider allowing to send geolocalized push notification without having to be send the device position to the server?
Thank you very much.

geolocalized push notifications incl. ibeacon and wifi
I know your thread is a bit older, but I have recently started using matchinguu and it seems that their service was deviced for that exact problem. Used UA before and in my book, they did not really provide geo -> problems in Europe, Geo more as a segmenting topic of the past etc. Then I worked with Estimote which worked well for iBeacons, but only for those. With matchinguu many of these issues are now integrated and seem to work fine. They also provide a monetization option on top.
Alternative could be to use RadiusNetworks Open Source library.

Related

Motorola's Suspect APK's

I finally posted on Motorola's Forums asking about the suspect APK's with as much info as possible.
See HERE
If they for some reason take it down I will duplicate it here below:
Ok,
We Motorola owners have been silent and I think its time that we was not. Just last year I signed up for the Electrify Beta test for Motorola's 2.3.5 update for the phone. I received an email from Motorola that within 24 hours I would be getting the updated pushed to my device. At the time I got the email (around 9:30 am) I was using a custom ROM (Cyanogen Mod 7) and I proceeded to back up my phone and flash the phone back to Stock 2.3.4. Once I did that, I never got the update pushed to my device. So in turn I posted that question why I never received it on the Forums.
Mark answered it by saying this:
“Wow you've reset your phone 21 times... Whatever for? The reason you can't get the update is because you've factory reset the phone after the update was sent out. I'll reply in the other thread concerning the wifi issue. It's off topic here.
Mark
Support Forums Manager”
Click to expand...
Click to collapse
To which I answered that it was really non of his or Motorola’s business how many times I reset my device as for one – its MINE. I also asked what else Motorola was tracking from my device and why we users are not made aware of it. Of course I never got an answer to that post.
To be honest it was a Godsend that I never got the update, because as we all know Motorola relocked the Bootloader and has every intention of never making it unlocked again. However that’s a different issue and not the one at hand here.
Now I get that that I missed the update to 2.3.5 because I was on a custom ROM that is totally not supported by Motorola, and quite frankly this isn’t the issue here.
The issue is that my activity was tracked. When I got the phone and activated it I was not aware of any EULA that would state that Motorola would be tracking its users and activities. There was no such message in the Box, Manual, or on the phone on first boot. If it IS in the manual then it is so far embedded in some clause that it’s criminal that it is in there. However I am pretty sure its not.
So I would put that down to my activity was tracked WITHOUT my consent. Which to me, is a pretty big deal.
So this brings me to the meat of this post. A few users have stated there are some suspect apps (Motorola Stock) that are running in the background and require some insane Access Rights.. I will now list them along with the permissions they require (You can see these for yourself on your own phone. Applications > All > and find them on the list.). Some of these are quite the eye opener…
AdService.apk
Network Communication (Full Internet Access)
Phone Calls (ReadPhoneStateand identity)
DataCollection.apk
Your personal Information (Read Contact Data, Read Sensitive Log Data, Read user Defined Dictionary, Write Contact Data)
Services that Cost you Money (Directly Call Phone Numbers, Send SMS Messages)
Your Location (coarse (network-based) location, fine (GPS) location, mock location sources for testing)
Your messages (edit SMS or MMS, Read SMS or MMS, Receive SMS)
Network Communication (control Near Field Communication, Create Bluetooth Connections, Full Internet Access)
Your Accounts (manage the accounts list, use the authentication credentials of an account)
Storage (Modify/delete SD card Contents)
Phone Calls (intercept outgoing calls, read phone state and identity)
hardware Controls (change your audio settings)
System Tools (Bluetooth Administration, change network connectivity, change WiFi State, Change WiMAX State, Change your UI Settings, Modify Global System Settings, Mount and unmount file systems, prevent phone from sleeping, reorder running applications, retrieve running applications, write Access Point Name settings, write Sync Settings)
(Hidden)
Default (Modify battery Statistics, Read Certificates)
Your personal Information (write to user defined dictionary)
network Communication (view network state, view Wi-Fi state, view WiMAX state)
Your Accounts (discover known accounts, read Google service configuration, View configured accounts)
hardware Controls (control vibrator)
System Tools (Automatically start at boot, expand/collapse status bar, kill background processes, measure application storage space, read Home settings and shortcuts, read sync settings, read sync statistics, set wallpaper, write Home settings and shortcuts)
DataCollectorProvider.apk
Your Personal Information (read contact data)
DataCollectorService.apk
Your Personal Information (read contact data)
KpiLogger.apk
Your personal Information (Read Contact Data, Read Sensitive Log Data, Read user Defined Dictionary, Write Contact Data)
Services that Cost you Money (Directly Call Phone Numbers, Send SMS Messages)
Your Location (coarse (network-based) location, fine (GPS) location, mock location sources for testing)
Your messages (edit SMS or MMS, Read SMS or MMS, Receive SMS)
Network Communication (control Near Field Communication, Create Bluetooth Connections, Full Internet Access)
Your Accounts (manage the accounts list, use the authentication credentials of an account)
Storage (Modify/delete SD card Contents)
Phone Calls (intercept outgoing calls, read phone state and identity)
hardware Controls (change your audio settings)
System Tools (Bluetooth Administration, change network connectivity, change WiFi State, Change WiMAX State, Change your UI Settings, Modify Global System Settings, Mount and unmount file systems, prevent phone from sleeping, reorder running applications, retrieve running applications, write Access Point Name settings, write Sync Settings)
(Hidden)
Default (Modify battery Statistics, Read Certificates)
Your personal Information (write to user defined dictionary)
network Communication (view network state, view Wi-Fi state, view WiMAX state)
Your Accounts (discover known accounts, read Google service configuration, View configured accounts)
hardware Controls (control vibrator)
System Tools (Automatically start at boot, expand/collapse status bar, kill background processes, measure application storage space, read Home settings and shortcuts, read sync settings, read sync statistics, set wallpaper, write Home settings and shortcuts)
MasterClearErrorReporter.apk
Your personal Information (Read Contact Data, Read Sensitive Log Data, Read user Defined Dictionary, Write Contact Data)
Services that Cost you Money (Directly Call Phone Numbers, Send SMS Messages)
Your Location (coarse (network-based) location, fine (GPS) location, mock location sources for testing)
Your messages (edit SMS or MMS, Read SMS or MMS, Receive SMS)
Network Communication (control Near Field Communication, Create Bluetooth Connections, Full Internet Access)
Your Accounts (manage the accounts list, use the authentication credentials of an account)
Storage (Modify/delete SD card Contents)
Phone Calls (intercept outgoing calls, read phone state and identity)
hardware Controls (change your audio settings)
System Tools (Bluetooth Administration, change network connectivity, change WiFi State, Change WiMAX State, Change your UI Settings, Modify Global System Settings, Mount and unmount file systems, prevent phone from sleeping, reorder running applications, retrieve running applications, write Access Point Name settings, write Sync Settings)
(Hidden)
Default (Modify battery Statistics, Read Certificates)
Your personal Information (write to user defined dictionary)
network Communication (view network state, view Wi-Fi state, view WiMAX state)
Your Accounts (discover known accounts, read Google service configuration, View configured accounts)
hardware Controls (control vibrator)
System Tools (Automatically start at boot, expand/collapse status bar, kill background processes, measure application storage space, read Home settings and shortcuts, read sync settings, read sync statistics, set wallpaper, write Home settings and shortcuts)
So, to paraphrase Mark….
Wow these Apps need some insane permissions…. WHATEVER FOR??
And aren’t they named well?
I suggest that someone provides FULL DISCLOSURE on what all these apps do. They are NOT required to run the device (if you are rooted you can freeze the processes with no ill effects and can infact remove them) and they most certainly are NOT part of Android’s original OS.. So whatever ARE they for and what ARE they collecting???
So Motorola, the ball is in your court so to speak, I and a great many others would be really curious on telling us what they are for…
Your move..
Click to expand...
Click to collapse
Just a thought on this issue also. maybe a reason you could provide to this **** from Motorola is the fact that these phones have problems out of the box. Random reboots for example. That in itself would be reason enough for me to reset my phone in homes it will go away. Another thing you could point out is that some app developers are using Airpush ads that some people might think are a form of trojan and might also to a reset to try to eliminate them. Bottom line though is you are totally correct and that it's none of their damn business what we do with these phones. Sprint can ***** at us and threaten to void warranties or whatever but Moto has nothing to do with it. I'm curious to know what they respond with. I'm going to post in that forum too
It's funny. Those were the first apps that I had frozen. I have NO problem with my phone since I froze those. It's been about 2 months now and no problems.
My post on that forum rules LOL
Even if they do respond I'll be willing to bet you don't get a straight answer that exposes the truth.
On a side note, are the apps you have listed everything that does the questionable snooping or are there more parts to the puzzle?
I'm a MoPho-er
FernBch said:
Even if they do respond I'll be willing to bet you don't get a straight answer that exposes the truth.
On a side note, are the apps you have listed everything that does the questionable snooping or are there more parts to the puzzle?
I'm a MoPho-er
Click to expand...
Click to collapse
If I knew how to debug and show what those apps did, I would have more "clout" I guess..
I'm sure there's more in there, but those are obvious (and poorly named) with what they do.
I'm not expecting an answer either, but just sitting idly by saying nothing doesn't achieve anything either. It was worth a shot, and if more people post a response in the original thread, then well... its gonna make it harder for them to ignore it as well.
He posted a reply... Usual PR Snuff and tried to make it look like I was the bad one for breaking an NDA on software that was publicly released two months ago..
I think not, so I replied in kind.... Funny how it took a posting of APK's permissions and concerns about privacy (which was brought up before) for him to garner any response on it...
Lets see if this can carry on...
mistaken, your privacy is important and must be protected, in Europe there are strict legislative on this point, and I hope that clarifies why if the European community discovers that unbeknownst to many users, are read everything that trigger sanctions. I also do not want others to know of my sites visited, etc..
sorry for my English
ZeroManArmy said:
It's funny. Those were the first apps that I had frozen. I have NO problem with my phone since I froze those. It's been about 2 months now and no problems.
Click to expand...
Click to collapse
One of the four has something to do with corp. mail now get an error message. Option to FC every thing working though.
Sent from my MB855 using xda premium
Cythrawl,
Honestly, if I would have known that the Electrify would have been like this, I would have stuck with the Hero S. sometimes...I regret switching from the Hero S to the Electrify.
IBMguy said:
Cythrawl,
Honestly, if I would have known that the Electrify would have been like this, I would have stuck with the Hero S. sometimes...I regret switching from the Hero S to the Electrify.
Click to expand...
Click to collapse
If I had have known too, I would have stuck with the Mesmerize until we get the SGII
Love it when people have no idea!
"We Motorola owners have been silent and I think its time that we was not."
"If I knew how to debug and show what those apps did, I would have more "clout" I guess.. "
I would not worry about Moto, the govenment is watching you right now through your tv.
halfdriven said:
Love it when people have no idea!
"We Motorola owners have been silent and I think its time that we was not."
"If I knew how to debug and show what those apps did, I would have more "clout" I guess.. "
I would not worry about Moto, the govenment is watching you right now through your tv.
Click to expand...
Click to collapse
Seeing I don't have TV (or a TV connected to Cable / Sat / OTA) I doubt that...
Thankyou for your really useful post...

[Q] Google Now Location-Based Reminders Not Working Well at All

I've set up reminders for home and work. On some occasions I will get the reminder after I have been at the location after an hour or more, and sometimes I don't get notified at all? It's showing my location accurately on the phone- just the reminders aren't working correctly. Is this actually working for anyone? I mean, if you go to a location wtih a reminder, do you a) get a reminder, and b) a reminder right away- not hours after you've arrived at the location? I need to determine if it's not working yet, or if I may have an interfering app... I'm running stock JB 4.1.2 with Verizon on a Samsung S3 phone. THANKS!
dtfamily said:
I've set up reminders for home and work. On some occasions I will get the reminder after I have been at the location after an hour or more, and sometimes I don't get notified at all? It's showing my location accurately on the phone- just the reminders aren't working correctly. Is this actually working for anyone? I mean, if you go to a location wtih a reminder, do you a) get a reminder, and b) a reminder right away- not hours after you've arrived at the location? I need to determine if it's not working yet, or if I may have an interfering app... I'm running stock JB 4.1.2 with Verizon on a Samsung S3 phone. THANKS!
Click to expand...
Click to collapse
I've just released an app that aims to do location based reminders better than Google Now. It's called Geobells. It uses GPS and network location and is generally more accurate. In addition, it has additional features Google Now doesn't have, such as reminding you when you leave a place as well as other capabilities. If you're still interested, you should check it out. Click to view on the Play Store

[Q] Excessive Permissions?

I'm after the advice of someone who knows about Android permissions and security.
I'd like to make use of this app - https://play.google.com/store/apps/details?id=com.faradayinstitute&hl=en
That requires these permissions:
This app has access to these permissions:
Your messages
receive text messages (SMS)
Network communication
full network access
view network connections
view Wi-Fi connections
Phone calls
read phone status and identity
Storage
modify or delete the contents of your USB storage
Microphone
record audio
Your social information
read your contacts
modify your contacts
read call log
write call log
Your accounts
find accounts on the device
System tools
send sticky broadcast
test access to protected storage
Affects battery
control vibration
prevent device from sleeping
Your applications information
run at startup
Audio settings
change your audio settings
But isn't that list of permissions completely OTT? I expressed my concerns to them and received the following reply:
I am writing to update you with regards to your enquiry about the Faraday App. I have been in touch with our developers and they have informed me that although this is a long list it is quite common with Android. They are currently working to see if they can reduce the list, however, there is nothing to worry about since you know the origin of there App, The Faraday Institute, and therefore can easily determine whether you wish to allow access (if it is a source you trust/is reputable etc..). The reason they need access to some parts is simply to add their details to your phone, (access your phone book for example is only to add The Faraday to your contacts).
I hope this answers your query for now. I will update you when I receive more information from the developers. Please feel free to contact me if you require further assistance.
I'm no expert but it doesn't really seem satisfactory - or am I worrying necessarily?
Ergates said:
I'm after the advice of someone who knows about Android permissions and security.
I'd like to make use of this app - https://play.google.com/store/apps/details?id=com.faradayinstitute&hl=en
That requires these permissions:
This app has access to these permissions:
Your messages
receive text messages (SMS)
Network communication
full network access
view network connections
view Wi-Fi connections
Phone calls
read phone status and identity
Storage
modify or delete the contents of your USB storage
Microphone
record audio
Your social information
read your contacts
modify your contacts
read call log
write call log
Your accounts
find accounts on the device
System tools
send sticky broadcast
test access to protected storage
Affects battery
control vibration
prevent device from sleeping
Your applications information
run at startup
Audio settings
change your audio settings
But isn't that list of permissions completely OTT? I expressed my concerns to them and received the following reply:
I am writing to update you with regards to your enquiry about the Faraday App. I have been in touch with our developers and they have informed me that although this is a long list it is quite common with Android. They are currently working to see if they can reduce the list, however, there is nothing to worry about since you know the origin of there App, The Faraday Institute, and therefore can easily determine whether you wish to allow access (if it is a source you trust/is reputable etc..). The reason they need access to some parts is simply to add their details to your phone, (access your phone book for example is only to add The Faraday to your contacts).
I hope this answers your query for now. I will update you when I receive more information from the developers. Please feel free to contact me if you require further assistance.
I'm no expert but it doesn't really seem satisfactory - or am I worrying necessarily?
Click to expand...
Click to collapse
what kind of app is it? (currently unable to access playstore)
mjz2cool said:
what kind of app is it? (currently unable to access playstore)
Click to expand...
Click to collapse
Just a "news" app. Here's the description:
The official application of The Faraday Institute for Science and Religion at St Edmund's College, Cambridge. Access news, leading stories of the day, educational resources, and much more, from the institute that is leading research in the understanding of the relation between science and religion.
Bump
Ergates said:
Bump
Click to expand...
Click to collapse
And once more for luck!
Ergates said:
And once more for luck!
Click to expand...
Click to collapse
Any views?

Questions on Doze and apps not working properly

I have a dual sim Sony Z5 running Android 6.0.1, but I am posting here because my question should be generic and not Sony-specific.
I have been doing lots of reading online, but cannot find the answer to these very basic questions:
When exactly does Doze kick in? Some sites say after 1 hour, some say after 3 or more, and Android’s website only says “after a period of time” (https://developer.android.com/training/monitoring-device-state/doze-standby.html ). Isn’t there any official documentation on this?
After a device enters Doze mode, how often does the system exit Doze and for how long? The previous link only says: Periodically, the system exits Doze for a brief time to let apps complete their deferred activities. During this maintenance window, the system runs all pending syncs, jobs, and alarms, and lets apps access the network. Again, isn’t there any official documentation on this?
Is there a way to monitor when the phone was in Doze and when in a maintenance windows
I want 3 apps to continue functioning normally even in Doze mode: whatsapp, k9 mail (on which I use imap idle for push email to my private email address), and Good Work (now owned by Blackberry) to connect to my company’s Exchange server and retrieve work emails etc. How can I achieve this? Is it documented anywhere if these apps issue the high priority GCM messages that Doze expects? I have excluded these apps from the battery optimization settings, yet I have been experiencing erratic behaviour (sometimes they sync, sometimes they don’t) when I leave the phone on a desk, connected to wifi (with keep wifi on during sleep set to always).
I am open to considering another email client which supports imap idle (as long as it doesn’t store my data and passwords on its servers (like Type App / Blue mail do), but I cannot replace Good Work with anything else as that is the only app which my employer allows to connect to its network.
Incidentally, I didn’t want Marshmallows on my phone, also because I believe Sony’s Stamina is more transparent and efficient (http://www.xda-developers.com/sonys-stamina-mode-did-it-first/ ); I was hoping my phone would ship with Lollipop, but unfortunately it came with Marshamllows. Ah, I cannot root because otherwise Good Work wouldn’t work.
This lack of transparency is a step in the wrong direction; Google is behaving like Apple in telling us not to worry our pretty little heads, but Google doesn't always know best! Apps which rely on push notifications may not work unless developers rewrite them, and there is no way to disable doze. it's crazy!
cdl2 said:
I
Is there a way to monitor when the phone was in Doze and when in a maintenance windows [...] ?
Click to expand...
Click to collapse
I have found that the GSAM battery app tracks it: https://play.google.com/store/apps/details?id=com.gsamlabs.bbm&hl=en_GB ( charts --> other).
I haven't found a way to monitor it from Android's system - not on my sony Z5, at least.
No one knows?
Anyway, this partial solution works for me: http://androidforums.com/threads/ma...x-is-preventing-doze-with-macrodroid.1058445/
It's about using MacroDroid to wake up the phone every 45 minutes, thus prveenting Doze mode from kicking in at all. Battery usage is acceptable (1% /hour with two push emails on)
No updates? Am I the only one who cares about push email not working?
cdl2 said:
No updates? Am I the only one who cares about push email not working?
Click to expand...
Click to collapse
Go to settings then go to power manager(in my phone) and click on battery optimization and select apps that you want to run in doze mode and select don't optimized.
I hope it solved your problem.
No, it does not. Android's official documentation explains that whitelisting is effectively useless, because 'other restrictions still apply' :
https://developer.android.com/train...doze-standby.html#support_for_other_use_cases
I have tried, and imap idle with k9 mail does not work when my Sony z5 is in doze, despite the whitelisting

Is there a way to get push email to work with Doze?

The doze mode introduced with Marshmallows breaks push email because email apps will no longer check for email when the phone is in doze. You can exempt apps from battery optimisation, but the exemption is only partial (read: useless). With Nougat it's even worse because Doze has become more aggressive.
My mailbox is on an imap server and I use imap idle for push (no, Apple fanboys, that's no battery drain).
AFAIK the only things which can wake a phone from Doze are phone call, sms messages, and high-priority google cloud messaging (or whatever they're called now) notifications.
Whatsapp, for example, relies on high-priority GCM notifications, and does wake phones up from Doze
There are some mail apps which rely on GCM notifications, but none which sends high-priority notifications - leaving aside the fact that I prefer imap idle because I don't like the idea of having a third-party server, which I somehow have to pay for, with access to my emails...
My question is: how on Earth are we supposed to get push email when the phone is in the doze? Or has google effectively decided that Android will no longer support real push email?
Rooting is not an option because the app I use to read my work email (Good by Blackberry) does not work on rooted devices.
Thanks!
PS Details of doze breaking push email are on another forum: http://androidforums.com/threads/mar...droid.1058445/
Anyone? yes, I know it's an old question, but it's still valid! Am I the only user for whom not having push email is an issue? I can live without getting instant notification of my private email, but work email is a different thing and I have had multiple situations where this has caused problems.
cdl2 said:
Anyone? yes, I know it's an old question, but it's still valid! Am I the only user for whom not having push email is an issue? I can live without getting instant notification of my private email, but work email is a different thing and I have had multiple situations where this has caused problems.
Click to expand...
Click to collapse
Try typeapp maybe. Works for me without whitelisting it
Are you sure it works when the device is in Doze? I ask because Google documentation explains very clearly
https://developer.android.com/training/monitoring-device-state/doze-standby
that whitelisting is only a partial exemption, and that the one and only way to be sure the device receives notifications when in Doze is to use high-priority FCM notifications.
Last I checked, typemail was using normal-priority FCM. has this changed?
To test it, you can force the app into doze by using adb:
adb shell dumpsys deviceidle force-idle
now send an email to yourself from your PC or another phone. Do you get a notification? If you do, typeapp uses high-priority FCM. if you don't, it doesn't, and there seems to be no way around it, because Google has decided to kill push email without providing a ******* alternative!!!
To exit doze and reactivate the phone:
adb shell dumpsys deviceidle unforce
adb shell dumpsys battery reset
A counter-test is to send yourself an email when the phone is not in doze - you should receive an immediate notification.
When talking about Doze, the most common mistakes are:
not understanding that whitelisting is only a partial exemption
mistakenly thinking that you are getting notifications despite doze, when, in fact, either doze hasn't kicked in, or you are getting them in the windows allowed by Doze (no push)
By the way, my key problem is with work email; I can live with private email not being delivered immediately, but work email is a different story!
You might also want to look at these two links about privacy:
https://mobilsicher.de/security-des...d-other-email-apps-transmit-login-credentials
https://androidforums.com/threads/email-which-apps-keep-it-private.935578/
Never heard of any email app using any information in a bad way, especially big ones like typeapp. Even if info is sent to their servers they plainly say they don't store it and even if they do, they can't use it for anything without implicating themselves.
Also first link includes misspellings in the header lmao. I wouldn't trust everything you read, you'll end up in a bubble.
As far as notifications from typeapp, they come through relentlessly if not turned off, dunno if it's preventing the doze somehow but it works well on my quarks running RR Oreo. Try it and do your own tests
Mrpookie said:
Never heard of any email app using any information in a bad way, especially big ones like typeapp. Even if info is sent to their servers they plainly say they don't store it and even if they do, they can't use it for anything without implicating themselves.
Also first link includes misspellings in the header lmao. I wouldn't trust everything you read, you'll end up in a bubble.
As far as notifications from typeapp, they come through relentlessly if not turned off, dunno if it's preventing the doze somehow but it works well on my quarks running RR Oreo. Try it and do your own tests
Click to expand...
Click to collapse
As for typeapp, what leaves me confused is that its documentation talks about whitelisting it in the battery settings. However, even though 99% of Android users fail to understand this, whitelisting is only a very partial exemption. You don’t need to whitelist Whatsapp in order to receive messages even while in Doze. Why? Because Whatsapp uses high-priority FCM notifications. Hence I suspect Typeapp does NOT use high-priority FCM. I have emailed them this question.
It’s very unfortunate that it’s now become very hard to get real push email; we have gone backwards since the early days of mobile devices! Also, Google forcing FCM down our throat means going back to a BIS/BES kind of solution, which was wildly criticised for being a single point of failure. But, most incredibly, AFAIK there is no email client that uses high-priority FCM, so Google is effectively saying: you can have push whatsapp but not push email! The crazy thing is that this was done because too many apps were misbehaving and connecting too often, not because there is anything wrong with push email – imap idle used to work brilliantly, without draining battery.
It has also become very hard to test for push in Doze: many manufacturers add their own app-killing optimisation tool, so the app must be whitelisted there, too. Also, it is never clear when a phone is in Doze, or if it is in a maintenance window: you may think you are getting emails, but you are only getting them because the phone is in a maintenance window, and the next email you might not see for 2 hours!
I have never heard of any email app using private data in a particular bad way, either, it’s just that the concept of giving access to my email to some server of some unknown company makes me uneasy. I don’t even use gmail for this reason, preferring to pay for my own email! The apps listed in my second link (k9 mail, aquamail etc) download mail from the server to the app and the developers of the app have no access whatsoever to my mail. For example, there have been cases of developers of email clients letting their employees read emails to “train the software”
https://www.cnet.com/news/third-party-gmail-apps-reportedly-let-employees-read-peoples-emails/
https://www.macrumors.com/2018/07/02/third-party-email-apps-reading-user-emails/
I understand many people don’t care; these things are very subjective and I have zero interest in convincing anyone – I am just explaining why I’d rather avoid this kind of email clients, unless maybe it’s the one and only way to get real push with Android Doze.
cdl2 said:
As for typeapp, what leaves me confused is that its documentation talks about whitelisting it in the battery settings. However, even though 99% of Android users fail to understand this, whitelisting is only a very partial exemption. You don’t need to whitelist Whatsapp in order to receive messages even while in Doze. Why? Because Whatsapp uses high-priority FCM notifications. Hence I suspect Typeapp does NOT use high-priority FCM. I have emailed them this question.
It’s very unfortunate that it’s now become very hard to get real push email; we have gone backwards since the early days of mobile devices! Also, Google forcing FCM down our throat means going back to a BIS/BES kind of solution, which was wildly criticised for being a single point of failure. But, most incredibly, AFAIK there is no email client that uses high-priority FCM, so Google is effectively saying: you can have push whatsapp but not push email! The crazy thing is that this was done because too many apps were misbehaving and connecting too often, not because there is anything wrong with push email – imap idle used to work brilliantly, without draining battery.
It has also become very hard to test for push in Doze: many manufacturers add their own app-killing optimisation tool, so the app must be whitelisted there, too. Also, it is never clear when a phone is in Doze, or if it is in a maintenance window: you may think you are getting emails, but you are only getting them because the phone is in a maintenance window, and the next email you might not see for 2 hours!
I have never heard of any email app using private data in a particular bad way, either, it’s just that the concept of giving access to my email to some server of some unknown company makes me uneasy. I don’t even use gmail for this reason, preferring to pay for my own email! The apps listed in my second link (k9 mail, aquamail etc) download mail from the server to the app and the developers of the app have no access whatsoever to my mail. For example, there have been cases of developers of email clients letting their employees read emails to “train the software”
https://www.cnet.com/news/third-party-gmail-apps-reportedly-let-employees-read-peoples-emails/
https://www.macrumors.com/2018/07/02/third-party-email-apps-reading-user-emails/
I understand many people don’t care; these things are very subjective and I have zero interest in convincing anyone – I am just explaining why I’d rather avoid this kind of email clients, unless maybe it’s the one and only way to get real push with Android Doze.
Click to expand...
Click to collapse
Dud... I'm not reading all that, lol
Why not try typeapp itself with a non important or dummy email and see. It could be something with my device or ROM causing it to come through but I think it may work for you.
Quick question: is it possible to get typeapp to retrieve mail from the inbox folder immediately (push), but to also retrieve mail from another folder every 4 hours or so? This is the setup I had with Aquamail and K9mail. I ask because I have a 'newsletter' folder where all the newsletters, notifications and non-urgent stuff gets filtered (server-side). I am testing typeapp but haven't found a way to do this.
cdl2 said:
Quick question: is it possible to get typeapp to retrieve mail from the inbox folder immediately (push), but to also retrieve mail from another folder every 4 hours or so? This is the setup I had with Aquamail and K9mail. I ask because I have a 'newsletter' folder where all the newsletters, notifications and non-urgent stuff gets filtered (server-side). I am testing typeapp but haven't found a way to do this.
Click to expand...
Click to collapse
Not sure abt other folders. I know you can set it up that way for different e-mails. Maybe there's a way to make a rule for such a thing. If I discover a way I will post here
Edit- does not appear to be a way to do this using typeapp alone. Maybe another email program could be in fetch mode on that folder and you could set typeapp to push and notifications enabled for certain contacts or something of the like.
You could always contact support and ask if it could be done or put in a feature request. That is a good idea and would be useful to many
Another idea: depending on the email client you use, you may be able to set up a rule to forward those emails you want in fetch mode to a dummy email, then set that email in fetch mode within typeapp
Nothing special about TypeApp in terms of quick notifications when in Doze. I left my phone unattended for 20 minutes then sent a test email and it took over 40 minutes to get the notification. Samsung Email got it first at 28 minutes and BlueMail / TypeApp got it around 42 minutes. This is without touching the phone. This is with Batttery Optimization OFF, Adaptive Battery OFF, Put unused apps to Sleep OFF. Note 10+ Factory Unlocked Android 11 One UI 3.1
Edison Mail sends INSTANT notifications even if your phone's been sleeping for hours, but I hate their GUI, let alone their privacy policy.
Will this ADB command stick after reboot?
Code:
adb shell dumpsys deviceidle unforce

Categories

Resources