Other services like Apple push notification











up vote
0
down vote

favorite












I am planning to develop an application for macOS.In my application some tasks are done with the help of STPrivilegedTask (https://cocoapods.org/pods/STPrivilegedTask) and accessing system info using sysctl command. The tasks that are done using STPrivilegedTask not working when app sandboxing is turned on. I want to use push notification in my application. Apple says in their developer documentation push notification are only available for the apps that are distributed through the App store.(https://developer.apple.com/library/archive/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/APNSOverview.html#//apple_ref/doc/uid/TP40008194-CH8-SW1)




APNs is available to apps distributed through the iOS App Store, tvOS App Store, and Mac App Store, as well as to enterprise apps. Your app must be provisioned and code signed to use APNs




Is it possible to use apple push notification for an macOS app without sandboxing?
Is there is any other free or paid services are available that can be used instead of APNS for a macOS application?










share|improve this question


























    up vote
    0
    down vote

    favorite












    I am planning to develop an application for macOS.In my application some tasks are done with the help of STPrivilegedTask (https://cocoapods.org/pods/STPrivilegedTask) and accessing system info using sysctl command. The tasks that are done using STPrivilegedTask not working when app sandboxing is turned on. I want to use push notification in my application. Apple says in their developer documentation push notification are only available for the apps that are distributed through the App store.(https://developer.apple.com/library/archive/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/APNSOverview.html#//apple_ref/doc/uid/TP40008194-CH8-SW1)




    APNs is available to apps distributed through the iOS App Store, tvOS App Store, and Mac App Store, as well as to enterprise apps. Your app must be provisioned and code signed to use APNs




    Is it possible to use apple push notification for an macOS app without sandboxing?
    Is there is any other free or paid services are available that can be used instead of APNS for a macOS application?










    share|improve this question
























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I am planning to develop an application for macOS.In my application some tasks are done with the help of STPrivilegedTask (https://cocoapods.org/pods/STPrivilegedTask) and accessing system info using sysctl command. The tasks that are done using STPrivilegedTask not working when app sandboxing is turned on. I want to use push notification in my application. Apple says in their developer documentation push notification are only available for the apps that are distributed through the App store.(https://developer.apple.com/library/archive/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/APNSOverview.html#//apple_ref/doc/uid/TP40008194-CH8-SW1)




      APNs is available to apps distributed through the iOS App Store, tvOS App Store, and Mac App Store, as well as to enterprise apps. Your app must be provisioned and code signed to use APNs




      Is it possible to use apple push notification for an macOS app without sandboxing?
      Is there is any other free or paid services are available that can be used instead of APNS for a macOS application?










      share|improve this question













      I am planning to develop an application for macOS.In my application some tasks are done with the help of STPrivilegedTask (https://cocoapods.org/pods/STPrivilegedTask) and accessing system info using sysctl command. The tasks that are done using STPrivilegedTask not working when app sandboxing is turned on. I want to use push notification in my application. Apple says in their developer documentation push notification are only available for the apps that are distributed through the App store.(https://developer.apple.com/library/archive/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/APNSOverview.html#//apple_ref/doc/uid/TP40008194-CH8-SW1)




      APNs is available to apps distributed through the iOS App Store, tvOS App Store, and Mac App Store, as well as to enterprise apps. Your app must be provisioned and code signed to use APNs




      Is it possible to use apple push notification for an macOS app without sandboxing?
      Is there is any other free or paid services are available that can be used instead of APNS for a macOS application?







      ios macos apple-push-notifications sandbox






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 15 at 14:48









      biju

      54




      54
























          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote



          accepted










          I think you got it a bit wrong here. APNS is the service that will communicate with the device in order to send push notification. Any other 3rd party libs are using APNS in the end, they just offer custom handling or other features (like deep-link, tracking of push notifications etc).



          I don't know about macOS but on iOS you can receive push notifications for apps that are not distributed trough AppStore. For example you can create an enterprise account, which is a bit more expensive than a normal one(like stated on docs) and you can sign the app with the certificates & profiles from that account and the push notifications will work for sure.



          The push notifications work in sandbox & production mode on apps that are not submitted to AppStore. The only difference in these is the way you distribute them, using enterprise certificates (you can install the app in any number of devices) or normal certificate (you can install the app on max 100 devices).



          And the final point, there's no other way to receive push notifications other than APNS. You could try to implement a copy of this process but with no success, at least on non-rooted devices, simply because you'd have to create a socket-like communication between app & a server, which would run in background, but the OS will kill your process pretty soon & bye bye socket.






          share|improve this answer





















          • Is it possible to use push notification in a app that is planned to distributed outside the mac app store by signing the app certificates from an account(Not enterprise) ?
            – biju
            Nov 20 at 4:41










          • @biju the problem with "not enterprise" is, at least for iOS, you can't install the app on more than 100 devices, not sure how this works on osx tho.
            – danypata
            Nov 21 at 8:00











          Your Answer






          StackExchange.ifUsing("editor", function () {
          StackExchange.using("externalEditor", function () {
          StackExchange.using("snippets", function () {
          StackExchange.snippets.init();
          });
          });
          }, "code-snippets");

          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "1"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53322033%2fother-services-like-apple-push-notification%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          up vote
          0
          down vote



          accepted










          I think you got it a bit wrong here. APNS is the service that will communicate with the device in order to send push notification. Any other 3rd party libs are using APNS in the end, they just offer custom handling or other features (like deep-link, tracking of push notifications etc).



          I don't know about macOS but on iOS you can receive push notifications for apps that are not distributed trough AppStore. For example you can create an enterprise account, which is a bit more expensive than a normal one(like stated on docs) and you can sign the app with the certificates & profiles from that account and the push notifications will work for sure.



          The push notifications work in sandbox & production mode on apps that are not submitted to AppStore. The only difference in these is the way you distribute them, using enterprise certificates (you can install the app in any number of devices) or normal certificate (you can install the app on max 100 devices).



          And the final point, there's no other way to receive push notifications other than APNS. You could try to implement a copy of this process but with no success, at least on non-rooted devices, simply because you'd have to create a socket-like communication between app & a server, which would run in background, but the OS will kill your process pretty soon & bye bye socket.






          share|improve this answer





















          • Is it possible to use push notification in a app that is planned to distributed outside the mac app store by signing the app certificates from an account(Not enterprise) ?
            – biju
            Nov 20 at 4:41










          • @biju the problem with "not enterprise" is, at least for iOS, you can't install the app on more than 100 devices, not sure how this works on osx tho.
            – danypata
            Nov 21 at 8:00















          up vote
          0
          down vote



          accepted










          I think you got it a bit wrong here. APNS is the service that will communicate with the device in order to send push notification. Any other 3rd party libs are using APNS in the end, they just offer custom handling or other features (like deep-link, tracking of push notifications etc).



          I don't know about macOS but on iOS you can receive push notifications for apps that are not distributed trough AppStore. For example you can create an enterprise account, which is a bit more expensive than a normal one(like stated on docs) and you can sign the app with the certificates & profiles from that account and the push notifications will work for sure.



          The push notifications work in sandbox & production mode on apps that are not submitted to AppStore. The only difference in these is the way you distribute them, using enterprise certificates (you can install the app in any number of devices) or normal certificate (you can install the app on max 100 devices).



          And the final point, there's no other way to receive push notifications other than APNS. You could try to implement a copy of this process but with no success, at least on non-rooted devices, simply because you'd have to create a socket-like communication between app & a server, which would run in background, but the OS will kill your process pretty soon & bye bye socket.






          share|improve this answer





















          • Is it possible to use push notification in a app that is planned to distributed outside the mac app store by signing the app certificates from an account(Not enterprise) ?
            – biju
            Nov 20 at 4:41










          • @biju the problem with "not enterprise" is, at least for iOS, you can't install the app on more than 100 devices, not sure how this works on osx tho.
            – danypata
            Nov 21 at 8:00













          up vote
          0
          down vote



          accepted







          up vote
          0
          down vote



          accepted






          I think you got it a bit wrong here. APNS is the service that will communicate with the device in order to send push notification. Any other 3rd party libs are using APNS in the end, they just offer custom handling or other features (like deep-link, tracking of push notifications etc).



          I don't know about macOS but on iOS you can receive push notifications for apps that are not distributed trough AppStore. For example you can create an enterprise account, which is a bit more expensive than a normal one(like stated on docs) and you can sign the app with the certificates & profiles from that account and the push notifications will work for sure.



          The push notifications work in sandbox & production mode on apps that are not submitted to AppStore. The only difference in these is the way you distribute them, using enterprise certificates (you can install the app in any number of devices) or normal certificate (you can install the app on max 100 devices).



          And the final point, there's no other way to receive push notifications other than APNS. You could try to implement a copy of this process but with no success, at least on non-rooted devices, simply because you'd have to create a socket-like communication between app & a server, which would run in background, but the OS will kill your process pretty soon & bye bye socket.






          share|improve this answer












          I think you got it a bit wrong here. APNS is the service that will communicate with the device in order to send push notification. Any other 3rd party libs are using APNS in the end, they just offer custom handling or other features (like deep-link, tracking of push notifications etc).



          I don't know about macOS but on iOS you can receive push notifications for apps that are not distributed trough AppStore. For example you can create an enterprise account, which is a bit more expensive than a normal one(like stated on docs) and you can sign the app with the certificates & profiles from that account and the push notifications will work for sure.



          The push notifications work in sandbox & production mode on apps that are not submitted to AppStore. The only difference in these is the way you distribute them, using enterprise certificates (you can install the app in any number of devices) or normal certificate (you can install the app on max 100 devices).



          And the final point, there's no other way to receive push notifications other than APNS. You could try to implement a copy of this process but with no success, at least on non-rooted devices, simply because you'd have to create a socket-like communication between app & a server, which would run in background, but the OS will kill your process pretty soon & bye bye socket.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Nov 15 at 15:56









          danypata

          6,46311731




          6,46311731












          • Is it possible to use push notification in a app that is planned to distributed outside the mac app store by signing the app certificates from an account(Not enterprise) ?
            – biju
            Nov 20 at 4:41










          • @biju the problem with "not enterprise" is, at least for iOS, you can't install the app on more than 100 devices, not sure how this works on osx tho.
            – danypata
            Nov 21 at 8:00


















          • Is it possible to use push notification in a app that is planned to distributed outside the mac app store by signing the app certificates from an account(Not enterprise) ?
            – biju
            Nov 20 at 4:41










          • @biju the problem with "not enterprise" is, at least for iOS, you can't install the app on more than 100 devices, not sure how this works on osx tho.
            – danypata
            Nov 21 at 8:00
















          Is it possible to use push notification in a app that is planned to distributed outside the mac app store by signing the app certificates from an account(Not enterprise) ?
          – biju
          Nov 20 at 4:41




          Is it possible to use push notification in a app that is planned to distributed outside the mac app store by signing the app certificates from an account(Not enterprise) ?
          – biju
          Nov 20 at 4:41












          @biju the problem with "not enterprise" is, at least for iOS, you can't install the app on more than 100 devices, not sure how this works on osx tho.
          – danypata
          Nov 21 at 8:00




          @biju the problem with "not enterprise" is, at least for iOS, you can't install the app on more than 100 devices, not sure how this works on osx tho.
          – danypata
          Nov 21 at 8:00


















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.





          Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


          Please pay close attention to the following guidance:


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53322033%2fother-services-like-apple-push-notification%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Biblatex bibliography style without URLs when DOI exists (in Overleaf with Zotero bibliography)

          ComboBox Display Member on multiple fields

          Is it possible to collect Nectar points via Trainline?