iOS Question APN Silent notifications

fbritop

Active Member
Licensed User
Longtime User
Hi there,
We use APN notifications in order to execute certains commands on our app.

The problem is when a notification is received, and the app is in background, then the top screen notificactions, displays with the message (a JSON string).

How can we tell iOS that all notifications should not be published to the user?

I have tried with no luck to use:
#PlistExtra:<key>NSUserNotificationAlertStyle</key><string>none</string>

Thanks
FBP
 

fbritop

Active Member
Licensed User
Longtime User
Yes, I understand that it does not work the same way that android does, but there is no need to call the app when the notification arrives, it is just a matter of not displaying any info to the user, as it is a non user readable content (json string)

Thanks anyway, will wait for next version. Is there an ETA for next version?

FBP
 
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
but there is no need to call the app when the notification arrives
If the app is not started (in background mode) then you will not be able to do anything with it.

Is there an ETA for next version?
Will take sometime as the next version includes a major rewrite to the IDE. I expect a beta version to be released near the end of the next month (though it can take longer).
 
Upvote 0

fbritop

Active Member
Licensed User
Longtime User
Hi Erel,
Just received an Email with Beta v2.0. Are there any news regarding silent notifications?

Thanks
FBP
 
Upvote 0
Top