Search code examples
genexusgenexus-sd

Publishing Apps generated by Genexus


When I publish Apps generated by Genexus in the AppStore, I receive the email:

"Missing Push Notification Entitlement - Your app appears to include API used to register with the Apple Push Notification service ... If your app uses the Apple Push Notification service, make sure your App ID is enabled for Push Notification in the Provisioning Portal"

This made me think, is there anything I can do to remove unused references in order to reduce the file size? (also because I noticed that there are Genexus Apps on googlePlay with a fraction of my Apps filesize - and mine are more simple).


Solution

  • Short answer: If your app does not use push notifications, you can ignore it.

    Long answer: When apps references notifications API and App ID Push Notification is disabled (defined here), Apple sends this mail as a warning. GeneXus apps generates code that references notifications API only when enabled, but we use some third party libraries that may be referencing notifications API. We still have to investigate which library may be causing the warning.

    Regarding the file size, most of it is from the resources (such as splash screens and app icons in all it's resolution variations). Current file size limit for iOS apps is 4GB. Anyway, in future versions of GeneXus, we are changing some parts iOS generated apps architecture in order to reduce the binary size.