Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. The Lounge
  4. What the heck do they mean by "private api"?
Forum Updated to NodeBB v4.3 + New Features

What the heck do they mean by "private api"?

Scheduled Pinned Locked Moved Solved The Lounge
7 Posts 4 Posters 1.7k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • fcarneyF Offline
    fcarneyF Offline
    fcarney
    wrote on last edited by
    #1

    https://9to5mac.com/2019/11/04/electron-app-rejections/

    I just heard about Apple rejecting things from a store for using a private API in their code. First what do they mean by "private api"? Second, why would anyone care if there is a private api?

    C++ is a perfectly valid school of magic.

    JonBJ 1 Reply Last reply
    0
    • fcarneyF fcarney

      https://9to5mac.com/2019/11/04/electron-app-rejections/

      I just heard about Apple rejecting things from a store for using a private API in their code. First what do they mean by "private api"? Second, why would anyone care if there is a private api?

      JonBJ Offline
      JonBJ Offline
      JonB
      wrote on last edited by JonB
      #2

      @fcarney
      Well, I can understand that, I guess. A "private API" means it's private for Apple's use. I guess they don't want third-party products published using it. For reliability, security etc. It might break at any time. Etc.

      ODБOïO fcarneyF 2 Replies Last reply
      0
      • JonBJ JonB

        @fcarney
        Well, I can understand that, I guess. A "private API" means it's private for Apple's use. I guess they don't want third-party products published using it. For reliability, security etc. It might break at any time. Etc.

        ODБOïO Offline
        ODБOïO Offline
        ODБOï
        wrote on last edited by ODБOï
        #3

        Same goes for Qt's private API i guess ?

        J.HilkJ 1 Reply Last reply
        0
        • ODБOïO ODБOï

          Same goes for Qt's private API i guess ?

          J.HilkJ Offline
          J.HilkJ Offline
          J.Hilk
          Moderators
          wrote on last edited by
          #4

          @LeLev
          No electron used private macos/ios apis

          Apple won‘t care of you use private Qtapis. As long as those don‘t use private Apple stuff 😉


          Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


          Q: What's that?
          A: It's blue light.
          Q: What does it do?
          A: It turns blue.

          1 Reply Last reply
          1
          • JonBJ JonB

            @fcarney
            Well, I can understand that, I guess. A "private API" means it's private for Apple's use. I guess they don't want third-party products published using it. For reliability, security etc. It might break at any time. Etc.

            fcarneyF Offline
            fcarneyF Offline
            fcarney
            wrote on last edited by
            #5

            @JonB Okay, that makes sense. Don't use Apple's private API. Not private APIs in general.

            @LeLev There are things that we can only do in QtQuick based apps by using private APIs of Qt. It sucks, I hate it, but we cannot find another way. We do this for file dialogs. I had a post on it a while back and the result was just use the private API.

            C++ is a perfectly valid school of magic.

            1 Reply Last reply
            2
            • J.HilkJ Offline
              J.HilkJ Offline
              J.Hilk
              Moderators
              wrote on last edited by J.Hilk
              #6

              Turns out, there are some modules that use private apple apis
              For example QWebEngine
              So becarefull and always Check the Documentation😉


              Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


              Q: What's that?
              A: It's blue light.
              Q: What does it do?
              A: It turns blue.

              1 Reply Last reply
              2
              • fcarneyF Offline
                fcarneyF Offline
                fcarney
                wrote on last edited by
                #7

                @J-Hilk said in What the heck do they mean by "private api"?:

                Turns out, there Art some modules that use private apple apis
                For example QWebEngine

                And that status can change for other modules if Apple decides to make some things private as well. Apparently some things were in the public APIs and then put into private APIs for some specific reasons.

                C++ is a perfectly valid school of magic.

                1 Reply Last reply
                0

                • Login

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Users
                • Groups
                • Search
                • Get Qt Extensions
                • Unsolved