Skip to content

Commit

Permalink
doc and changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
Ulrico972 committed Dec 20, 2024
1 parent e8c0c48 commit c25e011
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 6 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Airship Expo Plugin Changelog

## Version 1.4.0 - December 20, 2024
Minor version that adds support for Aiship Plugin Extender.

## Version 1.3.2 - December 13, 2024
Patch version that fixes the Notification Service Extension for EAS builds.

Expand Down
14 changes: 11 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,16 @@ Add the plugin to the app.json:
{
"android":{
"icon": "./assets/ic_notification.png",
"customNotificationChannels": "./assets/notification_channels.xml"
"customNotificationChannels": "./assets/notification_channels.xml",
"airshipExtender": "./assets/AirshipExtender.kt"
},
"ios":{
"mode": "development",
"notificationService": "./assets/NotificationService.swift",
"notificationServiceInfo": "./assets/NotificationServiceExtension-Info.plist"
"notificationServiceInfo": "./assets/NotificationServiceExtension-Info.plist",
"notificationServiceTargetName": "NotificationServiceExtension",
"developmentTeamID": "MY_TEAM_ID",
"airshipExtender": "./assets/AirshipPluginExtender.swift"
}
}
]
Expand All @@ -35,11 +39,15 @@ Add the plugin to the app.json:
Android Config:
- icon: Required. Local path to an image to use as the icon for push notifications. 96x96 all-white png with transparency. The name of the icon will be the resource name.
- customNotificationChannels: Optional. The local path to a Custom Notification Channels resource file.
- airshipExtender: Optional. The local path to a AirshipExtender.kt file.

iOS Config:
- mode: Required. The APNS entitlement. Either `development` or `production`.
- notificationService: Optional. The local path to a custom Notification Service Extension.
- notificationService: Optional. The local path to a custom Notification Service Extension or `DEFAULT_AIRSHIP_SERVICE_EXTENSION` for Airship's default one.
- notificationServiceInfo: Optional. Airship will use a default one if not provided. The local path to a Notification Service Extension Info.plist.
- notificationServiceTargetName: Optional. Defaults to NotificationServiceExtension if not provided.
- developmentTeamID: Optional. The Apple Development Team ID used to configure the Notification Service Extension target.
- airshipExtender: Optional. The local path to a AirshipPluginExtender.swift file.

## Calling takeOff

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "airship-expo-plugin",
"version": "1.3.2",
"version": "1.4.0",
"description": "Airship Expo config plugin",
"main": "./app.plugin.js",
"scripts": {
Expand Down
8 changes: 6 additions & 2 deletions plugin/src/withAirship.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ export type AirshipAndroidPluginProps = {
* Optional. The local path to a Custom Notification Channels resource file.
*/
customNotificationChannels?: string;

/**
* Optional. The local path to a AirshipExtender.kt file.
*/
airshipExtender?: string;
};

Expand All @@ -41,7 +43,9 @@ export type AirshipIOSPluginProps = {
* Optional. The Apple Development Team ID used to configure the Notification Service Extension target.
*/
developmentTeamID?: string;

/**
* Optional. The local path to a AirshipPluginExtender.swift file.
*/
airshipExtender?: string;
}

Expand Down

0 comments on commit c25e011

Please sign in to comment.