Delay Channel Registration

Delay channel registration from occurring on the application’s first run.

When an end user runs your application for the first time after installing it, a channel is created and returned to Airship. The channel registration automatically occurs on the application’s first run. This channel then becomes the primary identifier used to address notifications and/or messages to the device.

In special situations where you do not want channel registration to occur on the application’s first run, a configuration flag can be used to delay channel registration and a method can be used to enable channel registration. Once a channel is created, the flag will be ignored.

To delay channel registration, add the channelCreationDelayEnabled flag and set it to YES in the AirshipConfig.plist file.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "">
<plist version="1.0">

Then enable channel registration by calling the enableChannelCreation method.
[ enableChannelCreation];