@ua/capacitor-airship 3.1.0 → 4.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- {"version":3,"file":"plugin.js","sources":["esm/AirshipActions.js","esm/AirshipAnalytics.js","esm/AttributeEditor.js","esm/EventType.js","esm/SubscriptionListEditor.js","esm/TagEditor.js","esm/TagGroupEditor.js","esm/AirshipChannel.js","esm/ScopedSubscriptionListEditor.js","esm/AirshipContact.js","esm/AirshipFeatureFlagManager.js","esm/AirshipInApp.js","esm/AirshipLocale.js","esm/AirshipMessageCenter.js","esm/AirshipPreferenceCenter.js","esm/AirshipPrivacyManager.js","esm/AirshipPush.js","esm/AirshipLiveActivityManager.js","esm/AirshipLiveUpdateManager.js","esm/AirshipRoot.js","esm/AirshipPlugin.js","esm/types.js","esm/index.js"],"sourcesContent":["/**\n * Airship actions.\n */\nexport class AirshipActions {\n constructor(plugin) {\n this.plugin = plugin;\n }\n /**\n * Runs an Airship action.\n *\n * @param name The name of the action.\n * @param value The action's value.\n * @return A promise that returns the action result if the action\n * successfully runs, or the Error if the action was unable to be run.\n */\n run(actionName, actionValue) {\n return this.plugin.perform('actions#run', [actionName, actionValue]);\n }\n}\n//# sourceMappingURL=AirshipActions.js.map","/**\n * Airship analytics.\n */\nexport class AirshipAnalytics {\n constructor(plugin) {\n this.plugin = plugin;\n }\n /**\n * Associates an identifier.\n *\n * @param key The key.\n * @param identifier The identifier. `null` to remove.\n * @returns A promise.\n */\n associateIdentifier(key, identifier) {\n return this.plugin.perform('analytics#associateIdentifier', [\n key,\n identifier,\n ]);\n }\n /**\n * Tracks a screen.\n * @param screen The screen. `null` to stop tracking.\n * @returns A promise.\n */\n trackScreen(screen) {\n return this.plugin.perform('analytics#trackScreen', screen);\n }\n /**\n * Adds a custom event.\n * @param event The custom event.\n * @return A promise that returns null if resolved, or an Error if the\n * custom event is rejected.\n */\n addCustomEvent(event) {\n return this.plugin.perform('analytics#addCustomEvent', event);\n }\n}\n//# sourceMappingURL=AirshipAnalytics.js.map","/* Copyright Airship and Contributors */\n'use strict';\n/**\n * Editor for attributes.\n */\nexport class AttributeEditor {\n /**\n * AttributeEditor constructor\n *\n * @hidden\n * @param onApply The apply function\n */\n constructor(onApply) {\n this.onApply = onApply;\n this.operations = [];\n }\n /**\n * Adds an attribute.\n *\n * @param value The attribute value.\n * @param name The attribute name.\n * @return The attribute editor instance.\n */\n setAttribute(name, value) {\n let attributeValue;\n let attributeType;\n if (typeof value === 'boolean') {\n // No boolean attribute type. Convert value to string.\n attributeValue = value.toString();\n attributeType = 'string';\n }\n else {\n attributeValue = value;\n if (typeof value === 'string') {\n attributeType = 'string';\n }\n else if (typeof attributeValue === 'number') {\n attributeType = 'number';\n }\n else if (value instanceof Date) {\n // JavaScript's date type doesn't pass through the JS to native bridge.\n // Dates are instead serialized as milliseconds since epoch.\n attributeType = 'date';\n attributeValue = value.getTime();\n }\n else {\n throw 'Unsupported attribute type: ' + typeof attributeValue;\n }\n }\n const operation = {\n action: 'set',\n value: attributeValue,\n key: name,\n type: attributeType,\n };\n this.operations.push(operation);\n return this;\n }\n /**\n * Removes an attribute.\n * @param name The name of the attribute to remove.\n * @return The attribute editor instance.\n */\n removeAttribute(name) {\n const operation = { action: 'remove', key: name };\n this.operations.push(operation);\n return this;\n }\n /**\n * Applies the attribute operations.\n */\n apply() {\n return this.onApply(this.operations);\n }\n}\n//# sourceMappingURL=AttributeEditor.js.map","export var EventType;\n(function (EventType) {\n EventType[\"ChannelCreated\"] = \"channel_created\";\n EventType[\"NotificationResponse\"] = \"notification_response_received\";\n EventType[\"PushReceived\"] = \"push_received\";\n EventType[\"DeepLink\"] = \"deep_link_received\";\n EventType[\"MessageCenterUpdated\"] = \"message_center_updated\";\n EventType[\"PushNotificationStatusChangedStatus\"] = \"notification_status_changed\";\n EventType[\"DisplayMessageCenter\"] = \"display_message_center\";\n EventType[\"DisplayPreferenceCenter\"] = \"display_preference_center\";\n EventType[\"PushTokenReceived\"] = \"push_token_received\";\n EventType[\"IOSAuthorizedNotificationSettingsChanged\"] = \"ios_authorized_notification_settings_changed\";\n EventType[\"IOSLiveActivitiesUpdated\"] = \"ios_live_activities_updated\";\n})(EventType || (EventType = {}));\n//# sourceMappingURL=EventType.js.map","/* Copyright Airship and Contributors */\n'use strict';\n/**\n * Enum of internal subscription list update type.\n * @hidden\n */\nvar SubscriptionListOperationAction;\n(function (SubscriptionListOperationAction) {\n SubscriptionListOperationAction[\"subscribe\"] = \"subscribe\";\n SubscriptionListOperationAction[\"unsubscribe\"] = \"unsubscribe\";\n})(SubscriptionListOperationAction || (SubscriptionListOperationAction = {}));\n/**\n * Subscription list editor.\n */\nexport class SubscriptionListEditor {\n constructor(onApply) {\n this.onApply = onApply;\n this.operations = [];\n }\n /**\n * Subscribes to a list.\n *\n * @param subscriptionListId The subscription list identifier.\n * @returns The editor\n */\n subscribe(subscriptionListId) {\n const operation = {\n listId: subscriptionListId,\n action: SubscriptionListOperationAction.subscribe,\n };\n this.operations.push(operation);\n return this;\n }\n /**\n * Unsubscribe from a list.\n *\n * @param subscriptionListId The subscription list identifier.\n * @returns The editor\n */\n unsubscribe(subscriptionListId) {\n const operation = {\n listId: subscriptionListId,\n action: SubscriptionListOperationAction.unsubscribe,\n };\n this.operations.push(operation);\n return this;\n }\n /**\n * Applies subscription list changes.\n *\n */\n apply() {\n return this.onApply(this.operations);\n }\n}\n//# sourceMappingURL=SubscriptionListEditor.js.map","/* Copyright Airship and Contributors */\n'use strict';\n/**\n * Editor for device tags.\n */\nexport class TagEditor {\n /**\n * TagEditor constructor\n *\n * @hidden\n * @param onApply The apply function\n */\n constructor(onApply) {\n this.onApply = onApply;\n this.operations = [];\n }\n /**\n * Adds tags to a channel.\n *\n * @param tags Tags to add.\n * @return The tag editor instance.\n */\n addTags(tags) {\n const operation = { operationType: 'add', tags: tags };\n this.operations.push(operation);\n return this;\n }\n /**\n * Removes tags from the channel.\n *\n * @param tags Tags to remove.\n * @return The tag editor instance.\n */\n removeTags(tags) {\n const operation = { operationType: 'remove', tags: tags };\n this.operations.push(operation);\n return this;\n }\n /**\n * Applies the tag changes.\n */\n apply() {\n return this.onApply(this.operations);\n }\n}\n//# sourceMappingURL=TagEditor.js.map","/* Copyright Airship and Contributors */\n'use strict';\n/**\n * Editor for tag groups.\n */\nexport class TagGroupEditor {\n /**\n * TagGroupEditor constructor\n *\n * @hidden\n * @param onApply The apply function\n */\n constructor(onApply) {\n this.onApply = onApply;\n this.operations = [];\n }\n /**\n * Adds tags to a tag group.\n *\n * @param tagGroup The tag group.\n * @param tags Tags to add.\n * @return The tag group editor instance.\n */\n addTags(group, tags) {\n const operation = { operationType: 'add', group: group, tags: tags };\n this.operations.push(operation);\n return this;\n }\n /**\n * Removes tags from the tag group.\n *\n * @param tagGroup The tag group.\n * @param tags Tags to remove.\n * @return The tag group editor instance.\n */\n removeTags(group, tags) {\n const operation = { operationType: 'remove', group: group, tags: tags };\n this.operations.push(operation);\n return this;\n }\n /**\n * Overwrite the current set of tags on the Tag Group.\n *\n * @param tagGroup The tag group.\n * @param tags Tags to set.\n * @return The tag group editor instance.\n */\n setTags(group, tags) {\n const operation = { operationType: 'set', group: group, tags: tags };\n this.operations.push(operation);\n return this;\n }\n /**\n * Applies the tag changes.\n */\n apply() {\n return this.onApply(this.operations);\n }\n}\n//# sourceMappingURL=TagGroupEditor.js.map","import { AttributeEditor } from './AttributeEditor';\nimport { EventType } from './EventType';\nimport { SubscriptionListEditor } from './SubscriptionListEditor';\nimport { TagEditor } from './TagEditor';\nimport { TagGroupEditor } from './TagGroupEditor';\n/**\n * Airship channel.\n */\nexport class AirshipChannel {\n constructor(plugin) {\n this.plugin = plugin;\n }\n /**\n * Gets the device tags.\n * @returns A promise with the result.\n */\n getTags() {\n return this.plugin.perform('channel#getTags');\n }\n /**\n * Gets the channel Id.\n *\n * @returns A promise with the result.\n */\n getChannelId() {\n return this.plugin.perform('channel#getChannelId');\n }\n /**\n * Gets a list of the channel's subscriptions.\n * @returns A promise with the result.\n */\n getSubscriptionLists() {\n return this.plugin.perform('channel#getSubscriptionLists');\n }\n /**\n * Edits tags.\n * @returns A tag group editor.\n */\n editTags() {\n return new TagEditor((operations) => {\n return this.plugin.perform('channel#editTags', operations);\n });\n }\n /**\n * Edits tag groups.\n * @returns A tag group editor.\n */\n editTagGroups() {\n return new TagGroupEditor((operations) => {\n return this.plugin.perform('channel#editTagGroups', operations);\n });\n }\n /**\n * Edits attributes.\n * @returns An attribute editor.\n */\n editAttributes() {\n return new AttributeEditor((operations) => {\n return this.plugin.perform('channel#editAttributes', operations);\n });\n }\n /**\n * Edits subscription lists.\n * @returns A subscription list editor.\n */\n editSubscriptionLists() {\n return new SubscriptionListEditor((operations) => {\n return this.plugin.perform('channel#editSubscriptionLists', operations);\n });\n }\n /**\n * Enables channel creation if channel creation has been delayed.\n * It is only necessary to call this when isChannelCreationDelayEnabled\n * has been set to `true` in the airship config.\n * Deprecated. Use the Private Manager to disable all features instead.\n */\n enableChannelCreation() {\n return this.plugin.perform('channel#enableChannelCreation');\n }\n /**\n * Adds a channel created listener\n */\n onChannelCreated(listener) {\n return this.plugin.addListener(EventType.ChannelCreated, listener);\n }\n}\n//# sourceMappingURL=AirshipChannel.js.map","/* Copyright Airship and Contributors */\n'use strict';\n/**\n * Enum of internal scoped subscription list update type.\n * @hidden\n */\nvar ScopedSubscriptionListOperationAction;\n(function (ScopedSubscriptionListOperationAction) {\n ScopedSubscriptionListOperationAction[\"subscribe\"] = \"subscribe\";\n ScopedSubscriptionListOperationAction[\"unsubscribe\"] = \"unsubscribe\";\n})(ScopedSubscriptionListOperationAction || (ScopedSubscriptionListOperationAction = {}));\n/**\n * Scoped subscription list editor.\n */\nexport class ScopedSubscriptionListEditor {\n /**\n */\n constructor(onApply) {\n this.onApply = onApply;\n this.operations = [];\n }\n /**\n * Subscribes to a list in the given scope.\n *\n * @param subscriptionListId The subscription list identifier.\n * @param scope The subscription scope to subscribe.\n * @returns The editor.\n */\n subscribe(subscriptionListId, scope) {\n const operation = {\n listId: subscriptionListId,\n action: ScopedSubscriptionListOperationAction.subscribe,\n scope: scope,\n };\n this.operations.push(operation);\n return this;\n }\n /**\n * Unsubscribe from a list.\n *\n * @param subscriptionListId The subscription list identifier.\n * @param scope The subscription scope to unsubscribe.\n * @returns The editor.\n */\n unsubscribe(subscriptionListId, scope) {\n const operation = {\n listId: subscriptionListId,\n action: ScopedSubscriptionListOperationAction.unsubscribe,\n scope: scope,\n };\n this.operations.push(operation);\n return this;\n }\n /**\n * Applies subscription list changes.\n *\n */\n apply() {\n return this.onApply(this.operations);\n }\n}\n//# sourceMappingURL=ScopedSubscriptionListEditor.js.map","import { AttributeEditor } from './AttributeEditor';\nimport { ScopedSubscriptionListEditor } from './ScopedSubscriptionListEditor';\nimport { TagGroupEditor } from './TagGroupEditor';\n/**\n * Airship contact.\n */\nexport class AirshipContact {\n constructor(plugin) {\n this.plugin = plugin;\n }\n /**\n * Identifies the contact with a named user Id.\n * @param namedUser The named user Id.\n * @returns A promise.\n */\n identify(namedUser) {\n return this.plugin.perform('contact#identify', namedUser);\n }\n /**\n * Resets the contact.\n * @returns A promise.\n */\n reset() {\n return this.plugin.perform('contact#reset');\n }\n /**\n * Gets the named user Id.\n * @returns A promise with the result.\n */\n getNamedUserId() {\n return this.plugin.perform('contact#getNamedUserId');\n }\n /**\n * Gets the contacts subscription lists.\n * @returns A promise with the result.\n */\n getSubscriptionLists() {\n return this.plugin.perform('contact#getSubscriptionLists');\n }\n /**\n * Edits tag groups.\n * @returns A tag group editor.\n */\n editTagGroups() {\n return new TagGroupEditor((operations) => {\n return this.plugin.perform('contact#editTagGroups', operations);\n });\n }\n /**\n * Edits attributes.\n * @returns An attribute editor.\n */\n editAttributes() {\n return new AttributeEditor((operations) => {\n return this.plugin.perform('contact#editAttributes', operations);\n });\n }\n /**\n * Edits subscription lists.\n * @returns A subscription list editor.\n */\n editSubscriptionLists() {\n return new ScopedSubscriptionListEditor((operations) => {\n return this.plugin.perform('contact#editSubscriptionLists', operations);\n });\n }\n}\n//# sourceMappingURL=AirshipContact.js.map","/**\n * Airship feature flag manager.\n */\nexport class AirshipFeatureFlagManager {\n constructor(plugin) {\n this.plugin = plugin;\n }\n /**\n * Retrieve a given flag's status and associated data by its name.\n * @param {string} flagName The flag name\n * @return {Promise<FeatureFlag>} A promise resolving to the feature flag\n * requested.\n * @throws {Error} when failed to fetch\n */\n flag(flagName) {\n return this.plugin.perform('featureFlagManager#flag', flagName);\n }\n /**\n * Tracks a feature flag interaction event.\n * @param {FeatureFlag} flag The flag\n * @return {Promise<Void>} A promise with an empty result.\n * @throws {Error} when failed to fetch\n */\n trackInteraction(flag) {\n return this.plugin.perform('featureFlagManager#trackInteraction', flag);\n }\n}\n//# sourceMappingURL=AirshipFeatureFlagManager.js.map","/**\n * Airship InApp Experiences.\n */\nexport class AirshipInApp {\n constructor(plugin) {\n this.plugin = plugin;\n }\n /**\n * Pauses messages.\n * @param paused `true` to pause, `false` to resume.\n * @returns A promise.\n */\n setPaused(paused) {\n return this.plugin.perform('inApp#setPaused', paused);\n }\n /**\n * Checks if messages are paused.\n * @returns A promise with the result.\n */\n isPaused() {\n return this.plugin.perform('inApp#isPaused');\n }\n /**\n * Sets the display interval for messages.\n * @param milliseconds Display interval\n * @returns A promise.\n */\n setDisplayInterval(milliseconds) {\n return this.plugin.perform('inApp#setDisplayInterval', milliseconds);\n }\n /**\n * Gets the display interval.\n * @returns A promise with the result.\n */\n getDisplayInterval() {\n return this.plugin.perform('inApp#getDisplayInterval');\n }\n}\n//# sourceMappingURL=AirshipInApp.js.map","/**\n * Manages locale used by Airship messaging.\n */\nexport class AirshipLocale {\n constructor(plugin) {\n this.plugin = plugin;\n }\n /**\n * Sets the locale override.\n * @param localeIdentifier The locale identifier.\n * @returns A promise.\n */\n setLocaleOverride(localeIdentifier) {\n return this.plugin.perform('locale#setLocaleOverride', localeIdentifier);\n }\n /**\n * Clears the locale override.\n * @returns A promise.\n */\n clearLocaleOverride() {\n return this.plugin.perform('locale#clearLocaleOverride');\n }\n /**\n * Gets the current locale.\n * @returns A promise with the result.\n */\n getLocale() {\n return this.plugin.perform('locale#getLocale');\n }\n}\n//# sourceMappingURL=AirshipLocale.js.map","import { EventType } from './EventType';\n/**\n * Airship Message Center\n */\nexport class AirshipMessageCenter {\n constructor(plugin) {\n this.plugin = plugin;\n }\n /**\n * Gets the unread count.\n * @returns A promise with the result.\n */\n getUnreadCount() {\n return this.plugin.perform('messageCenter#getUnreadCount');\n }\n /**\n * Gets the inbox messages.\n * @returns A promise with the result.\n */\n getMessages() {\n return this.plugin.perform('messageCenter#getMessages');\n }\n /**\n * Marks a message as read.\n * @param messageId The message Id.\n * @returns A promise. Will reject if the message is not\n * found or if takeOff is not called.\n */\n markMessageRead(messageId) {\n return this.plugin.perform('messageCenter#markMessageRead', messageId);\n }\n /**\n * Deletes a message.\n * @param messageId The message Id.\n * @returns A promise. Will reject if the message is not\n * found or if takeOff is not called.\n */\n deleteMessage(messageId) {\n return this.plugin.perform('messageCenter#deleteMessage', messageId);\n }\n /**\n * Dismisses the OOTB message center if displayed.\n * @returns A promise.\n */\n dismiss() {\n return this.plugin.perform('messageCenter#dismiss');\n }\n /**\n * Requests to display the Message Center.\n *\n * Will either emit an event to display the\n * Message Center if auto launch message center\n * is disabled, or display the OOTB message center.\n * @param messageId Optional message Id.\n * @returns A promise.\n */\n display(messageId) {\n return this.plugin.perform('messageCenter#display', messageId);\n }\n /**\n * Overlays the message view. Should be used to display the actual\n * message body in a custom Message Center.\n *\n * @param messageId The message Id.\n * @returns A promise.\n */\n showMessageView(messageId) {\n return this.plugin.perform('messageCenter#showMessageView', messageId);\n }\n /**\n * Overlays the message center regardless if auto launch Message Center is enabled or not.\n *\n * @param messageId Optional message Id.\n * @returns A promise.\n */\n showMessageCenter(messageId) {\n return this.plugin.perform('messageCenter#showMessageCenter', messageId);\n }\n /**\n * Refreshes the messages.\n * @returns A promise. Will reject if the list fails to refresh or if\n * takeOff is not called yet.\n */\n refreshMessages() {\n return this.plugin.perform('messageCenter#refreshMessages');\n }\n /**\n * Enables or disables showing the OOTB UI when requested to display by either\n * `display` or by a notification with a Message Center action.\n * @param autoLaunch true to show OOTB UI, false to emit events.\n */\n setAutoLaunchDefaultMessageCenter(autoLaunch) {\n return this.plugin.perform('messageCenter#setAutoLaunchDefaultMessageCenter', autoLaunch);\n }\n /**\n * Adds a display message center listener.\n */\n onDisplay(listener) {\n return this.plugin.addListener(EventType.DisplayMessageCenter, listener);\n }\n /**\n * Adds a message center list updated listener.\n */\n onUpdated(listener) {\n return this.plugin.addListener(EventType.MessageCenterUpdated, listener);\n }\n}\n//# sourceMappingURL=AirshipMessageCenter.js.map","import { EventType } from './EventType';\n/**\n * Airship Preference Center.\n */\nexport class AirshipPreferenceCenter {\n constructor(plugin) {\n this.plugin = plugin;\n }\n /**\n * Requests to display a preference center.\n *\n * Will either emit an event to display the\n * Preference Center if auto launch is disabled,\n * or display the OOTB UI.\n * @param preferenceCenterId The preference center Id.\n * @returns A promise.\n */\n display(preferenceCenterId) {\n return this.plugin.perform('preferenceCenter#display', preferenceCenterId);\n }\n /**\n * Gets the preference center config.\n * @param preferenceCenterId The preference center Id.\n * @returns A promise with the result.\n */\n getConfig(preferenceCenterId) {\n return this.plugin.perform('preferenceCenter#getConfig', preferenceCenterId);\n }\n /**\n * Enables or disables showing the OOTB UI when requested to display by either\n * `display` or by a notification with some other action.\n * @param preferenceCenterId The preference center Id.\n * @param autoLaunch true to show OOTB UI, false to emit events.\n * @returns A promise with the result.\n */\n setAutoLaunchDefaultPreferenceCenter(preferenceCenterId, autoLaunch) {\n return this.plugin.perform('preferenceCenter#getConfig', [\n preferenceCenterId,\n autoLaunch,\n ]);\n }\n /**\n * Adds a display message center listener.\n */\n onDisplay(listener) {\n return this.plugin.addListener(EventType.DisplayPreferenceCenter, listener);\n }\n}\n//# sourceMappingURL=AirshipPreferenceCenter.js.map","/**\n * Airship Privacy Manager.\n */\nexport class AirshipPrivacyManager {\n constructor(plugin) {\n this.plugin = plugin;\n }\n /**\n * Sets the current set of enabled features.\n * @param features The features to set.\n * @returns A promise.\n */\n setEnabledFeatures(features) {\n return this.plugin.perform('privacyManager#setEnabledFeatures', features);\n }\n /**\n * Gets the current enabled features.\n * @returns A promise with the result.\n */\n getEnabledFeatures() {\n return this.plugin.perform('privacyManager#getEnabledFeatures');\n }\n /**\n * Enables additional features.\n * @param features The features to enable.\n * @returns A promise.\n */\n enableFeatures(features) {\n return this.plugin.perform('privacyManager#enableFeatures', features);\n }\n /**\n * Disable features.\n * @param features The features to disable.\n * @returns A promise.\n */\n disableFeatures(features) {\n return this.plugin.perform('privacyManager#disableFeatures', features);\n }\n /**\n * Checks if the features are enabled or not.\n * @param features The features to check.\n * @returns A promise with the result.\n */\n isFeaturesEnabled(features) {\n return this.plugin.perform('privacyManager#isFeaturesEnabled', features);\n }\n}\n//# sourceMappingURL=AirshipPrivacyManager.js.map","import { EventType } from './EventType';\n/**\n * Airship Push.\n */\nexport class AirshipPush {\n constructor(plugin) {\n this.plugin = plugin;\n this.iOS = new AirshipPushIOS(plugin);\n this.android = new AirshipPushAndroid(plugin);\n }\n /**\n * Enables/disables notifications on Airship.\n *\n * When enabled, it will cause the user to be prompted for\n * the permission on platforms that support it.\n * To get the result of the prompt, use `enableUserNotifications`.\n * @param enabled true to enable, false to disable\n * @returns A promise.\n */\n setUserNotificationsEnabled(enabled) {\n return this.plugin.perform('push#setUserNotificationsEnabled', enabled);\n }\n /**\n * Checks if user notifications are enabled or not on Airship.\n * @returns A promise with the result.\n */\n isUserNotificationsEnabled() {\n return this.plugin.perform('push#isUserNotificationsEnabled');\n }\n /**\n * Enables user notifications.\n * @param options Optional options.\n * @returns A promise with the permission result.\n */\n enableUserNotifications(options) {\n return this.plugin.perform('push#enableUserNotifications', options);\n }\n /**\n * Gets the notification status.\n * @returns A promise with the result.\n */\n getNotificationStatus() {\n return this.plugin.perform('push#getNotificationStatus');\n }\n /**\n * Gets the registration token if generated.\n * Use the event EventType.PushTokenReceived to be notified\n * when available.\n * @returns A promise with the result.\n */\n getPushToken() {\n return this.plugin.perform('push#getPushToken');\n }\n /**\n * Gets the list of active notifications.\n *\n * On Android, this list only includes notifications\n * sent through Airship.\n * @returns A promise with the result.\n */\n getActiveNotifications() {\n return this.plugin.perform('push#getActiveNotifications');\n }\n /**\n * Clears all notifications for the app.\n * @returns A promise with the result.\n */\n clearNotifications() {\n return this.plugin.perform('push#clearNotifications');\n }\n /**\n * Clears a specific notification.\n *\n * On Android, you can use this method to clear\n * notifications outside of Airship, The identifier is in\n * the format of <tag>:<id>.\n * @param identifier The identifier.\n * @returns A promise with the result.\n */\n clearNotification(identifier) {\n return this.plugin.perform('push#clearNotification', identifier);\n }\n /**\n * Adds a notification response event listener.\n */\n onNotificationResponse(listener) {\n return this.plugin.addListener(EventType.NotificationResponse, listener);\n }\n /**\n * Adds a push received event listener.\n */\n onPushReceived(listener) {\n return this.plugin.addListener(EventType.PushReceived, listener);\n }\n /**\n * Adds a notification status changed event listener.\n */\n onNotificationStatusChanged(listener) {\n return this.plugin.addListener(EventType.PushNotificationStatusChangedStatus, listener);\n }\n /**\n * Adds a notification status changed event listener.\n */\n onPushTokenReceived(listener) {\n return this.plugin.addListener(EventType.PushTokenReceived, listener);\n }\n}\n/**\n * iOS Push.\n */\nexport class AirshipPushIOS {\n constructor(plugin) {\n this.plugin = plugin;\n }\n /**\n * Sets the foreground presentation options.\n * @param options The foreground options.\n * @returns A promise.\n */\n setForegroundPresentationOptions(options) {\n return this.plugin.perform('push#ios#setForegroundPresentationOptions', options);\n }\n /**\n * Sets the notification options.\n * @param options The notification options.\n * @returns A promise.\n */\n setNotificationOptions(options) {\n return this.plugin.perform('push#ios#setNotificationOptions', options);\n }\n /**\n * Checks if autobadge is enabled.\n * @returns A promise with the result.\n */\n isAutobadgeEnabled() {\n return this.plugin.perform('push#ios#isAutobadgeEnabled');\n }\n /**\n * Enables/disables autobadge.\n * @param enabled true to enable, false to disable.\n * @returns A promise.\n */\n setAutobadgeEnabled(enabled) {\n return this.plugin.perform('push#ios#setAutobadgeEnabled', enabled);\n }\n /**\n * Set the badge number.\n * @param badge The badge number.\n * @returns A promise.\n */\n setBadgeNumber(badge) {\n return this.plugin.perform('push#ios#setBadgeNumber', badge);\n }\n /**\n * Gets the badge number.\n * @returns A promise with the result.\n */\n getBadgeNumber() {\n return this.plugin.perform('push#ios#getBadgeNumber');\n }\n /**\n * Enables/disables quiet time.\n *\n * @param enabled true to enable, false to disable\n * @returns A promise with the result.\n */\n setQuietTimeEnabled(enabled) {\n return this.plugin.perform('push#ios#setQuietTimeEnabled', enabled);\n }\n /**\n * Checks if quiet time is enabled or not.\n * @returns A promise with the result.\n */\n isQuietTimeEnabled() {\n return this.plugin.perform('push#ios#isQuietTimeEnabled');\n }\n /**\n * Sets quiet time.\n *\n * @param quietTime The quiet time.\n * @returns A promise with the result.\n */\n setQuietTime(quietTime) {\n return this.plugin.perform('push#ios#setQuietTime', quietTime);\n }\n /**\n * Gets the quiet time settings.\n *\n * @returns A promise with the result.\n */\n getQuietTime() {\n return this.plugin.perform('push#ios#getQuietTime');\n }\n /**\n * Adds a authorized settings changed event listener.\n */\n onAuthorizedSettingsChanged(listener) {\n return this.plugin.addListener(EventType.IOSAuthorizedNotificationSettingsChanged, listener);\n }\n}\n/**\n * Android Push.\n */\nexport class AirshipPushAndroid {\n constructor(plugin) {\n this.plugin = plugin;\n }\n /**\n * Checks if a notification category/channel is enabled.\n * @param channel The channel name.\n * @returns A promise with the result.\n */\n isNotificationChannelEnabled(channel) {\n return this.plugin.perform('push#android#isNotificationChannelEnabled', channel);\n }\n /**\n * Sets the notification config.\n * @param config The notification config.\n * @returns A promise with the result.\n */\n setNotificationConfig(config) {\n return this.plugin.perform('push#android#setNotificationConfig', config);\n }\n /**\n * Enables/disables showing notifications in the foreground.\n * @param enabled true to enable, false to disable.\n * @returns A promise with the result.\n */\n setForegroundNotificationsEnabled(enabled) {\n return this.plugin.perform('push#android#setForegroundNotificationsEnabled', enabled);\n }\n}\n//# sourceMappingURL=AirshipPush.js.map","import { EventType } from './EventType';\n/**\n * Live Activity manager.\n */\nexport class AirshipLiveActivityManager {\n constructor(plugin) {\n this.plugin = plugin;\n }\n /**\n * Lists any Live Activities for the request.\n * @param request The request options.\n * @returns A promise with the result.\n */\n list(request) {\n return this.plugin.perform('liveActivityManager#list', request);\n }\n /**\n * Lists all Live Activities.\n * @param request The request options.\n * @returns A promise with the result.\n */\n listAll() {\n return this.plugin.perform('liveActivityManager#listAll');\n }\n /**\n * Starts a Live Activity.\n * @param request The request options.\n * @returns A promise with the result.\n */\n start(request) {\n return this.plugin.perform('liveActivityManager#start', request);\n }\n /**\n * Updates a Live Activity.\n * @param request The request options.\n * @returns A promise with the result.\n */\n update(request) {\n return this.plugin.perform('liveActivityManager#update', request);\n }\n /**\n * Ends a Live Activity.\n * @param request The request options.\n * @returns A promise with the result.\n */\n end(request) {\n return this.plugin.perform('liveActivityManager#end', request);\n }\n /**\n * Adds a Live Activity listener.\n */\n onLiveActivityUpdates(listener) {\n return this.plugin.addListener(EventType.IOSLiveActivitiesUpdated, listener);\n }\n}\n//# sourceMappingURL=AirshipLiveActivityManager.js.map","/**\n * Live Update manager.\n */\nexport class AirshipLiveUpdateManager {\n constructor(plugin) {\n this.plugin = plugin;\n }\n /**\n * Lists any Live Updates for the request.\n * @param request The request options.\n * @returns A promise with the result.\n */\n list(request) {\n return this.plugin.perform('liveUpdateManager#list', request);\n }\n /**\n * Lists all Live Updates.\n * @returns A promise with the result.\n */\n listAll() {\n return this.plugin.perform('liveUpdateManager#listAll');\n }\n /**\n * Starts a Live Update.\n * @param request The request options.\n * @returns A promise with the result.\n */\n start(request) {\n return this.plugin.perform('liveUpdateManager#start', request);\n }\n /**\n * Updates a Live Update.\n * @param request The request options.\n * @returns A promise with the result.\n */\n update(request) {\n return this.plugin.perform('liveUpdateManager#update', request);\n }\n /**\n * Ends a Live Update.\n * @param request The request options.\n * @returns A promise with the result.\n */\n end(request) {\n return this.plugin.perform('liveUpdateManager#end', request);\n }\n /**\n * Clears all Live Updates.\n * @returns A promise with the result.\n */\n clearAll() {\n return this.plugin.perform('liveUpdateManager#clearAll');\n }\n}\n//# sourceMappingURL=AirshipLiveUpdateManager.js.map","import { AirshipActions } from './AirshipActions';\nimport { AirshipAnalytics } from './AirshipAnalytics';\nimport { AirshipChannel } from './AirshipChannel';\nimport { AirshipContact } from './AirshipContact';\nimport { AirshipFeatureFlagManager } from './AirshipFeatureFlagManager';\nimport { AirshipInApp } from './AirshipInApp';\nimport { AirshipLocale } from './AirshipLocale';\nimport { AirshipMessageCenter } from './AirshipMessageCenter';\nimport { AirshipPreferenceCenter } from './AirshipPreferenceCenter';\nimport { AirshipPrivacyManager } from './AirshipPrivacyManager';\nimport { AirshipPush } from './AirshipPush';\nimport { EventType } from './EventType';\nimport { AirshipLiveActivityManager } from './AirshipLiveActivityManager';\nimport { AirshipLiveUpdateManager } from './AirshipLiveUpdateManager';\n/**\n * Airship\n */\nexport class AirshipRoot {\n constructor(plugin) {\n this.plugin = plugin;\n this.actions = new AirshipActions(plugin);\n this.analytics = new AirshipAnalytics(plugin);\n this.channel = new AirshipChannel(plugin);\n this.contact = new AirshipContact(plugin);\n this.inApp = new AirshipInApp(plugin);\n this.locale = new AirshipLocale(plugin);\n this.messageCenter = new AirshipMessageCenter(plugin);\n this.preferenceCenter = new AirshipPreferenceCenter(plugin);\n this.privacyManager = new AirshipPrivacyManager(plugin);\n this.push = new AirshipPush(plugin);\n this.featureFlagManager = new AirshipFeatureFlagManager(plugin);\n this.iOS = new AirshipRootIOS(plugin);\n this.android = new AirshipRootAndroid(plugin);\n }\n /**\n * Calls takeOff. If Airship is already configured for\n * the app session, the new config will be applied on the next\n * app init.\n * @param config The config.\n * @returns A promise with the result. `true` if airship is ready.\n */\n takeOff(config) {\n return this.plugin.perform('takeOff', config);\n }\n /**\n * Checks if Airship is ready.\n * @returns A promise with the result.\n */\n isFlying() {\n return this.plugin.perform('isFlying');\n }\n /**\n * Adds a deep link listener.\n */\n onDeepLink(listener) {\n return this.plugin.addListener(EventType.DeepLink, listener);\n }\n}\nexport class AirshipRootIOS {\n constructor(plugin) {\n this.liveActivityManager = new AirshipLiveActivityManager(plugin);\n }\n}\nexport class AirshipRootAndroid {\n constructor(plugin) {\n this.liveUpdateManager = new AirshipLiveUpdateManager(plugin);\n }\n}\n//# sourceMappingURL=AirshipRoot.js.map","/// <reference types=\"@capacitor/cli\" />\nexport class AirshipPluginWrapper {\n constructor(plugin) {\n this.plugin = plugin;\n }\n perform(method, value) {\n return this.plugin.perform({ method: method, value: value }).then(value => {\n return value.value;\n });\n }\n addListener(eventType, listener) {\n return this.plugin.addListener(eventType, listener);\n }\n}\n//# sourceMappingURL=AirshipPlugin.js.map","/**\n * Enum of permission status.\n */\nexport var PermissionStatus;\n(function (PermissionStatus) {\n /**\n * Permission is granted.\n */\n PermissionStatus[\"Granted\"] = \"granted\";\n /**\n * Permission is denied.\n */\n PermissionStatus[\"Denied\"] = \"denied\";\n /**\n * Permission has not yet been requested.\n */\n PermissionStatus[\"NotDetermined\"] = \"not_determined\";\n})(PermissionStatus || (PermissionStatus = {}));\n/**\n * Fallback when prompting for permission and the permission is\n * already denied on iOS or is denied silently on Android.\n */\nexport var PromptPermissionFallback;\n(function (PromptPermissionFallback) {\n /**\n * Take the user to the system settings to enable the permission.\n */\n PromptPermissionFallback[\"SystemSettings\"] = \"systemSettings\";\n})(PromptPermissionFallback || (PromptPermissionFallback = {}));\n/**\n * iOS options\n */\nexport var iOS;\n(function (iOS) {\n /**\n * Enum of notification options. iOS only.\n */\n let NotificationOption;\n (function (NotificationOption) {\n /**\n * Alerts.\n */\n NotificationOption[\"Alert\"] = \"alert\";\n /**\n * Sounds.\n */\n NotificationOption[\"Sound\"] = \"sound\";\n /**\n * Badges.\n */\n NotificationOption[\"Badge\"] = \"badge\";\n /**\n * Car play.\n */\n NotificationOption[\"CarPlay\"] = \"car_play\";\n /**\n * Critical Alert.\n */\n NotificationOption[\"CriticalAlert\"] = \"critical_alert\";\n /**\n * Provides app notification settings.\n */\n NotificationOption[\"ProvidesAppNotificationSettings\"] = \"provides_app_notification_settings\";\n /**\n * Provisional.\n */\n NotificationOption[\"Provisional\"] = \"provisional\";\n })(NotificationOption = iOS.NotificationOption || (iOS.NotificationOption = {}));\n /**\n * Enum of foreground notification options.\n */\n let ForegroundPresentationOption;\n (function (ForegroundPresentationOption) {\n /**\n * Play the sound associated with the notification.\n */\n ForegroundPresentationOption[\"Sound\"] = \"sound\";\n /**\n * Apply the notification's badge value to the app’s icon.\n */\n ForegroundPresentationOption[\"Badge\"] = \"badge\";\n /**\n * Show the notification in Notification Center. On iOS 13 an older,\n * this will also show the notification as a banner.\n */\n ForegroundPresentationOption[\"List\"] = \"list\";\n /**\n * Present the notification as a banner. On iOS 13 an older,\n * this will also show the notification in the Notification Center.\n */\n ForegroundPresentationOption[\"Banner\"] = \"banner\";\n })(ForegroundPresentationOption = iOS.ForegroundPresentationOption || (iOS.ForegroundPresentationOption = {}));\n /**\n * Enum of authorized notification options.\n */\n let AuthorizedNotificationSetting;\n (function (AuthorizedNotificationSetting) {\n /**\n * Alerts.\n */\n AuthorizedNotificationSetting[\"Alert\"] = \"alert\";\n /**\n * Sounds.\n */\n AuthorizedNotificationSetting[\"Sound\"] = \"sound\";\n /**\n * Badges.\n */\n AuthorizedNotificationSetting[\"Badge\"] = \"badge\";\n /**\n * CarPlay.\n */\n AuthorizedNotificationSetting[\"CarPlay\"] = \"car_play\";\n /**\n * Lock screen.\n */\n AuthorizedNotificationSetting[\"LockScreen\"] = \"lock_screen\";\n /**\n * Notification center.\n */\n AuthorizedNotificationSetting[\"NotificationCenter\"] = \"notification_center\";\n /**\n * Critical alert.\n */\n AuthorizedNotificationSetting[\"CriticalAlert\"] = \"critical_alert\";\n /**\n * Announcement.\n */\n AuthorizedNotificationSetting[\"Announcement\"] = \"announcement\";\n /**\n * Scheduled delivery.\n */\n AuthorizedNotificationSetting[\"ScheduledDelivery\"] = \"scheduled_delivery\";\n /**\n * Time sensitive.\n */\n AuthorizedNotificationSetting[\"TimeSensitive\"] = \"time_sensitive\";\n })(AuthorizedNotificationSetting = iOS.AuthorizedNotificationSetting || (iOS.AuthorizedNotificationSetting = {}));\n /**\n * Enum of authorized status.\n */\n let AuthorizedNotificationStatus;\n (function (AuthorizedNotificationStatus) {\n /**\n * Not determined.\n */\n AuthorizedNotificationStatus[\"NotDetermined\"] = \"not_determined\";\n /**\n * Denied.\n */\n AuthorizedNotificationStatus[\"Denied\"] = \"denied\";\n /**\n * Authorized.\n */\n AuthorizedNotificationStatus[\"Authorized\"] = \"authorized\";\n /**\n * Provisional.\n */\n AuthorizedNotificationStatus[\"Provisional\"] = \"provisional\";\n /**\n * Ephemeral.\n */\n AuthorizedNotificationStatus[\"Ephemeral\"] = \"ephemeral\";\n })(AuthorizedNotificationStatus = iOS.AuthorizedNotificationStatus || (iOS.AuthorizedNotificationStatus = {}));\n})(iOS || (iOS = {}));\n/**\n * Enum of authorized Features.\n */\nexport var Feature;\n(function (Feature) {\n Feature[\"InAppAutomation\"] = \"in_app_automation\";\n Feature[\"MessageCenter\"] = \"message_center\";\n Feature[\"Push\"] = \"push\";\n // No longer used\n Feature[\"Chat\"] = \"chat\";\n Feature[\"Analytics\"] = \"analytics\";\n Feature[\"TagsAndAttributes\"] = \"tags_and_attributes\";\n Feature[\"Contacts\"] = \"contacts\";\n // No longer used\n Feature[\"Location\"] = \"location\";\n})(Feature || (Feature = {}));\n/**\n * All available features.\n */\nexport const FEATURES_ALL = Object.values(Feature);\n/**\n * Subscription Scope types.\n */\nexport var SubscriptionScope;\n(function (SubscriptionScope) {\n SubscriptionScope[\"App\"] = \"app\";\n SubscriptionScope[\"Web\"] = \"web\";\n SubscriptionScope[\"Sms\"] = \"sms\";\n SubscriptionScope[\"Email\"] = \"email\";\n})(SubscriptionScope || (SubscriptionScope = {}));\n//# sourceMappingURL=types.js.map","import { registerPlugin } from '@capacitor/core';\nimport { AirshipRoot } from './AirshipRoot';\nimport { AirshipPluginWrapper } from './AirshipPlugin';\nexport { AirshipRoot } from './AirshipRoot';\nexport { AirshipActions } from './AirshipActions';\nexport { AirshipAnalytics } from './AirshipAnalytics';\nexport { AirshipChannel } from './AirshipChannel';\nexport { AirshipContact } from './AirshipContact';\nexport { AirshipInApp } from './AirshipInApp';\nexport { AirshipLocale } from './AirshipLocale';\nexport { AirshipMessageCenter } from './AirshipMessageCenter';\nexport { AirshipPreferenceCenter } from './AirshipPreferenceCenter';\nexport { AirshipPrivacyManager } from './AirshipPrivacyManager';\nexport { AirshipFeatureFlagManager } from './AirshipFeatureFlagManager';\nexport { AirshipLiveActivityManager } from './AirshipLiveActivityManager';\nexport { AirshipLiveUpdateManager } from './AirshipLiveUpdateManager';\nexport { AirshipPush, AirshipPushAndroid, AirshipPushIOS } from './AirshipPush';\nexport { SubscriptionListEditor } from './SubscriptionListEditor';\nexport { TagGroupEditor } from './TagGroupEditor';\nexport { ScopedSubscriptionListEditor } from './ScopedSubscriptionListEditor';\nexport { AttributeEditor } from './AttributeEditor';\nexport * from './types';\nconst plugin = registerPlugin('Airship', {});\nconst sharedAirship = new AirshipRoot(new AirshipPluginWrapper(plugin));\nconst Airship = sharedAirship;\nexport { Airship };\n//# sourceMappingURL=index.js.map"],"names":["PermissionStatus","PromptPermissionFallback","iOS","Feature","SubscriptionScope","registerPlugin"],"mappings":";;;IAAA;IACA;IACA;IACO,MAAM,cAAc,CAAC;IAC5B,IAAI,WAAW,CAAC,MAAM,EAAE;IACxB,QAAQ,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IAC7B,KAAK;IACL;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA,IAAI,GAAG,CAAC,UAAU,EAAE,WAAW,EAAE;IACjC,QAAQ,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,aAAa,EAAE,CAAC,UAAU,EAAE,WAAW,CAAC,CAAC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AC;IAC9B;IACA;IACA;AACY,UAAC,YAAY,GAAG,MAAM,CAAC,MAAM,CAACA,eAAO,EAAE;IACnD;IACA;IACA;AACWC,uCAAkB;IAC7B,CAAC,UAAU,iBAAiB,EAAE;IAC9B,IAAI,iBAAiB,CAAC,KAAK,CAAC,GAAG,KAAK,CAAC;IACrC,IAAI,iBAAiB,CAAC,KAAK,CAAC,GAAG,KAAK,CAAC;IACrC,IAAI,iBAAiB,CAAC,KAAK,CAAC,GAAG,KAAK,CAAC;IACrC,IAAI,iBAAiB,CAAC,OAAO,CAAC,GAAG,OAAO,CAAC;IACzC,CAAC,EAAEA,yBAAiB,KAAKA,yBAAiB,GAAG,EAAE,CAAC,CAAC;;IC5KjD,MAAM,MAAM,GAAGC,mBAAc,CAAC,SAAS,EAAE,EAAE,CAAC,CAAC;IAC7C,MAAM,aAAa,GAAG,IAAI,WAAW,CAAC,IAAI,oBAAoB,CAAC,MAAM,CAAC,CAAC,CAAC;AACnE,UAAC,OAAO,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"plugin.js","sources":["esm/AirshipActions.js","esm/AirshipAnalytics.js","esm/AttributeEditor.js","esm/EventType.js","esm/SubscriptionListEditor.js","esm/TagEditor.js","esm/TagGroupEditor.js","esm/AirshipChannel.js","esm/ScopedSubscriptionListEditor.js","esm/AirshipContact.js","esm/AirshipFeatureFlagManager.js","esm/AirshipInApp.js","esm/AirshipLocale.js","esm/AirshipMessageCenter.js","esm/AirshipPreferenceCenter.js","esm/AirshipPrivacyManager.js","esm/AirshipPush.js","esm/AirshipLiveActivityManager.js","esm/AirshipLiveUpdateManager.js","esm/AirshipRoot.js","esm/AirshipPlugin.js","esm/types.js","esm/index.js"],"sourcesContent":["/**\n * Airship actions.\n */\nexport class AirshipActions {\n constructor(plugin) {\n this.plugin = plugin;\n }\n /**\n * Runs an Airship action.\n *\n * @param name The name of the action.\n * @param value The action's value.\n * @return A promise that returns the action result if the action\n * successfully runs, or the Error if the action was unable to be run.\n */\n run(actionName, actionValue) {\n return this.plugin.perform('actions#run', [actionName, actionValue]);\n }\n}\n//# sourceMappingURL=AirshipActions.js.map","/**\n * Airship analytics.\n */\nexport class AirshipAnalytics {\n constructor(plugin) {\n this.plugin = plugin;\n }\n /**\n * Associates an identifier.\n *\n * @param key The key.\n * @param identifier The identifier. `null` to remove.\n * @returns A promise.\n */\n associateIdentifier(key, identifier) {\n return this.plugin.perform('analytics#associateIdentifier', [\n key,\n identifier,\n ]);\n }\n /**\n * Tracks a screen.\n * @param screen The screen. `null` to stop tracking.\n * @returns A promise.\n */\n trackScreen(screen) {\n return this.plugin.perform('analytics#trackScreen', screen);\n }\n /**\n * Adds a custom event.\n * @param event The custom event.\n * @return A promise that returns null if resolved, or an Error if the\n * custom event is rejected.\n */\n addCustomEvent(event) {\n return this.plugin.perform('analytics#addCustomEvent', event);\n }\n}\n//# sourceMappingURL=AirshipAnalytics.js.map","/* Copyright Airship and Contributors */\n'use strict';\n/**\n * Editor for attributes.\n */\nexport class AttributeEditor {\n /**\n * AttributeEditor constructor\n *\n * @hidden\n * @param onApply The apply function\n */\n constructor(onApply) {\n this.onApply = onApply;\n this.operations = [];\n }\n /**\n * Adds an attribute.\n *\n * @param value The attribute value.\n * @param name The attribute name.\n * @return The attribute editor instance.\n */\n setAttribute(name, value) {\n let attributeValue;\n let attributeType;\n if (typeof value === 'boolean') {\n // No boolean attribute type. Convert value to string.\n attributeValue = value.toString();\n attributeType = 'string';\n }\n else {\n attributeValue = value;\n if (typeof value === 'string') {\n attributeType = 'string';\n }\n else if (typeof attributeValue === 'number') {\n attributeType = 'number';\n }\n else if (value instanceof Date) {\n // JavaScript's date type doesn't pass through the JS to native bridge.\n // Dates are instead serialized as milliseconds since epoch.\n attributeType = 'date';\n attributeValue = value.getTime();\n }\n else {\n throw 'Unsupported attribute type: ' + typeof attributeValue;\n }\n }\n const operation = {\n action: 'set',\n value: attributeValue,\n key: name,\n type: attributeType,\n };\n this.operations.push(operation);\n return this;\n }\n /**\n * Removes an attribute.\n * @param name The name of the attribute to remove.\n * @return The attribute editor instance.\n */\n removeAttribute(name) {\n const operation = { action: 'remove', key: name };\n this.operations.push(operation);\n return this;\n }\n /**\n * Applies the attribute operations.\n */\n apply() {\n return this.onApply(this.operations);\n }\n}\n//# sourceMappingURL=AttributeEditor.js.map","export var EventType;\n(function (EventType) {\n EventType[\"ChannelCreated\"] = \"channel_created\";\n EventType[\"NotificationResponse\"] = \"notification_response_received\";\n EventType[\"PushReceived\"] = \"push_received\";\n EventType[\"DeepLink\"] = \"deep_link_received\";\n EventType[\"MessageCenterUpdated\"] = \"message_center_updated\";\n EventType[\"PushNotificationStatusChangedStatus\"] = \"notification_status_changed\";\n EventType[\"DisplayMessageCenter\"] = \"display_message_center\";\n EventType[\"DisplayPreferenceCenter\"] = \"display_preference_center\";\n EventType[\"PushTokenReceived\"] = \"push_token_received\";\n EventType[\"IOSAuthorizedNotificationSettingsChanged\"] = \"ios_authorized_notification_settings_changed\";\n EventType[\"IOSLiveActivitiesUpdated\"] = \"ios_live_activities_updated\";\n})(EventType || (EventType = {}));\n//# sourceMappingURL=EventType.js.map","/* Copyright Airship and Contributors */\n'use strict';\n/**\n * Enum of internal subscription list update type.\n * @hidden\n */\nvar SubscriptionListOperationAction;\n(function (SubscriptionListOperationAction) {\n SubscriptionListOperationAction[\"subscribe\"] = \"subscribe\";\n SubscriptionListOperationAction[\"unsubscribe\"] = \"unsubscribe\";\n})(SubscriptionListOperationAction || (SubscriptionListOperationAction = {}));\n/**\n * Subscription list editor.\n */\nexport class SubscriptionListEditor {\n constructor(onApply) {\n this.onApply = onApply;\n this.operations = [];\n }\n /**\n * Subscribes to a list.\n *\n * @param subscriptionListId The subscription list identifier.\n * @returns The editor\n */\n subscribe(subscriptionListId) {\n const operation = {\n listId: subscriptionListId,\n action: SubscriptionListOperationAction.subscribe,\n };\n this.operations.push(operation);\n return this;\n }\n /**\n * Unsubscribe from a list.\n *\n * @param subscriptionListId The subscription list identifier.\n * @returns The editor\n */\n unsubscribe(subscriptionListId) {\n const operation = {\n listId: subscriptionListId,\n action: SubscriptionListOperationAction.unsubscribe,\n };\n this.operations.push(operation);\n return this;\n }\n /**\n * Applies subscription list changes.\n *\n */\n apply() {\n return this.onApply(this.operations);\n }\n}\n//# sourceMappingURL=SubscriptionListEditor.js.map","/* Copyright Airship and Contributors */\n'use strict';\n/**\n * Editor for device tags.\n */\nexport class TagEditor {\n /**\n * TagEditor constructor\n *\n * @hidden\n * @param onApply The apply function\n */\n constructor(onApply) {\n this.onApply = onApply;\n this.operations = [];\n }\n /**\n * Adds tags to a channel.\n *\n * @param tags Tags to add.\n * @return The tag editor instance.\n */\n addTags(tags) {\n const operation = { operationType: 'add', tags: tags };\n this.operations.push(operation);\n return this;\n }\n /**\n * Removes tags from the channel.\n *\n * @param tags Tags to remove.\n * @return The tag editor instance.\n */\n removeTags(tags) {\n const operation = { operationType: 'remove', tags: tags };\n this.operations.push(operation);\n return this;\n }\n /**\n * Applies the tag changes.\n */\n apply() {\n return this.onApply(this.operations);\n }\n}\n//# sourceMappingURL=TagEditor.js.map","/* Copyright Airship and Contributors */\n'use strict';\n/**\n * Editor for tag groups.\n */\nexport class TagGroupEditor {\n /**\n * TagGroupEditor constructor\n *\n * @hidden\n * @param onApply The apply function\n */\n constructor(onApply) {\n this.onApply = onApply;\n this.operations = [];\n }\n /**\n * Adds tags to a tag group.\n *\n * @param tagGroup The tag group.\n * @param tags Tags to add.\n * @return The tag group editor instance.\n */\n addTags(group, tags) {\n const operation = { operationType: 'add', group: group, tags: tags };\n this.operations.push(operation);\n return this;\n }\n /**\n * Removes tags from the tag group.\n *\n * @param tagGroup The tag group.\n * @param tags Tags to remove.\n * @return The tag group editor instance.\n */\n removeTags(group, tags) {\n const operation = { operationType: 'remove', group: group, tags: tags };\n this.operations.push(operation);\n return this;\n }\n /**\n * Overwrite the current set of tags on the Tag Group.\n *\n * @param tagGroup The tag group.\n * @param tags Tags to set.\n * @return The tag group editor instance.\n */\n setTags(group, tags) {\n const operation = { operationType: 'set', group: group, tags: tags };\n this.operations.push(operation);\n return this;\n }\n /**\n * Applies the tag changes.\n */\n apply() {\n return this.onApply(this.operations);\n }\n}\n//# sourceMappingURL=TagGroupEditor.js.map","import { AttributeEditor } from './AttributeEditor';\nimport { EventType } from './EventType';\nimport { SubscriptionListEditor } from './SubscriptionListEditor';\nimport { TagEditor } from './TagEditor';\nimport { TagGroupEditor } from './TagGroupEditor';\n/**\n * Airship channel.\n */\nexport class AirshipChannel {\n constructor(plugin) {\n this.plugin = plugin;\n }\n /**\n * Gets the device tags.\n * @returns A promise with the result.\n */\n getTags() {\n return this.plugin.perform('channel#getTags');\n }\n /**\n * Gets the channel Id.\n *\n * @returns A promise with the result.\n */\n getChannelId() {\n return this.plugin.perform('channel#getChannelId');\n }\n /**\n * Gets a list of the channel's subscriptions.\n * @returns A promise with the result.\n */\n getSubscriptionLists() {\n return this.plugin.perform('channel#getSubscriptionLists');\n }\n /**\n * Edits tags.\n * @returns A tag group editor.\n */\n editTags() {\n return new TagEditor((operations) => {\n return this.plugin.perform('channel#editTags', operations);\n });\n }\n /**\n * Edits tag groups.\n * @returns A tag group editor.\n */\n editTagGroups() {\n return new TagGroupEditor((operations) => {\n return this.plugin.perform('channel#editTagGroups', operations);\n });\n }\n /**\n * Edits attributes.\n * @returns An attribute editor.\n */\n editAttributes() {\n return new AttributeEditor((operations) => {\n return this.plugin.perform('channel#editAttributes', operations);\n });\n }\n /**\n * Edits subscription lists.\n * @returns A subscription list editor.\n */\n editSubscriptionLists() {\n return new SubscriptionListEditor((operations) => {\n return this.plugin.perform('channel#editSubscriptionLists', operations);\n });\n }\n /**\n * Enables channel creation if channel creation has been delayed.\n * It is only necessary to call this when isChannelCreationDelayEnabled\n * has been set to `true` in the airship config.\n * Deprecated. Use the Private Manager to disable all features instead.\n */\n enableChannelCreation() {\n return this.plugin.perform('channel#enableChannelCreation');\n }\n /**\n * Adds a channel created listener\n */\n onChannelCreated(listener) {\n return this.plugin.addListener(EventType.ChannelCreated, listener);\n }\n}\n//# sourceMappingURL=AirshipChannel.js.map","/* Copyright Airship and Contributors */\n'use strict';\n/**\n * Enum of internal scoped subscription list update type.\n * @hidden\n */\nvar ScopedSubscriptionListOperationAction;\n(function (ScopedSubscriptionListOperationAction) {\n ScopedSubscriptionListOperationAction[\"subscribe\"] = \"subscribe\";\n ScopedSubscriptionListOperationAction[\"unsubscribe\"] = \"unsubscribe\";\n})(ScopedSubscriptionListOperationAction || (ScopedSubscriptionListOperationAction = {}));\n/**\n * Scoped subscription list editor.\n */\nexport class ScopedSubscriptionListEditor {\n /**\n */\n constructor(onApply) {\n this.onApply = onApply;\n this.operations = [];\n }\n /**\n * Subscribes to a list in the given scope.\n *\n * @param subscriptionListId The subscription list identifier.\n * @param scope The subscription scope to subscribe.\n * @returns The editor.\n */\n subscribe(subscriptionListId, scope) {\n const operation = {\n listId: subscriptionListId,\n action: ScopedSubscriptionListOperationAction.subscribe,\n scope: scope,\n };\n this.operations.push(operation);\n return this;\n }\n /**\n * Unsubscribe from a list.\n *\n * @param subscriptionListId The subscription list identifier.\n * @param scope The subscription scope to unsubscribe.\n * @returns The editor.\n */\n unsubscribe(subscriptionListId, scope) {\n const operation = {\n listId: subscriptionListId,\n action: ScopedSubscriptionListOperationAction.unsubscribe,\n scope: scope,\n };\n this.operations.push(operation);\n return this;\n }\n /**\n * Applies subscription list changes.\n *\n */\n apply() {\n return this.onApply(this.operations);\n }\n}\n//# sourceMappingURL=ScopedSubscriptionListEditor.js.map","import { AttributeEditor } from './AttributeEditor';\nimport { ScopedSubscriptionListEditor } from './ScopedSubscriptionListEditor';\nimport { TagGroupEditor } from './TagGroupEditor';\n/**\n * Airship contact.\n */\nexport class AirshipContact {\n constructor(plugin) {\n this.plugin = plugin;\n }\n /**\n * Identifies the contact with a named user Id.\n * @param namedUser The named user Id.\n * @returns A promise.\n */\n identify(namedUser) {\n return this.plugin.perform('contact#identify', namedUser);\n }\n /**\n * Resets the contact.\n * @returns A promise.\n */\n reset() {\n return this.plugin.perform('contact#reset');\n }\n /**\n * Gets the named user Id.\n * @returns A promise with the result.\n */\n getNamedUserId() {\n return this.plugin.perform('contact#getNamedUserId');\n }\n /**\n * Gets the contacts subscription lists.\n * @returns A promise with the result.\n */\n getSubscriptionLists() {\n return this.plugin.perform('contact#getSubscriptionLists');\n }\n /**\n * Edits tag groups.\n * @returns A tag group editor.\n */\n editTagGroups() {\n return new TagGroupEditor((operations) => {\n return this.plugin.perform('contact#editTagGroups', operations);\n });\n }\n /**\n * Edits attributes.\n * @returns An attribute editor.\n */\n editAttributes() {\n return new AttributeEditor((operations) => {\n return this.plugin.perform('contact#editAttributes', operations);\n });\n }\n /**\n * Edits subscription lists.\n * @returns A subscription list editor.\n */\n editSubscriptionLists() {\n return new ScopedSubscriptionListEditor((operations) => {\n return this.plugin.perform('contact#editSubscriptionLists', operations);\n });\n }\n}\n//# sourceMappingURL=AirshipContact.js.map","/**\n * Airship feature flag manager.\n */\nexport class AirshipFeatureFlagManager {\n constructor(plugin) {\n this.plugin = plugin;\n }\n /**\n * Retrieve a given flag's status and associated data by its name.\n * @param {string} flagName The flag name\n * @return {Promise<FeatureFlag>} A promise resolving to the feature flag\n * requested.\n * @throws {Error} when failed to fetch\n */\n flag(flagName) {\n return this.plugin.perform('featureFlagManager#flag', flagName);\n }\n /**\n * Tracks a feature flag interaction event.\n * @param {FeatureFlag} flag The flag\n * @return {Promise<Void>} A promise with an empty result.\n * @throws {Error} when failed to fetch\n */\n trackInteraction(flag) {\n return this.plugin.perform('featureFlagManager#trackInteraction', flag);\n }\n}\n//# sourceMappingURL=AirshipFeatureFlagManager.js.map","/**\n * Airship InApp Experiences.\n */\nexport class AirshipInApp {\n constructor(plugin) {\n this.plugin = plugin;\n }\n /**\n * Pauses messages.\n * @param paused `true` to pause, `false` to resume.\n * @returns A promise.\n */\n setPaused(paused) {\n return this.plugin.perform('inApp#setPaused', paused);\n }\n /**\n * Checks if messages are paused.\n * @returns A promise with the result.\n */\n isPaused() {\n return this.plugin.perform('inApp#isPaused');\n }\n /**\n * Sets the display interval for messages.\n * @param milliseconds Display interval\n * @returns A promise.\n */\n setDisplayInterval(milliseconds) {\n return this.plugin.perform('inApp#setDisplayInterval', milliseconds);\n }\n /**\n * Gets the display interval.\n * @returns A promise with the result.\n */\n getDisplayInterval() {\n return this.plugin.perform('inApp#getDisplayInterval');\n }\n}\n//# sourceMappingURL=AirshipInApp.js.map","/**\n * Manages locale used by Airship messaging.\n */\nexport class AirshipLocale {\n constructor(plugin) {\n this.plugin = plugin;\n }\n /**\n * Sets the locale override.\n * @param localeIdentifier The locale identifier.\n * @returns A promise.\n */\n setLocaleOverride(localeIdentifier) {\n return this.plugin.perform('locale#setLocaleOverride', localeIdentifier);\n }\n /**\n * Clears the locale override.\n * @returns A promise.\n */\n clearLocaleOverride() {\n return this.plugin.perform('locale#clearLocaleOverride');\n }\n /**\n * Gets the current locale.\n * @returns A promise with the result.\n */\n getLocale() {\n return this.plugin.perform('locale#getLocale');\n }\n}\n//# sourceMappingURL=AirshipLocale.js.map","import { EventType } from './EventType';\n/**\n * Airship Message Center\n */\nexport class AirshipMessageCenter {\n constructor(plugin) {\n this.plugin = plugin;\n }\n /**\n * Gets the unread count.\n * @returns A promise with the result.\n */\n getUnreadCount() {\n return this.plugin.perform('messageCenter#getUnreadCount');\n }\n /**\n * Gets the inbox messages.\n * @returns A promise with the result.\n */\n getMessages() {\n return this.plugin.perform('messageCenter#getMessages');\n }\n /**\n * Marks a message as read.\n * @param messageId The message Id.\n * @returns A promise. Will reject if the message is not\n * found or if takeOff is not called.\n */\n markMessageRead(messageId) {\n return this.plugin.perform('messageCenter#markMessageRead', messageId);\n }\n /**\n * Deletes a message.\n * @param messageId The message Id.\n * @returns A promise. Will reject if the message is not\n * found or if takeOff is not called.\n */\n deleteMessage(messageId) {\n return this.plugin.perform('messageCenter#deleteMessage', messageId);\n }\n /**\n * Dismisses the OOTB message center if displayed.\n * @returns A promise.\n */\n dismiss() {\n return this.plugin.perform('messageCenter#dismiss');\n }\n /**\n * Requests to display the Message Center.\n *\n * Will either emit an event to display the\n * Message Center if auto launch message center\n * is disabled, or display the OOTB message center.\n * @param messageId Optional message Id.\n * @returns A promise.\n */\n display(messageId) {\n return this.plugin.perform('messageCenter#display', messageId);\n }\n /**\n * Overlays the message view. Should be used to display the actual\n * message body in a custom Message Center.\n *\n * @param messageId The message Id.\n * @returns A promise.\n */\n showMessageView(messageId) {\n return this.plugin.perform('messageCenter#showMessageView', messageId);\n }\n /**\n * Overlays the message center regardless if auto launch Message Center is enabled or not.\n *\n * @param messageId Optional message Id.\n * @returns A promise.\n */\n showMessageCenter(messageId) {\n return this.plugin.perform('messageCenter#showMessageCenter', messageId);\n }\n /**\n * Refreshes the messages.\n * @returns A promise. Will reject if the list fails to refresh or if\n * takeOff is not called yet.\n */\n refreshMessages() {\n return this.plugin.perform('messageCenter#refreshMessages');\n }\n /**\n * Enables or disables showing the OOTB UI when requested to display by either\n * `display` or by a notification with a Message Center action.\n * @param autoLaunch true to show OOTB UI, false to emit events.\n */\n setAutoLaunchDefaultMessageCenter(autoLaunch) {\n return this.plugin.perform('messageCenter#setAutoLaunchDefaultMessageCenter', autoLaunch);\n }\n /**\n * Adds a display message center listener.\n */\n onDisplay(listener) {\n return this.plugin.addListener(EventType.DisplayMessageCenter, listener);\n }\n /**\n * Adds a message center list updated listener.\n */\n onUpdated(listener) {\n return this.plugin.addListener(EventType.MessageCenterUpdated, listener);\n }\n}\n//# sourceMappingURL=AirshipMessageCenter.js.map","import { EventType } from './EventType';\n/**\n * Airship Preference Center.\n */\nexport class AirshipPreferenceCenter {\n constructor(plugin) {\n this.plugin = plugin;\n }\n /**\n * Requests to display a preference center.\n *\n * Will either emit an event to display the\n * Preference Center if auto launch is disabled,\n * or display the OOTB UI.\n * @param preferenceCenterId The preference center Id.\n * @returns A promise.\n */\n display(preferenceCenterId) {\n return this.plugin.perform('preferenceCenter#display', preferenceCenterId);\n }\n /**\n * Gets the preference center config.\n * @param preferenceCenterId The preference center Id.\n * @returns A promise with the result.\n */\n getConfig(preferenceCenterId) {\n return this.plugin.perform('preferenceCenter#getConfig', preferenceCenterId);\n }\n /**\n * Enables or disables showing the OOTB UI when requested to display by either\n * `display` or by a notification with some other action.\n * @param preferenceCenterId The preference center Id.\n * @param autoLaunch true to show OOTB UI, false to emit events.\n * @returns A promise with the result.\n */\n setAutoLaunchDefaultPreferenceCenter(preferenceCenterId, autoLaunch) {\n return this.plugin.perform('preferenceCenter#getConfig', [\n preferenceCenterId,\n autoLaunch,\n ]);\n }\n /**\n * Adds a display message center listener.\n */\n onDisplay(listener) {\n return this.plugin.addListener(EventType.DisplayPreferenceCenter, listener);\n }\n}\n//# sourceMappingURL=AirshipPreferenceCenter.js.map","/**\n * Airship Privacy Manager.\n */\nexport class AirshipPrivacyManager {\n constructor(plugin) {\n this.plugin = plugin;\n }\n /**\n * Sets the current set of enabled features.\n * @param features The features to set.\n * @returns A promise.\n */\n setEnabledFeatures(features) {\n return this.plugin.perform('privacyManager#setEnabledFeatures', features);\n }\n /**\n * Gets the current enabled features.\n * @returns A promise with the result.\n */\n getEnabledFeatures() {\n return this.plugin.perform('privacyManager#getEnabledFeatures');\n }\n /**\n * Enables additional features.\n * @param features The features to enable.\n * @returns A promise.\n */\n enableFeatures(features) {\n return this.plugin.perform('privacyManager#enableFeatures', features);\n }\n /**\n * Disable features.\n * @param features The features to disable.\n * @returns A promise.\n */\n disableFeatures(features) {\n return this.plugin.perform('privacyManager#disableFeatures', features);\n }\n /**\n * Checks if the features are enabled or not.\n * @param features The features to check.\n * @returns A promise with the result.\n */\n isFeaturesEnabled(features) {\n return this.plugin.perform('privacyManager#isFeaturesEnabled', features);\n }\n}\n//# sourceMappingURL=AirshipPrivacyManager.js.map","import { EventType } from './EventType';\n/**\n * Airship Push.\n */\nexport class AirshipPush {\n constructor(plugin) {\n this.plugin = plugin;\n this.iOS = new AirshipPushIOS(plugin);\n this.android = new AirshipPushAndroid(plugin);\n }\n /**\n * Enables/disables notifications on Airship.\n *\n * When enabled, it will cause the user to be prompted for\n * the permission on platforms that support it.\n * To get the result of the prompt, use `enableUserNotifications`.\n * @param enabled true to enable, false to disable\n * @returns A promise.\n */\n setUserNotificationsEnabled(enabled) {\n return this.plugin.perform('push#setUserNotificationsEnabled', enabled);\n }\n /**\n * Checks if user notifications are enabled or not on Airship.\n * @returns A promise with the result.\n */\n isUserNotificationsEnabled() {\n return this.plugin.perform('push#isUserNotificationsEnabled');\n }\n /**\n * Enables user notifications.\n * @param options Optional options.\n * @returns A promise with the permission result.\n */\n enableUserNotifications(options) {\n return this.plugin.perform('push#enableUserNotifications', options);\n }\n /**\n * Gets the notification status.\n * @returns A promise with the result.\n */\n getNotificationStatus() {\n return this.plugin.perform('push#getNotificationStatus');\n }\n /**\n * Gets the registration token if generated.\n * Use the event EventType.PushTokenReceived to be notified\n * when available.\n * @returns A promise with the result.\n */\n getPushToken() {\n return this.plugin.perform('push#getPushToken');\n }\n /**\n * Gets the list of active notifications.\n *\n * On Android, this list only includes notifications\n * sent through Airship.\n * @returns A promise with the result.\n */\n getActiveNotifications() {\n return this.plugin.perform('push#getActiveNotifications');\n }\n /**\n * Clears all notifications for the app.\n * @returns A promise with the result.\n */\n clearNotifications() {\n return this.plugin.perform('push#clearNotifications');\n }\n /**\n * Clears a specific notification.\n *\n * On Android, you can use this method to clear\n * notifications outside of Airship, The identifier is in\n * the format of <tag>:<id>.\n * @param identifier The identifier.\n * @returns A promise with the result.\n */\n clearNotification(identifier) {\n return this.plugin.perform('push#clearNotification', identifier);\n }\n /**\n * Adds a notification response event listener.\n */\n onNotificationResponse(listener) {\n return this.plugin.addListener(EventType.NotificationResponse, listener);\n }\n /**\n * Adds a push received event listener.\n */\n onPushReceived(listener) {\n return this.plugin.addListener(EventType.PushReceived, listener);\n }\n /**\n * Adds a notification status changed event listener.\n */\n onNotificationStatusChanged(listener) {\n return this.plugin.addListener(EventType.PushNotificationStatusChangedStatus, listener);\n }\n /**\n * Adds a notification status changed event listener.\n */\n onPushTokenReceived(listener) {\n return this.plugin.addListener(EventType.PushTokenReceived, listener);\n }\n}\n/**\n * iOS Push.\n */\nexport class AirshipPushIOS {\n constructor(plugin) {\n this.plugin = plugin;\n }\n /**\n * Sets the foreground presentation options.\n * @param options The foreground options.\n * @returns A promise.\n */\n setForegroundPresentationOptions(options) {\n return this.plugin.perform('push#ios#setForegroundPresentationOptions', options);\n }\n /**\n * Sets the notification options.\n * @param options The notification options.\n * @returns A promise.\n */\n setNotificationOptions(options) {\n return this.plugin.perform('push#ios#setNotificationOptions', options);\n }\n /**\n * Checks if autobadge is enabled.\n * @returns A promise with the result.\n */\n isAutobadgeEnabled() {\n return this.plugin.perform('push#ios#isAutobadgeEnabled');\n }\n /**\n * Enables/disables autobadge.\n * @param enabled true to enable, false to disable.\n * @returns A promise.\n */\n setAutobadgeEnabled(enabled) {\n return this.plugin.perform('push#ios#setAutobadgeEnabled', enabled);\n }\n /**\n * Set the badge number.\n * @param badge The badge number.\n * @returns A promise.\n */\n setBadgeNumber(badge) {\n return this.plugin.perform('push#ios#setBadgeNumber', badge);\n }\n /**\n * Gets the badge number.\n * @returns A promise with the result.\n */\n getBadgeNumber() {\n return this.plugin.perform('push#ios#getBadgeNumber');\n }\n /**\n * Enables/disables quiet time.\n *\n * @param enabled true to enable, false to disable\n * @returns A promise with the result.\n */\n setQuietTimeEnabled(enabled) {\n return this.plugin.perform('push#ios#setQuietTimeEnabled', enabled);\n }\n /**\n * Checks if quiet time is enabled or not.\n * @returns A promise with the result.\n */\n isQuietTimeEnabled() {\n return this.plugin.perform('push#ios#isQuietTimeEnabled');\n }\n /**\n * Sets quiet time.\n *\n * @param quietTime The quiet time.\n * @returns A promise with the result.\n */\n setQuietTime(quietTime) {\n return this.plugin.perform('push#ios#setQuietTime', quietTime);\n }\n /**\n * Gets the quiet time settings.\n *\n * @returns A promise with the result.\n */\n getQuietTime() {\n return this.plugin.perform('push#ios#getQuietTime');\n }\n /**\n * Adds a authorized settings changed event listener.\n */\n onAuthorizedSettingsChanged(listener) {\n return this.plugin.addListener(EventType.IOSAuthorizedNotificationSettingsChanged, listener);\n }\n}\n/**\n * Android Push.\n */\nexport class AirshipPushAndroid {\n constructor(plugin) {\n this.plugin = plugin;\n }\n /**\n * Checks if a notification category/channel is enabled.\n * @param channel The channel name.\n * @returns A promise with the result.\n */\n isNotificationChannelEnabled(channel) {\n return this.plugin.perform('push#android#isNotificationChannelEnabled', channel);\n }\n /**\n * Sets the notification config.\n * @param config The notification config.\n * @returns A promise with the result.\n */\n setNotificationConfig(config) {\n return this.plugin.perform('push#android#setNotificationConfig', config);\n }\n /**\n * Enables/disables showing notifications in the foreground.\n * @param enabled true to enable, false to disable.\n * @returns A promise with the result.\n */\n setForegroundNotificationsEnabled(enabled) {\n return this.plugin.perform('push#android#setForegroundNotificationsEnabled', enabled);\n }\n}\n//# sourceMappingURL=AirshipPush.js.map","import { EventType } from './EventType';\n/**\n * Live Activity manager.\n */\nexport class AirshipLiveActivityManager {\n constructor(plugin) {\n this.plugin = plugin;\n }\n /**\n * Lists any Live Activities for the request.\n * @param request The request options.\n * @returns A promise with the result.\n */\n list(request) {\n return this.plugin.perform('liveActivityManager#list', request);\n }\n /**\n * Lists all Live Activities.\n * @param request The request options.\n * @returns A promise with the result.\n */\n listAll() {\n return this.plugin.perform('liveActivityManager#listAll');\n }\n /**\n * Starts a Live Activity.\n * @param request The request options.\n * @returns A promise with the result.\n */\n start(request) {\n return this.plugin.perform('liveActivityManager#start', request);\n }\n /**\n * Updates a Live Activity.\n * @param request The request options.\n * @returns A promise with the result.\n */\n update(request) {\n return this.plugin.perform('liveActivityManager#update', request);\n }\n /**\n * Ends a Live Activity.\n * @param request The request options.\n * @returns A promise with the result.\n */\n end(request) {\n return this.plugin.perform('liveActivityManager#end', request);\n }\n /**\n * Adds a Live Activity listener.\n */\n onLiveActivityUpdates(listener) {\n return this.plugin.addListener(EventType.IOSLiveActivitiesUpdated, listener);\n }\n}\n//# sourceMappingURL=AirshipLiveActivityManager.js.map","/**\n * Live Update manager.\n */\nexport class AirshipLiveUpdateManager {\n constructor(plugin) {\n this.plugin = plugin;\n }\n /**\n * Lists any Live Updates for the request.\n * @param request The request options.\n * @returns A promise with the result.\n */\n list(request) {\n return this.plugin.perform('liveUpdateManager#list', request);\n }\n /**\n * Lists all Live Updates.\n * @returns A promise with the result.\n */\n listAll() {\n return this.plugin.perform('liveUpdateManager#listAll');\n }\n /**\n * Starts a Live Update.\n * @param request The request options.\n * @returns A promise with the result.\n */\n start(request) {\n return this.plugin.perform('liveUpdateManager#start', request);\n }\n /**\n * Updates a Live Update.\n * @param request The request options.\n * @returns A promise with the result.\n */\n update(request) {\n return this.plugin.perform('liveUpdateManager#update', request);\n }\n /**\n * Ends a Live Update.\n * @param request The request options.\n * @returns A promise with the result.\n */\n end(request) {\n return this.plugin.perform('liveUpdateManager#end', request);\n }\n /**\n * Clears all Live Updates.\n * @returns A promise with the result.\n */\n clearAll() {\n return this.plugin.perform('liveUpdateManager#clearAll');\n }\n}\n//# sourceMappingURL=AirshipLiveUpdateManager.js.map","import { AirshipActions } from './AirshipActions';\nimport { AirshipAnalytics } from './AirshipAnalytics';\nimport { AirshipChannel } from './AirshipChannel';\nimport { AirshipContact } from './AirshipContact';\nimport { AirshipFeatureFlagManager } from './AirshipFeatureFlagManager';\nimport { AirshipInApp } from './AirshipInApp';\nimport { AirshipLocale } from './AirshipLocale';\nimport { AirshipMessageCenter } from './AirshipMessageCenter';\nimport { AirshipPreferenceCenter } from './AirshipPreferenceCenter';\nimport { AirshipPrivacyManager } from './AirshipPrivacyManager';\nimport { AirshipPush } from './AirshipPush';\nimport { EventType } from './EventType';\nimport { AirshipLiveActivityManager } from './AirshipLiveActivityManager';\nimport { AirshipLiveUpdateManager } from './AirshipLiveUpdateManager';\n/**\n * Airship\n */\nexport class AirshipRoot {\n constructor(plugin) {\n this.plugin = plugin;\n this.actions = new AirshipActions(plugin);\n this.analytics = new AirshipAnalytics(plugin);\n this.channel = new AirshipChannel(plugin);\n this.contact = new AirshipContact(plugin);\n this.inApp = new AirshipInApp(plugin);\n this.locale = new AirshipLocale(plugin);\n this.messageCenter = new AirshipMessageCenter(plugin);\n this.preferenceCenter = new AirshipPreferenceCenter(plugin);\n this.privacyManager = new AirshipPrivacyManager(plugin);\n this.push = new AirshipPush(plugin);\n this.featureFlagManager = new AirshipFeatureFlagManager(plugin);\n this.iOS = new AirshipRootIOS(plugin);\n this.android = new AirshipRootAndroid(plugin);\n }\n /**\n * Calls takeOff. If Airship is already configured for\n * the app session, the new config will be applied on the next\n * app init.\n * @param config The config.\n * @returns A promise with the result. `true` if airship is ready.\n */\n takeOff(config) {\n return this.plugin.perform('takeOff', config);\n }\n /**\n * Checks if Airship is ready.\n * @returns A promise with the result.\n */\n isFlying() {\n return this.plugin.perform('isFlying');\n }\n /**\n * Adds a deep link listener.\n */\n onDeepLink(listener) {\n return this.plugin.addListener(EventType.DeepLink, listener);\n }\n}\nexport class AirshipRootIOS {\n constructor(plugin) {\n this.liveActivityManager = new AirshipLiveActivityManager(plugin);\n }\n}\nexport class AirshipRootAndroid {\n constructor(plugin) {\n this.liveUpdateManager = new AirshipLiveUpdateManager(plugin);\n }\n}\n//# sourceMappingURL=AirshipRoot.js.map","/// <reference types=\"@capacitor/cli\" />\nexport class AirshipPluginWrapper {\n constructor(plugin) {\n this.plugin = plugin;\n }\n perform(method, value) {\n return this.plugin.perform({ method: method, value: value }).then(value => {\n return value.value;\n });\n }\n addListener(eventType, listener) {\n return this.plugin.addListener(eventType, listener);\n }\n}\n//# sourceMappingURL=AirshipPlugin.js.map","/**\n * Enum of permission status.\n */\nexport var PermissionStatus;\n(function (PermissionStatus) {\n /**\n * Permission is granted.\n */\n PermissionStatus[\"Granted\"] = \"granted\";\n /**\n * Permission is denied.\n */\n PermissionStatus[\"Denied\"] = \"denied\";\n /**\n * Permission has not yet been requested.\n */\n PermissionStatus[\"NotDetermined\"] = \"not_determined\";\n})(PermissionStatus || (PermissionStatus = {}));\n/**\n * Fallback when prompting for permission and the permission is\n * already denied on iOS or is denied silently on Android.\n */\nexport var PromptPermissionFallback;\n(function (PromptPermissionFallback) {\n /**\n * Take the user to the system settings to enable the permission.\n */\n PromptPermissionFallback[\"SystemSettings\"] = \"systemSettings\";\n})(PromptPermissionFallback || (PromptPermissionFallback = {}));\n/**\n * iOS options\n */\nexport var iOS;\n(function (iOS) {\n /**\n * Enum of notification options. iOS only.\n */\n let NotificationOption;\n (function (NotificationOption) {\n /**\n * Alerts.\n */\n NotificationOption[\"Alert\"] = \"alert\";\n /**\n * Sounds.\n */\n NotificationOption[\"Sound\"] = \"sound\";\n /**\n * Badges.\n */\n NotificationOption[\"Badge\"] = \"badge\";\n /**\n * Car play.\n */\n NotificationOption[\"CarPlay\"] = \"car_play\";\n /**\n * Critical Alert.\n */\n NotificationOption[\"CriticalAlert\"] = \"critical_alert\";\n /**\n * Provides app notification settings.\n */\n NotificationOption[\"ProvidesAppNotificationSettings\"] = \"provides_app_notification_settings\";\n /**\n * Provisional.\n */\n NotificationOption[\"Provisional\"] = \"provisional\";\n })(NotificationOption = iOS.NotificationOption || (iOS.NotificationOption = {}));\n /**\n * Enum of foreground notification options.\n */\n let ForegroundPresentationOption;\n (function (ForegroundPresentationOption) {\n /**\n * Play the sound associated with the notification.\n */\n ForegroundPresentationOption[\"Sound\"] = \"sound\";\n /**\n * Apply the notification's badge value to the app’s icon.\n */\n ForegroundPresentationOption[\"Badge\"] = \"badge\";\n /**\n * Show the notification in Notification Center. On iOS 13 an older,\n * this will also show the notification as a banner.\n */\n ForegroundPresentationOption[\"List\"] = \"list\";\n /**\n * Present the notification as a banner. On iOS 13 an older,\n * this will also show the notification in the Notification Center.\n */\n ForegroundPresentationOption[\"Banner\"] = \"banner\";\n })(ForegroundPresentationOption = iOS.ForegroundPresentationOption || (iOS.ForegroundPresentationOption = {}));\n /**\n * Enum of authorized notification options.\n */\n let AuthorizedNotificationSetting;\n (function (AuthorizedNotificationSetting) {\n /**\n * Alerts.\n */\n AuthorizedNotificationSetting[\"Alert\"] = \"alert\";\n /**\n * Sounds.\n */\n AuthorizedNotificationSetting[\"Sound\"] = \"sound\";\n /**\n * Badges.\n */\n AuthorizedNotificationSetting[\"Badge\"] = \"badge\";\n /**\n * CarPlay.\n */\n AuthorizedNotificationSetting[\"CarPlay\"] = \"car_play\";\n /**\n * Lock screen.\n */\n AuthorizedNotificationSetting[\"LockScreen\"] = \"lock_screen\";\n /**\n * Notification center.\n */\n AuthorizedNotificationSetting[\"NotificationCenter\"] = \"notification_center\";\n /**\n * Critical alert.\n */\n AuthorizedNotificationSetting[\"CriticalAlert\"] = \"critical_alert\";\n /**\n * Announcement.\n */\n AuthorizedNotificationSetting[\"Announcement\"] = \"announcement\";\n /**\n * Scheduled delivery.\n */\n AuthorizedNotificationSetting[\"ScheduledDelivery\"] = \"scheduled_delivery\";\n /**\n * Time sensitive.\n */\n AuthorizedNotificationSetting[\"TimeSensitive\"] = \"time_sensitive\";\n })(AuthorizedNotificationSetting = iOS.AuthorizedNotificationSetting || (iOS.AuthorizedNotificationSetting = {}));\n /**\n * Enum of authorized status.\n */\n let AuthorizedNotificationStatus;\n (function (AuthorizedNotificationStatus) {\n /**\n * Not determined.\n */\n AuthorizedNotificationStatus[\"NotDetermined\"] = \"not_determined\";\n /**\n * Denied.\n */\n AuthorizedNotificationStatus[\"Denied\"] = \"denied\";\n /**\n * Authorized.\n */\n AuthorizedNotificationStatus[\"Authorized\"] = \"authorized\";\n /**\n * Provisional.\n */\n AuthorizedNotificationStatus[\"Provisional\"] = \"provisional\";\n /**\n * Ephemeral.\n */\n AuthorizedNotificationStatus[\"Ephemeral\"] = \"ephemeral\";\n })(AuthorizedNotificationStatus = iOS.AuthorizedNotificationStatus || (iOS.AuthorizedNotificationStatus = {}));\n})(iOS || (iOS = {}));\n/**\n * Enum of authorized Features.\n */\nexport var Feature;\n(function (Feature) {\n Feature[\"InAppAutomation\"] = \"in_app_automation\";\n Feature[\"MessageCenter\"] = \"message_center\";\n Feature[\"Push\"] = \"push\";\n // No longer used\n Feature[\"Chat\"] = \"chat\";\n Feature[\"Analytics\"] = \"analytics\";\n Feature[\"TagsAndAttributes\"] = \"tags_and_attributes\";\n Feature[\"Contacts\"] = \"contacts\";\n // No longer used\n Feature[\"Location\"] = \"location\";\n})(Feature || (Feature = {}));\n/**\n * All available features.\n */\nexport const FEATURES_ALL = Object.values(Feature);\n/**\n * Subscription Scope types.\n */\nexport var SubscriptionScope;\n(function (SubscriptionScope) {\n SubscriptionScope[\"App\"] = \"app\";\n SubscriptionScope[\"Web\"] = \"web\";\n SubscriptionScope[\"Sms\"] = \"sms\";\n SubscriptionScope[\"Email\"] = \"email\";\n})(SubscriptionScope || (SubscriptionScope = {}));\n//# sourceMappingURL=types.js.map","import { registerPlugin } from '@capacitor/core';\nimport { AirshipRoot } from './AirshipRoot';\nimport { AirshipPluginWrapper } from './AirshipPlugin';\nexport { AirshipRoot } from './AirshipRoot';\nexport { AirshipActions } from './AirshipActions';\nexport { AirshipAnalytics } from './AirshipAnalytics';\nexport { AirshipChannel } from './AirshipChannel';\nexport { AirshipContact } from './AirshipContact';\nexport { AirshipInApp } from './AirshipInApp';\nexport { AirshipLocale } from './AirshipLocale';\nexport { AirshipMessageCenter } from './AirshipMessageCenter';\nexport { AirshipPreferenceCenter } from './AirshipPreferenceCenter';\nexport { AirshipPrivacyManager } from './AirshipPrivacyManager';\nexport { AirshipFeatureFlagManager } from './AirshipFeatureFlagManager';\nexport { AirshipLiveActivityManager } from './AirshipLiveActivityManager';\nexport { AirshipLiveUpdateManager } from './AirshipLiveUpdateManager';\nexport { AirshipPush, AirshipPushAndroid, AirshipPushIOS } from './AirshipPush';\nexport { SubscriptionListEditor } from './SubscriptionListEditor';\nexport { TagGroupEditor } from './TagGroupEditor';\nexport { ScopedSubscriptionListEditor } from './ScopedSubscriptionListEditor';\nexport { AttributeEditor } from './AttributeEditor';\nexport * from './types';\nconst plugin = registerPlugin('Airship', {});\nconst sharedAirship = new AirshipRoot(new AirshipPluginWrapper(plugin));\nconst Airship = sharedAirship;\nexport { Airship };\n//# sourceMappingURL=index.js.map"],"names":["PermissionStatus","PromptPermissionFallback","iOS","Feature","SubscriptionScope","registerPlugin"],"mappings":";;;IAAA;IACA;IACA;IACO,MAAM,cAAc,CAAC;IAC5B,IAAI,WAAW,CAAC,MAAM,EAAE;IACxB,QAAQ,IAAI,CAAC,MAAM,GAAG,MAAM;IAC5B;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA,IAAI,GAAG,CAAC,UAAU,EAAE,WAAW,EAAE;IACjC,QAAQ,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,aAAa,EAAE,CAAC,UAAU,EAAE,WAAW,CAAC,CAAC;IAC5E;IACA;;IClBA;IACA;IACA;IACO,MAAM,gBAAgB,CAAC;IAC9B,IAAI,WAAW,CAAC,MAAM,EAAE;IACxB,QAAQ,IAAI,CAAC,MAAM,GAAG,MAAM;IAC5B;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA,IAAI,mBAAmB,CAAC,GAAG,EAAE,UAAU,EAAE;IACzC,QAAQ,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,+BAA+B,EAAE;IACpE,YAAY,GAAG;IACf,YAAY,UAAU;IACtB,SAAS,CAAC;IACV;IACA;IACA;IACA;IACA;IACA;IACA,IAAI,WAAW,CAAC,MAAM,EAAE;IACxB,QAAQ,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,uBAAuB,EAAE,MAAM,CAAC;IACnE;IACA;IACA;IACA;IACA;IACA;IACA;IACA,IAAI,cAAc,CAAC,KAAK,EAAE;IAC1B,QAAQ,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,0BAA0B,EAAE,KAAK,CAAC;IACrE;IACA;;ICrCA;IAEA;IACA;IACA;IACO,MAAM,eAAe,CAAC;IA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@MainActor
12
13
  public final class AirshipCapacitorAutopilot: NSObject {
13
14
 
14
15
  public static let shared: AirshipCapacitorAutopilot = AirshipCapacitorAutopilot()
15
16
 
16
- @MainActor
17
17
  private var pluginInitialized: Bool = false
18
- @MainActor
19
18
  private var applicationDidFinishLaunching: Bool = false
20
- @MainActor
21
19
  private var launchOptions: [UIApplication.LaunchOptionsKey : Any]?
22
20
 
23
21
  fileprivate var pluginConfig: PluginConfig?
@@ -71,7 +69,7 @@ extension AirshipCapacitorAutopilot: AirshipProxyDelegate {
71
69
  public func migrateData(store: AirshipFrameworkProxy.ProxyStore) {}
72
70
 
73
71
  public func loadDefaultConfig() -> AirshipConfig {
74
- let airshipConfig = AirshipConfig.default()
72
+ var airshipConfig = (try? AirshipConfig.default()) ?? AirshipConfig()
75
73
  if let config = self.pluginConfig?.getObject("config") {
76
74
  do {
77
75
  let proxyConfig: ProxyConfig = try AirshipJSON.wrap(config).decode()
@@ -1,4 +1,5 @@
1
1
  import Foundation
2
+ @preconcurrency
2
3
  import Capacitor
3
4
 
4
5
  #if canImport(AirshipKit)
@@ -14,7 +15,7 @@ import AirshipFrameworkProxy
14
15
  * here: https://capacitorjs.com/docs/plugins/ios
15
16
  */
16
17
  @objc(AirshipPlugin)
17
- public class AirshipPlugin: CAPPlugin, CAPBridgedPlugin {
18
+ public class AirshipPlugin: CAPPlugin, CAPBridgedPlugin, @unchecked Sendable {
18
19
 
19
20
  public let identifier = "AirshipPlugin"
20
21
  public let jsName = "Airship"
@@ -36,15 +37,17 @@ public class AirshipPlugin: CAPPlugin, CAPBridgedPlugin {
36
37
  .liveActivitiesUpdated: "ios_live_activities_updated"
37
38
  ]
38
39
 
39
- @MainActor
40
40
  public override func load() {
41
- AirshipCapacitorAutopilot.shared.onPluginInitialized(
42
- pluginConfig: self.getConfig()
43
- )
41
+ let config = self.getConfig()
42
+ MainActor.assumeIsolated {
43
+ AirshipCapacitorAutopilot.shared.onPluginInitialized(
44
+ pluginConfig: config
45
+ )
44
46
 
45
- Task {
46
- for await _ in await AirshipProxyEventEmitter.shared.pendingEventAdded {
47
- await self.notifyPendingEvents()
47
+ Task {
48
+ for await _ in AirshipProxyEventEmitter.shared.pendingEventAdded {
49
+ await self.notifyPendingEvents()
50
+ }
48
51
  }
49
52
  }
50
53
  }
@@ -52,22 +55,26 @@ public class AirshipPlugin: CAPPlugin, CAPBridgedPlugin {
52
55
  @MainActor
53
56
  private func notifyPendingEvents() async {
54
57
  for eventType in AirshipProxyEventType.allCases {
55
- await AirshipProxyEventEmitter.shared.processPendingEvents(type: eventType) { event in
58
+ AirshipProxyEventEmitter.shared.processPendingEvents(type: eventType) { event in
56
59
  return sendEvent(event)
57
60
  }
58
61
  }
59
62
  }
60
63
 
61
64
  @MainActor
62
- private func sendEvent(_ event: AirshipProxyEvent) -> Bool {
65
+ private func sendEvent(_ event: any AirshipProxyEvent) -> Bool {
63
66
  guard let eventName = Self.eventNames[event.type] else {
64
67
  return false
65
68
  }
66
69
  guard self.hasListeners(eventName) else {
67
70
  return false
68
71
  }
72
+ do {
73
+ self.notifyListeners(eventName, data: try event.body.unwrapped())
74
+ } catch {
75
+ AirshipLogger.error("Failed to send event: \(event) error: \(error)")
76
+ }
69
77
 
70
- self.notifyListeners(eventName, data: event.body)
71
78
  return true
72
79
  }
73
80
 
@@ -80,7 +87,7 @@ public class AirshipPlugin: CAPPlugin, CAPBridgedPlugin {
80
87
 
81
88
  CAPLog.print("⚡️ To Airship -> ", pluginId, method, call.callbackId as Any)
82
89
 
83
- Task {
90
+ Task { @MainActor in
84
91
  do {
85
92
  if let result = try await self.handle(method: method, call: call) {
86
93
  call.resolve(["value": try AirshipJSON.wrap(result).unWrap() as Any])
@@ -102,7 +109,7 @@ public class AirshipPlugin: CAPPlugin, CAPBridgedPlugin {
102
109
  }
103
110
 
104
111
  @MainActor
105
- private func handle(method: String, call: CAPPluginCall) async throws -> Any? {
112
+ private func handle(method: String, call: CAPPluginCall) async throws -> (any Sendable)? {
106
113
 
107
114
  switch method {
108
115
 
@@ -117,20 +124,20 @@ public class AirshipPlugin: CAPPlugin, CAPBridgedPlugin {
117
124
 
118
125
  // Channel
119
126
  case "channel#getChannelId":
120
- return try AirshipProxy.shared.channel.getChannelId()
127
+ return try AirshipProxy.shared.channel.channelID
121
128
 
122
129
  case "channel#editTags":
123
130
  try AirshipProxy.shared.channel.editTags(
124
- json: try call.requireAnyArg()
131
+ operations: try call.requireCodableArg()
125
132
  )
126
133
  return nil
127
134
 
128
135
  case "channel#getTags":
129
- return try AirshipProxy.shared.channel.getTags()
136
+ return try AirshipProxy.shared.channel.tags
130
137
 
131
138
  case "channel#editTagGroups":
132
139
  try AirshipProxy.shared.channel.editTagGroups(
133
- json: try call.requireAnyArg()
140
+ operations: try call.requireCodableArg()
134
141
  )
135
142
  return nil
136
143
 
@@ -142,12 +149,12 @@ public class AirshipPlugin: CAPPlugin, CAPBridgedPlugin {
142
149
 
143
150
  case "channel#editAttributes":
144
151
  try AirshipProxy.shared.channel.editAttributes(
145
- json: try call.requireAnyArg()
152
+ operations: try call.requireCodableArg()
146
153
  )
147
154
  return nil
148
155
 
149
156
  case "channel#getSubscriptionLists":
150
- return try await AirshipProxy.shared.channel.getSubscriptionLists()
157
+ return try await AirshipProxy.shared.channel.fetchSubscriptionLists()
151
158
 
152
159
  case "channel#enableChannelCreation":
153
160
  try AirshipProxy.shared.channel.enableChannelCreation()
@@ -156,19 +163,19 @@ public class AirshipPlugin: CAPPlugin, CAPBridgedPlugin {
156
163
  // Contact
157
164
  case "contact#editTagGroups":
158
165
  try AirshipProxy.shared.contact.editTagGroups(
159
- json: try call.requireAnyArg()
166
+ operations: try call.requireCodableArg()
160
167
  )
161
168
  return nil
162
169
 
163
170
  case "contact#editSubscriptionLists":
164
171
  try AirshipProxy.shared.contact.editSubscriptionLists(
165
- json: try call.requireAnyArg()
172
+ operations: try call.requireCodableArg()
166
173
  )
167
174
  return nil
168
175
 
169
176
  case "contact#editAttributes":
170
177
  try AirshipProxy.shared.contact.editAttributes(
171
- json: try call.requireAnyArg()
178
+ operations: try call.requireCodableArg()
172
179
  )
173
180
  return nil
174
181
 
@@ -190,7 +197,7 @@ public class AirshipPlugin: CAPPlugin, CAPBridgedPlugin {
190
197
  return nil
191
198
 
192
199
  case "contact#getNamedUserId":
193
- return try await AirshipProxy.shared.contact.getNamedUser()
200
+ return try await AirshipProxy.shared.contact.namedUserID
194
201
 
195
202
 
196
203
  // Push
@@ -212,10 +219,10 @@ public class AirshipPlugin: CAPPlugin, CAPBridgedPlugin {
212
219
  return try AirshipProxy.shared.push.isUserNotificationsEnabled()
213
220
 
214
221
  case "push#getNotificationStatus":
215
- return try await AirshipProxy.shared.push.getNotificationStatus()
222
+ return try await AirshipProxy.shared.push.notificationStatus
216
223
 
217
224
  case "push#getActiveNotifications":
218
- return await AirshipProxy.shared.push.getActiveNotifications()
225
+ return try await AirshipProxy.shared.push.getActiveNotifications()
219
226
 
220
227
  case "push#clearNotification":
221
228
  AirshipProxy.shared.push.clearNotification(
@@ -283,7 +290,7 @@ public class AirshipPlugin: CAPPlugin, CAPBridgedPlugin {
283
290
  return nil
284
291
 
285
292
  case "push#ios#getQuietTime":
286
- return try AirshipProxy.shared.push.getQuietTime()
293
+ return try AirshipJSON.wrap(try AirshipProxy.shared.push.getQuietTime())
287
294
 
288
295
  // In-App
289
296
  case "inApp#setPaused":
@@ -297,7 +304,7 @@ public class AirshipPlugin: CAPPlugin, CAPBridgedPlugin {
297
304
 
298
305
  case "inApp#setDisplayInterval":
299
306
  try AirshipProxy.shared.inApp.setDisplayInterval(
300
- try call.requireIntArg()
307
+ milliseconds: try call.requireIntArg()
301
308
  )
302
309
  return nil
303
310
 
@@ -330,7 +337,7 @@ public class AirshipPlugin: CAPPlugin, CAPBridgedPlugin {
330
337
 
331
338
  // Message Center
332
339
  case "messageCenter#getMessages":
333
- return try? await AirshipProxy.shared.messageCenter.getMessages()
340
+ return try await AirshipProxy.shared.messageCenter.messages
334
341
 
335
342
  case "messageCenter#display":
336
343
  try AirshipProxy.shared.messageCenter.display(
@@ -367,7 +374,7 @@ public class AirshipPlugin: CAPPlugin, CAPBridgedPlugin {
367
374
  return nil
368
375
 
369
376
  case "messageCenter#getUnreadCount":
370
- return try await AirshipProxy.shared.messageCenter.getUnreadCount()
377
+ return try await AirshipProxy.shared.messageCenter.unreadCount
371
378
 
372
379
  case "messageCenter#refreshMessages":
373
380
  try await AirshipProxy.shared.messageCenter.refresh()
@@ -446,7 +453,7 @@ public class AirshipPlugin: CAPPlugin, CAPBridgedPlugin {
446
453
  return nil
447
454
 
448
455
  case "locale#getCurrentLocale":
449
- return try AirshipProxy.shared.locale.getCurrentLocale()
456
+ return try AirshipProxy.shared.locale.currentLocale
450
457
 
451
458
  // Actions
452
459
  case "actions#run":
@@ -459,11 +466,10 @@ public class AirshipPlugin: CAPPlugin, CAPBridgedPlugin {
459
466
  }
460
467
 
461
468
  let arg = try? AirshipJSON.wrap(args[1])
462
- let result = try await AirshipProxy.shared.action.runAction(
469
+ return try await AirshipProxy.shared.action.runAction(
463
470
  actionName,
464
471
  value: args.count == 2 ? arg : nil
465
- ) as? AirshipJSON
466
- return result?.unWrap()
472
+ )
467
473
 
468
474
  // Feature Flag
469
475
  case "featureFlagManager#flag":
@@ -631,3 +637,12 @@ extension CAPPluginCall {
631
637
  throw AirshipErrors.error("Argument must be a double")
632
638
  }
633
639
  }
640
+
641
+ fileprivate extension Encodable {
642
+ func unwrapped<T>() throws -> T {
643
+ guard let value = try AirshipJSON.wrap(self).unWrap() as? T else {
644
+ throw AirshipErrors.error("Failed to unwrap codable")
645
+ }
646
+ return value
647
+ }
648
+ }