Auto-screenshot SDK from OneSky
Objective-C
Latest commit 10fcd77 Feb 27, 2017 @rubyluk rubyluk Merge pull request #13 from Numan1617/patch-1
Correct the location of the API key support doc

README.md

OneSky Auto Screenshot Library for iOS

This library automatically uploads screenshots of your app that contains localizable strings to your OneSky project.

NOTE: This library is not designed for distribution on App Store, remember to remove before submission.

Demo video: http://vimeo.com/91641592

Supported OneSky Project File Format

At the moment the auto screenshot library does not support OneSky iOS project with .xliff files. We recommend managing iOS project resources using our Xcode IDE plugin which supports .strings, .stringsdict, .plist and .json files.

Installation

  1. Locate OneSkyScreenshotHelper.framework in the example project and drag the folder into the Frameworks section of your Project Navigator.
  2. Make sure CoreGrahpics.framework is also added to your app's target.
  3. Under Build Settings of the target, add -ObjC to Other Linker Flags setting.

Integration

Import the library header

#import <OneSkyScreenshotHelper/OneSkyScreenshotHelper.h>

Add the following code in under -application:didFinishLaunchingWithOptions: in your app delegate:

[[OneSkyScreenshotHelper sharedHelper] setProjectId:ONESKY_PROJECT_ID];
[[OneSkyScreenshotHelper sharedHelper] setApiKey:ONESKY_API_KEY];
[[OneSkyScreenshotHelper sharedHelper] setApiSecret:ONESKY_API_SECRET];
    
[[OneSkyScreenshotHelper sharedHelper] startSession];

ONESKY_API_KEY, ONESKY_API_SECRET can be found in Site Settings under API Keys & Usage on OneSky Web Admin. ONESKY_PROJECT_ID can be found under All Projects page.

NOTE: The above parameters must be set before calling -startSession.

Advance Settings

Turn off capture status ui.

[[OneSkyScreenshotHelper sharedHelper] setShowsCatpureStatus:NO];

Ignore specific strings files e.g. strings resources from 3rd-party libraries.

[[OneSkyScreenshotHelper sharedHelper] setIgnoredStringsFiles:@[@"InfoPlist.strings"]];

Helpful articles

How to find API key

Support

http://support.oneskyapp.com/