Hi, does CN1 plugin support a native push? I mean messaging an inactive app just like this: https://www.pubnub.com/docs/codenameone-java/mobile-gateway
I know with Phonegap it requires a separate native push plugin to enable push notifications in that app. It looks like CodeName One encapsulates this for you. See this link for details, then jump back to PubNub to implement the PubNub side.
Contact support if you have further questions.