Cordova Statusbar / Notifications - android

I'm sorry for asking something probably this basic, but since I've never programmed for native android or iOS, only with cordova, I don't even know how to search for this.
How can I add an icon to Android and iOS status bar? And when the status bar is open, how to add a line that once clicked leads to my app?
EDIT: Actually, it looks like "notification bar" is the name I'm looking for

Related

Status Bar sensitive information like Telegram X

I`m digging for many days and didn't found the information about this functionality that presents in Telegram X (newest version which the source code isn't opened yet, running on nexus 5x api 27 emulator)
When application is in "waiting for network" , this information appears inside your translucid status bar, like this gif.
My questions is, how could I achieve this?
Sounds like they are using some kind of context to hide content inside status bar (look at notification icons and mobile network icons, they hide when the msg slide from top)
I found a third party library who can help you to archieve your question.
Check this repo https://github.com/fede87/StatusBarAlert
What is this?
This is a small library inspired by Telegram X status bar new alert, written in Kotlin. It shows custom message with optional indeterminate progress in status bar area.

Android "Widget" in Notification Bar (native or cordova)

We try to create an app and would like to show some information for app on notification bar. I don't know how this is called on android, but some other apps have some widgets in the bar like this
I don't know how this is done and how this is called. We can not close the notification and it is still present there.
At the end we try to do this with a cordova app, but if we know how this is done native by android we can google for it and check if there is always a cordova plugin or if we have to implement this by our own.

How to put an icon to system status bar with Cordova

I need to put an app icon to the system status bar (on top) on iOS and Android with Cordova (like the clock icon when you set an alarm). Is there any plugin available?
In Android on the status bar you cannot add icons to the right (system icons) as this is reserved for system. You're not system, therefore you should not be on the status status bar. However; you can post on the left side (which is where app icons show up). Also even if you were system, unless you can modify the source code of the platform... this cannot be achieved.
I think it's impossible to customize the system status bar on iOS.
You can manage to add a widgets instead.

Notification Bar inside an app

I have something in mind that i would like to integrate into my android app and I dont know where to start researching.
I want to create a notification bar just as androids in my app, and hold an activity in it( eg. a menu ) and for it to dropdown when the user pulls it down just like android.
I didnt know what to exactly research about, i tried notification bar in android app but to no success as all the links go to customizing your android notification bar.
Thank you for your time.

Android: Replace Notification Bar

currently I'm working on an UI Replacement of Android, currently achived by writing a different launcher and different-styled apps. All's good so far, BUT: there is still the notification bar missing, means, I have no idea how to replace the notification bar.
The "new" notification bar shall show only generic informations like the clock and network state, similar to windows phone and ios, without NotificationManager-binding.
How can I achive this? I know that there are several notification bar replacement apps out there, like omega statusbar or statusbar+.
My idea was to make every app of my UI fullscreen and having its own NotificationBar-Instance, fed by a ContentProvider or Service. But if the user decides to use classic android apps, he also will see the generic notification bar, which isn't what I want.
Also it might be an idea to create a window on top the notification bar, but I have no clue either this is "the right way", nor if it is even possible to achive this in this way.

Categories

Resources