The iOS SDK is an incredibly simple white-labeled solution to sell printed products entirely in your iPhone/iPad application. The entire transaction takes place seamlessly within your application, and we never use/reuse/share your customer data.
In order to get started with the SDK, you need to get an API key (which we call RecipeId).
This can be obtained by signing up.
Add Gooten SDK to your project (CocoaPods)
Open a terminal window, and $ cd into your project directory.
Create a Podfile. This can be done by running $ pod init.
Open your Podfile and add a CocoaPod by specifying pod ‘PrintIO’ on a single line inside your target block.
target 'MyProject' do
Save your Podfile and run $ pod install.
Add Gooten SDK to your project (manually from Git)
From releases download latest release Source code (zip)
Unzip it, and drag PrintIO.framework, PrintIOBundle.bundle and TextBundle.bundle to your project
Select target -> Build Settings -> Framework Search Paths and add path to folder where PrintIO framework is
Select target -> Build Phases -> Link Binary With Libraries and add libraries libc++, libsqlite3 and libxml2
Select target -> Build Settings -> Other Linker Flags and add -all_load
To run sdk on real devices: Select Target -> Build Settings -> Enable Bitcode set to No
Quick Launch Code
Example code for launching Gooten SDK from view controller (below is sample recipeId, you can provide recipeId from Gooten):
In Swift, first put #import <PrintIO/PrintIO.h> into -Bridging-Header.h.
iOS 9 and XCode 7 support:
If you have problem with loading images, please use temporary solution for this issue:
In Info.plist under Information Property List add NSAppTransportSecurity, and under NSAppTransportSecurity add NSAllowsArbitraryLoads and set it to YES.
It seems that you do not have a default email client set up in your browser. Don’t worry, you can still contact us – Simply copy the address below to your email client of choice.