All files / src withIterable.types.ts

0% Statements 0/0
0% Branches 0/0
0% Functions 0/0
0% Lines 0/0

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37                                                                         
export interface ConfigPluginProps {
  /**
   * The environment of the app.
   * @default 'development'
   */
  appEnvironment?: 'development' | 'production';
  /**
   * Whether to automatically configure push notifications.
   *
   * If true, this will set up the necessary permissions and configurations for
   * push notifications according to the Iterable SDK documentation.  If you
   * would like to build your own push notification configuration, set this to
   * false -- but do so with caution as Iterable cannot guarantee compatibility
   * with custom push notification configurations.
   * @default true
   */
  autoConfigurePushNotifications?: boolean;
  /**
   * Whether to enable time-sensitive push notifications.
   *
   * (iOS only)
   *
   * @default true
   */
  enableTimeSensitivePush?: boolean;
  /**
   * Whether to request permissions for push notifications.
   *
   * (iOS only)
   *
   * @default false
   */
  requestPermissionsForPushNotifications?: boolean;
}
 
export type ConfigPluginPropsWithDefaults = Required<ConfigPluginProps>;