Blank delphi FMX app with entitlement for push notifications enabled crashes on start



File -> New -> Other -> Multi-Device Application.
Tabbed with Navigation (or other non 3D, non blank app)
Build and start the app as android 64-bit and launch is in the connected device.

This works.
Now, as soon as you go to:

project options -> Application -> Entitlement List
turn on "Receive push notifications"
Then try to start the app.

The app will no longer be able to start.
The question here is, what exactly is the android API expecting to find in the APP, which causes this crash? I’m not getting into the debugger – the app closes before Delphi Rad studio 10.4.2 (using the v30 Android SDK) is even able to "hook" into anything. With as much as Rad studio is doing automatically, I’d expect it to create the required frame or app hook automatically, but there’s just "nothing" that resembles useful information regarding this.
Main article on adding push notifications here:

And yes, I did follow that part as well, with the same crashing result. The google app emulator doesn’t give me anything worthwhile either,. I’m a bit at a loss here.

Comments are closed.