Inherits from UIResponder
Conforms to UIApplicationDelegate
Declared in ARApplication.h

Overview

By inheriting your AppDelegate by ARApplication, the management of the ARService is done for you. You just have to implement the AppRelayAPIKey method in your AppDelegate.m file to return your API Key.

Tasks

Instance Methods

AppRelayAPIKey

Returns the AppRelay API Key.

- (NSString *)AppRelayAPIKey

Declared In

ARApplication.h

AppRelayBundleId

Returns the AppRelay Bundle Id.

- (NSString *)AppRelayBundleId

Declared In

ARApplication.h

AppRelayCampaignsEnabled

Returns whether or not the Application enables the campaigns.

- (BOOL)AppRelayCampaignsEnabled

Declared In

ARApplication.h

didReceiveErrorWithCategory:error:

Overload this method to get notified of possible silent errors in the sdk.

- (void)didReceiveErrorWithCategory:(NSString *)category error:(NSError *)error

Declared In

ARApplication.h

didReceiveRemoteNotificationWithTopicUUID:messageUUID:openingApplication:

Overload this method to present Topic view controller when a remote notification is received

- (void)didReceiveRemoteNotificationWithTopicUUID:(NSString *)topicUUID messageUUID:(NSString *)messageUUID openingApplication:(BOOL)openingApplication

Declared In

ARApplication.h

restartAppRelayService

Call this method whenever you’d like to restart the service. When the config changes for example and has an impact on service Urls or bundle ids.

- (void)restartAppRelayService

Declared In

ARApplication.h