Mac app store - in app purchases
-
- Enthusiast
- Posts: 536
- Joined: Mon Feb 16, 2009 10:42 am
- Location: sweden
- Contact:
Mac app store - in app purchases
Have anyone of used in app purchases in their Purebasic made applications that is on appstore? (or will I be the first one?)
https://developer.apple.com/appstore/in ... index.html
(so question is basicly; is there any already done code that someone feel like sharing?)
https://developer.apple.com/appstore/in ... index.html
(so question is basicly; is there any already done code that someone feel like sharing?)
-
- Always Here
- Posts: 6425
- Joined: Fri Oct 23, 2009 2:33 am
- Location: Wales, UK
- Contact:
Re: Mac app store - in app purchases
...I think J Baker and jamirokwai may have beaten you to it.........
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
If it sounds simple, you have not grasped the complexity.
-
- Enthusiast
- Posts: 536
- Joined: Mon Feb 16, 2009 10:42 am
- Location: sweden
- Contact:
Re: Mac app store - in app purchases
I hope they want to share some code... I will PM them.
Re: Mac app store - in app purchases
I haven't done "in app purchase" yet. I'm not sure if it will require the upcoming Cocoa version of PB or not. Will look into it later tonight though.
www.posemotion.com
PureBasic Tools for OS X: PureMonitor, plist Tool, Data Maker & App Chef
Mac: 10.13.6 / 1.4GHz Core 2 Duo / 2GB DDR3 / Nvidia 320M
PC: Win 7 / AMD 64 4000+ / 3GB DDR / Nvidia 720GT
Even the vine knows it surroundings but the man with eyes does not.
PureBasic Tools for OS X: PureMonitor, plist Tool, Data Maker & App Chef
Mac: 10.13.6 / 1.4GHz Core 2 Duo / 2GB DDR3 / Nvidia 320M
PC: Win 7 / AMD 64 4000+ / 3GB DDR / Nvidia 720GT
Even the vine knows it surroundings but the man with eyes does not.
-
- Enthusiast
- Posts: 772
- Joined: Tue May 20, 2008 2:12 am
- Location: Cologne, Germany
- Contact:
Re: Mac app store - in app purchases
Hi there,
I didn't even try to add in-app-purchase, as I didn't need it.
Did anyone succeed in using GateKeeper? I am very interested
I didn't even try to add in-app-purchase, as I didn't need it.
Did anyone succeed in using GateKeeper? I am very interested
Regards,
JamiroKwai
JamiroKwai
Re: Mac app store - in app purchases
The GateKeeper should be fine. All it does is optionally run apps that are one of the following...
Mac App Store
Allows only applications downloaded from the Mac App Store to be launched.
Mac App Store and identified developers
Allows applications downloaded from the Mac App Store and applications signed by certified Apple developers to be launched. This is the default setting in Mountain Lion.
Anywhere
Allows all applications to be launched.
I think you may be refering to Sandboxing. That will require the Cocoa version of PB.
Mac App Store
Allows only applications downloaded from the Mac App Store to be launched.
Mac App Store and identified developers
Allows applications downloaded from the Mac App Store and applications signed by certified Apple developers to be launched. This is the default setting in Mountain Lion.
Anywhere
Allows all applications to be launched.
I think you may be refering to Sandboxing. That will require the Cocoa version of PB.
www.posemotion.com
PureBasic Tools for OS X: PureMonitor, plist Tool, Data Maker & App Chef
Mac: 10.13.6 / 1.4GHz Core 2 Duo / 2GB DDR3 / Nvidia 320M
PC: Win 7 / AMD 64 4000+ / 3GB DDR / Nvidia 720GT
Even the vine knows it surroundings but the man with eyes does not.
PureBasic Tools for OS X: PureMonitor, plist Tool, Data Maker & App Chef
Mac: 10.13.6 / 1.4GHz Core 2 Duo / 2GB DDR3 / Nvidia 320M
PC: Win 7 / AMD 64 4000+ / 3GB DDR / Nvidia 720GT
Even the vine knows it surroundings but the man with eyes does not.
Re: Mac app store - in app purchases
As for "in app purchases" I started to read through it tonight. But I must say, I can't give details on it until I've done it myself. But there is a lot of info on it in the developers pages, http://developer.apple.com/library/ios/ ... ction.html
Sorry I couldn't be more help on this right now.
Sorry I couldn't be more help on this right now.
www.posemotion.com
PureBasic Tools for OS X: PureMonitor, plist Tool, Data Maker & App Chef
Mac: 10.13.6 / 1.4GHz Core 2 Duo / 2GB DDR3 / Nvidia 320M
PC: Win 7 / AMD 64 4000+ / 3GB DDR / Nvidia 720GT
Even the vine knows it surroundings but the man with eyes does not.
PureBasic Tools for OS X: PureMonitor, plist Tool, Data Maker & App Chef
Mac: 10.13.6 / 1.4GHz Core 2 Duo / 2GB DDR3 / Nvidia 320M
PC: Win 7 / AMD 64 4000+ / 3GB DDR / Nvidia 720GT
Even the vine knows it surroundings but the man with eyes does not.
-
- Enthusiast
- Posts: 772
- Joined: Tue May 20, 2008 2:12 am
- Location: Cologne, Germany
- Contact:
Re: Mac app store - in app purchases
No, not talking about Sandboxing. I'd like to sign my Apps outside the App Store with the Gatekeeper-Certificate, but didn't quite succeed...J. Baker wrote:The GateKeeper should be fine. All it does is optionally run apps that are one of the following...
Mac App Store
Allows only applications downloaded from the Mac App Store to be launched.
Mac App Store and identified developers
Allows applications downloaded from the Mac App Store and applications signed by certified Apple developers to be launched. This is the default setting in Mountain Lion.
Anywhere
Allows all applications to be launched.
I think you may be refering to Sandboxing. That will require the Cocoa version of PB.
I tried Sandboxing using Entitlements (see here: http://www.purebasic.fr/english/viewtop ... 83#p384210), but my Apps crashed. I think you are right, Cocoa is needed for this...
Regards,
JamiroKwai
JamiroKwai
Re: Mac app store - in app purchases
Where you create your certificates for the app store, you should also be able to create and download the Developer ID Application Certificate and Developer ID Installer Certificate. Use those for apps that you don't plan on putting on the app store. I haven't read anything about a gatekeeper certificate.jamirokwai wrote:No, not talking about Sandboxing. I'd like to sign my Apps outside the App Store with the Gatekeeper-Certificate, but didn't quite succeed...J. Baker wrote:The GateKeeper should be fine. All it does is optionally run apps that are one of the following...
Mac App Store
Allows only applications downloaded from the Mac App Store to be launched.
Mac App Store and identified developers
Allows applications downloaded from the Mac App Store and applications signed by certified Apple developers to be launched. This is the default setting in Mountain Lion.
Anywhere
Allows all applications to be launched.
I think you may be refering to Sandboxing. That will require the Cocoa version of PB.
I tried Sandboxing using Entitlements (see here: http://www.purebasic.fr/english/viewtop ... 83#p384210), but my Apps crashed. I think you are right, Cocoa is needed for this...
www.posemotion.com
PureBasic Tools for OS X: PureMonitor, plist Tool, Data Maker & App Chef
Mac: 10.13.6 / 1.4GHz Core 2 Duo / 2GB DDR3 / Nvidia 320M
PC: Win 7 / AMD 64 4000+ / 3GB DDR / Nvidia 720GT
Even the vine knows it surroundings but the man with eyes does not.
PureBasic Tools for OS X: PureMonitor, plist Tool, Data Maker & App Chef
Mac: 10.13.6 / 1.4GHz Core 2 Duo / 2GB DDR3 / Nvidia 320M
PC: Win 7 / AMD 64 4000+ / 3GB DDR / Nvidia 720GT
Even the vine knows it surroundings but the man with eyes does not.
-
- Enthusiast
- Posts: 772
- Joined: Tue May 20, 2008 2:12 am
- Location: Cologne, Germany
- Contact:
Re: Mac app store - in app purchases
Hi J. Baker,J. Baker wrote:Where you create your certificates for the app store, you should also be able to create and download the Developer ID Application Certificate and Developer ID Installer Certificate. Use those for apps that you don't plan on putting on the app store. I haven't read anything about a gatekeeper certificate.jamirokwai wrote: No, not talking about Sandboxing. I'd like to sign my Apps outside the App Store with the Gatekeeper-Certificate, but didn't quite succeed...
I tried Sandboxing using Entitlements (see here: http://www.purebasic.fr/english/viewtop ... 83#p384210), but my Apps crashed. I think you are right, Cocoa is needed for this...
yes. I tried that, but on Mountain Lion with XCode 4.4, using this in Terminal:
Code: Select all
sudo chmod -R a+xr "$1"
codesign -s "Developer ID Application: quadWorks" -fv "$1"
Code: Select all
codesign_allocate: can't allocate code signature data for: /Users/joe/Desktop/test.app/Contents/MacOS/test (for architecture i386) because larger updated load commands do not fit (the program must be relinked using a larger -headerpad value)
/Users/joe/Desktop/test.app: object file format unrecognized, invalid, or unsuitable
Probably installed 4.4 to early... I have no idea how to fix
Regards,
JamiroKwai
JamiroKwai
Re: Mac app store - in app purchases
Sooo anyone by now experience and possibly some example code for inapp purchases in relation to PB programming?