Inherits from NSObject
Declared in DeployGateSDK.h

Properties

appBootReportDisabled

Provides if you allowed SDK to report launching this app on DeployGate.

@property (nonatomic) BOOL appBootReportDisabled

Discussion

Provides if you allowed SDK to report launching this app on DeployGate.

Default: NO

Declared In

DeployGateSDK.h

appUpdateCheckDisabled

Provides if you allowed SDK to report launching this app on DeployGate. This feature is not implmented as push notification. SDK checks latest revision from deploygate.com at the launching time. Note that you need to set YES to userInformationEnabled to alert Update Check.

@property (nonatomic) BOOL appUpdateCheckDisabled

Discussion

Provides if you allowed SDK to report launching this app on DeployGate. This feature is not implmented as push notification. SDK checks latest revision from deploygate.com at the launching time. Note that you need to set YES to userInformationEnabled to alert Update Check.

Default: NO

Declared In

DeployGateSDK.h

crashReportDisabled

If SDK reports crash logs on DeployGate. Note that crash logs are sent after the application did finish the next launching. Crash logs are generated by PLCrashReporter. It is a reliable open soruce crash report framework. Note that SDK doesn’t send Crash Report at the crash time but next launch.

@property (nonatomic) BOOL crashReportDisabled

Discussion

If SDK reports crash logs on DeployGate. Note that crash logs are sent after the application did finish the next launching. Crash logs are generated by PLCrashReporter. It is a reliable open soruce crash report framework. Note that SDK doesn’t send Crash Report at the crash time but next launch.

Default: NO

Declared In

DeployGateSDK.h

options

DeployGate Options Sets this options to ‘options’ property.

@property (nonatomic) DeployGateSDKOption options

Discussion

DeployGate Options Sets this options to ‘options’ property.

Declared In

DeployGateSDK.h

userAuthorization

If the user downloading this app is authenticated on the Deploygate.

@property (nonatomic, readonly) BOOL userAuthorization

Discussion

If the user downloading this app is authenticated on the Deploygate.

Default: NO

Declared In

DeployGateSDK.h

Instance Methods

handleOpenUrl:sourceApplication:annotation:

Asks SDK to open callback from mobile safari. If you set YES on launchDisabled property, SDK does nothing in this method and returns NO.

- (BOOL)handleOpenUrl:(NSURL *)url sourceApplication:(NSString *)sourceApplication annotation:(id)annotation

Parameters

url

The URL resource to open. SDK can open only DeployGate URL Scheme you set.

sourceApplication

The Bundle ID of the app that is requesting your app to open the URL.

annotation

A property-list object supplied by the source app to communicate information to the receiving app.

Discussion

Asks SDK to open callback from mobile safari. If you set YES on launchDisabled property, SDK does nothing in this method and returns NO.

Declared In

DeployGateSDK.h

launchApplicationWithAuthor:key:

Starts DeployGate session using the onwer name and her/his api key.

- (void)launchApplicationWithAuthor:(NSString *)author key:(NSString *)apiKey

Parameters

author

owner name for this application

apiKey

api key of the owner

Discussion

Starts DeployGate session using the onwer name and her/his api key.

Declared In

DeployGateSDK.h

launchApplicationWithAuthor:key:userInfomationEnabled:

Starts DeployGate session using the onwer name and her/his api key. You can choose whether SDK use user information in your app or not.

- (void)launchApplicationWithAuthor:(NSString *)author key:(NSString *)apiKey userInfomationEnabled:(BOOL)userInfomationEnabled

Parameters

author

owner name for this application

apiKey

api key of the owner

userInfomationEnabled

If SDK use user information on DeployGate.

Discussion

Starts DeployGate session using the onwer name and her/his api key. You can choose whether SDK use user information in your app or not.

When you set YES to userInfomationEnabled, your app transit to mobile safari and get back with the user information.

Declared In

DeployGateSDK.h

userAuthorizationWithCompletionHandler:

Checks if the author has still allowed the user to use this app on DeployGate. You can execute a block before check user authorization. If you set YES on launchDisabled property, SDK does nothing in this method. Note that the handler passes NO, when SDK doesn’t know who is using this app.

- (void)userAuthorizationWithCompletionHandler:(void ( ^ ) ( BOOL authorized , NSError *error ))handler

Parameters

handler

The handler block to catch the result.

Discussion

Checks if the author has still allowed the user to use this app on DeployGate. You can execute a block before check user authorization. If you set YES on launchDisabled property, SDK does nothing in this method. Note that the handler passes NO, when SDK doesn’t know who is using this app.

Declared In

DeployGateSDK.h