1. M

    iOS Question Wait for accept to receive notifications (RegisterUserNotification)

    Hi everyone, there is a way to wait for the user to click on the notification dialog, so the app stops to do things? Like: MsgBox2("Msg", "Body", "Title", Array("Yes", "No")) Wait For Msg_Click (ButtonText As String) If ButtonText = "Yes" Then 'things' End If thanks :D
  2. M

    iOS Question Intercept Firebase Messages (iosalert) while in background to store a state

    Hi everyone, i'm struggling finding the best solution to implement the notifications in my iOS app. I have two FB topics, one for syncing informations between the app and my server. (this should be silent push notification, and happends only in foreground) the second FB topic, instead, is for...
  3. M

    iOS Question [SOLVED] GeoFence and closed app

    Hi everyone. I was wondering if it's possibile to set up a geofence that when you enter (or exit), triggers an event catchable with the app closed. (like Apple "Find My" app, that can send a notification to you when a friend leave/arrive a place). I'm not knowledge about this things , so I'm...
  4. LucaMs

    Android Question Notifications, foreground services...

    I have read many times that the best example on how to create a "stable" foreground service is MyLocation, so I tried it. It works but I am trying to get the same behavoir of some other famous apps, like Whatsapp, Twitter, Zynga Poker, etc. They are able to receive notifications (obviously...
  5. rleiman

    Android Question Notification is displayed when app has no notifications defined when widget is on home screen

    Greetings, My customers are noticing a notification being displayed in the notification area of their screens as soon as they place my app's widget on their home screens. The app does not have any notifications defined nor are they used in any of my coding. This seems to be tied into the widget...
  6. C

    Android Question How do i enable Smart popup permission?

    Hi, I have a Samsung device and I noticed that there is a function called Smart Popup. I want to implement that function in my app but I don't know what permission to use. Also whatsapp and Amazon enabled smart popup automatically Can you help me? Thanks in advance, Simone
  7. M

    B4i Library [class] Foreground Notifications

    Hi, for my personal need, i had to write a small class in order receive notification when the app is showing (foreground). Maybe it can be useful to someone. You can set: Custom Text Color Custom Background Color The showing time An icon Vibrate (import the library "iPhone")
  8. A

    Spanish B4J PUSH

    Hola! Estuve buscando por el foro y no encuentro en ningun lado la forma de recibir una notificacion via push en b4j. Lo que estoy buscando es enviar desde php la push para que reciba un b4j esta notificacion y a partir de ahí realice una acción. Encontre siempre que b4j haga de servidor que...
  9. Marcos Alves

    Android Question Update Foreground Service Notification Message

    Hello, I have a foreground service that navigates in a sqlite table and downloads some images, and would like to put a counter in the notification to show the number of downloaded images. The service notification is created with this code: n.Initialize n.Sound = False n.Vibrate =...
  10. Brandsum

    iOS Code Snippet Notification with image

    Public Sub CreateNotificationWithContent(Title As String, subTitle As String, Body As String, ImageURL As String, Identifier As String, Category As String, MillisecondsFromNow As Long) Dim ln As NativeObject ln = ln.Initialize("UNMutableNotificationContent").RunMethod("new", Null)...
  11. Cebuvi

    Android Question Show notoficacion programmed to several hours

    Hello, I am working on an app that submits notifications several hours apart by a fixed or variable interval. For example, 10:00, 11:00 and 12:00. After researching the forum I get it to work using a service in background and StartServiceAtExact but I have the following problems if the...
  12. M

    Android Question DownloadService random crash

    Hello, I have an app where I use DownloadService to download and save files. Up until recently it worked fine on my test device (Huawei P20 lite, Android 9, EMUI 9.1.0), but about 3 weeks ago it started crashing on downloading file without any message. I use the DownloadService like this (I...
  13. Nerdworld

    Android Question Always on Display - Notification Icon [Huawei Mate 20 Pro]

    Hey folks! I'm currently running into an issue with one of my apps: - My app has a constant notification for a running service - On my old phone (Samsung Galaxy S7 Edge) i had a small version of my app icon on the "always on"-display. - On my new phone (Huawei Mate 20 Pro) there is a small...
  14. A

    Android Question Problem when referencing "Firebase Analytics" and "Firebase Notifications"

    Hello, I tried to add an option for Push Notifications to my throw Erel's video Explanation. When referencing the libraries "Firebase Analytics" and "Firebase Notifications", an error message had shown up. (When referencing "Firebase Analytics" the error was "Maven Article wasn't found...
  15. M

    Android Question Media style notification

    Hello, I was hopping if anyone can guide me with media style notification like the image below and what I mean is about both UI and the back-end also. I have seen this type of notification player in lot of applications but I wish if I can create one with b4a.
  16. W

    Tool [Tool] Make your own notification icon with an ASCII and/or a FontAwesome/Material Icons character

    Hi all, I wanted an easy way to create simple B4A notification icons consisting of a letter and a symbol; the symbol could then show things like 'there is a message' / 'there are no messages' / 'there is no network connection'. So I came up with MakeNotificationPng. Attached you'll find the B4J...
  17. uniplan

    Android Question Icon app always show in status bar

    HI, i use firebase to send notification to app.Thi is my code to show thw notification: Dim n As Notification n.Initialize() n.Icon = "icon" n.SetInfo2(titolo_push,messaggio_push,id_notifica,Main) n.Notify(id_notifica) n.Vibrate=True...
  18. Yunus ÖZ

    Android Question Notification Play/Pause Problem

    Hi everyone, I'm using NotificationBuilder library for my radio app. (Thank you very much to the developer @barx ). This is my Custom Layout File <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android=""...
  19. Flavio SOuza

    Android Question Invalid notification (no valid small icon)

    Hello devs, I'm trying to send a notification to the mobile, however on MOTO G6 the same presents this error icon! My Code: =============================== Dim n As Notification n.Initialize n.SetInfo2("ABC","123","news",Me) 'n.Insistent = True n.Notify(1)...
  20. M

    Android Question Firebase notification

    Hello everyone I want to handle notification click in firebase when the app is not running, i need to do some actions when the notification clicked. Can anyone help me?