implement lock screen notification on really old devices
Platform: Samsung s3 running stock 4.1.2
Request: It would be very useful to have a notification on the locked screen. The stock messaging app puts a message icon on the lock screen that can be swiped. Swiping it send you to the unlock screen and after a successful login it takes you to the app/message. This type of notification is standard for the text app and phone. There may be other similar notifications but I don't use them to know.
I didn't realise this was missing. A definite +1 from me here.
samsung changed the way it works in 4.3, I'm guessing it's using the native lock screen now...
So a standard lock screen widget would definitely be interesting.
Until then, I would recommend that you install a Lock Screen Notifier app. I found that "NiLS Notification Lock Screen" is free. So I'm testing it out first...
EDIT: Just wanted to add that, when you add another app to handle the lock screen, it means they can interact with that information... But I feel like this is a important feature.
If this is ever implemented deniability is of great concern and neither message content nor sender should be shown by default. See #308
lindworm, atm the message is displayed in the statusbar, so it already seen, however it seems like it will show the message as "Encrypted" message after a few seconds. If privacy is of concern you should password protect it, not having a password makes this accessable for anyone anyhow. Also you have the option to remove notifications, I guess the same could be done for lock screen widgets...
The point of the lock screen widget is for the user to be able to see that you have a message, without unlocking the screen. It usually is a big and very clear icon indicating a new message, the content within the message doesn't necessarily have to be shown, just a indication of new messages would suffice, the notification should be big enough that you could see it from distance or for example while running, the small notification in the statusbar is hard to see while running.
My understanding was that this app was trying to reel in novice users and to [some of] them (majority?), being able to see your message from the lock screen would be consider a good feature compared to the small icon indicator in the statusbar.
For now I'm happy with the notification in the statusbar, but I'm still using a 3rd party lock screen widget handler to show the message, as it makes it easy for me to catch messages while on the run. without having to lock up the phone and click through menus, the message is right there after I wake the screen and i just shut down the screen and put the phone back in the pocket if it isn't important enough to distract me from my busy-rush.
Making the app feature complete would appeal more users, I've reqruited friends into this app, but some of them wanted to give up for things like facebook profile pics not syncing (apparently it's not possible by 3rd party apps so I gave them https://github.com/heinrisch/Contact-Picture-Sync to sync the pictures rather than using facebooks sync). They were bothered by other things too.... I intend to work on this project and help with the user experience as a start and delve deeper from there...
@0xACE I agree that this feature is probably popular with new users, which might not primarily use TS for it's strong security. That's why I think it shouldn't be the default, and maybe even a warning should be shown when you activate this. Another possibility is, to let you choose in the setup wizard if you are a casual user, a moderately security concious user or a tinfoilhat™/protester in Syria and set the defaults accordingly. I'm going to search if something like this is already proposed, otherwise I'll open a ticket.
I just implemented the (non-lockscreen) widget. It seems like the things needed for lockscreen widgeets depend on API level 14, while TS still supports API level 9. I'm not sure if there's a way to work around this...
+1 from me the non lockscreen widget is not really an alternative for me since these icons simply do not draw the same level of attention and they need an extra tap to open the app.
@tinloaf as far as I understand the android developer guide, it is possible to specify several different API levels. quoting from this website: http://developer.android.com/guide/topics/manifest/uses-sdk-element.html
and here: http://developer.android.com/training/basics/supporting-devices/platforms.html
Android provides a unique code for each platform version in the Build constants class. Use these codes within your app to build conditions that ensure the code that depends on higher API levels is executed only when those APIs are available on the system.
As far as I understand this, it should be possible to conditionally support the lock screen icon only on newer android versions without losing compatibility with older versions.
Sure. The question is, is it feasible to hide rather large changes behind such a conditional. But first, let's try to get the normal widget in (in which I still have to find a strange off-by-one bug).
@SevenFactors Sorry, didn't see your question. It means that only certain newer Android versions support lockscreen widgets, and TextSecure is (also) being developed for earlier versions of adroid.
@tinloaf happy bug hunting. Thanks a lot for all your work on this great app. It is feels good to finally be able to write texts that can't be read by anyone.
Thanks, but those compliments really should go to moxie and mcginty ;)
GitHub Issue Cleanup: See #7598 for more information.