System Pages/Properties not available under app requestor context
We ran into an issue related to push notifications. Whenever a new app version is created, users using the mobile build(apk) generated previously using the previous version of the application started to have problems receiving push notifications. It was identified later by GCS that this happened due to a problem with the pysendpushnotifications activity that runs under the app requestor context. We were told that certain system pages/properties won't be available under app requestor context and hence the problem.
Do we know the list of systempages(px prefix) as well as the properties that won't be available under the app requestor context, that is typically available under a browser context? We would like to know these details to account for these gaps during the design phase itself going forward
***Edited by Moderator Marissa to update SR Details; platform capability tags***
If you are invoking pySendPushNotification via an asynchronous service or a queued batch process, then you will likely need to have a wrapping activity to establish the context (clipboard pages) that you need. Can you elaborate on your use case and how exactly you are invoking the activity?
From the mobile channel, when we try to test the push notification feature to a recipient list, this invokes the pysendpushnotification activity, however this wasn't able to identify the most recent app context in preprod/prod leading to a failure.
When we reported this issue, we didn't receive any hotfix(SR-C74940) and we were told that due to tightened security in production, some application level pages/properties are restricted in production leading to this behaviour.
Please note that this activity gets called directly when we test the push notification functionality from designer studio(common separated list of operators) using the send to everyone button
In the real scenario, the REST Service gets invoked which then identifies the client and pushes the notification, however this also calls the same activity
The problem happened with both the use cases in production and we had to manually override using a wrapper activity(set necessary parameters for pysendpushnotifications) based on another clipboard page(pxThread) that has the application name.