From 053470059f351a9907eafb19d4c87a3088f61c6d Mon Sep 17 00:00:00 2001 From: Anirudha SM Date: Mon, 6 Apr 2026 11:19:43 +0530 Subject: [PATCH 1/2] MOEN-43445: added Personalize module to CD --- .github/workflows/cd.yml | 5 +++++ Utilities/release_dependents.rb | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 7507187..e9eecbe 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -27,6 +27,11 @@ on: type: boolean required: false default: true + release-personalize: + description: Whether to release Personalize + type: boolean + required: false + default: true jobs: release: diff --git a/Utilities/release_dependents.rb b/Utilities/release_dependents.rb index 843c7f8..a939d7c 100755 --- a/Utilities/release_dependents.rb +++ b/Utilities/release_dependents.rb @@ -13,7 +13,8 @@ module MoEngagePluginSDK repo_flag_mapping = { 'apple-plugin-cards' => 'release-cards', 'apple-plugin-geofence' => 'release-geofence', - 'apple-plugin-inbox' => 'release-inbox' + 'apple-plugin-inbox' => 'release-inbox', + 'apple-plugin-personalize' => 'release-personalize' } inputs = JSON.parse(ENV['MO_WORKFLOW_INPUTS']) From ee9976113c479cd5c4fe04e836f2620af0b027b1 Mon Sep 17 00:00:00 2001 From: Anirudha SM Date: Mon, 6 Apr 2026 11:25:42 +0530 Subject: [PATCH 2/2] MOEN-43445: Added documentation and updated example app --- CONTRIBUTING.md | 10 ++++++---- Examples/Podfile | 1 + Examples/Project.swift | 2 ++ 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 01b6681..e48aa48 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -23,9 +23,10 @@ Before you begin, ensure you have the following installed: git clone https://github.com/moengage/apple-plugin-cards.git git clone https://github.com/moengage/apple-plugin-geofence.git git clone https://github.com/moengage/apple-plugin-inbox.git + git clone https://github.com/moengage/apple-plugin-personalize.git ``` -1. **Comment out `iOS-PluginBase` version based dependency in cards, geofence and inbox `Package.swift` package manifest and uncomment relative path dependency.** i.e +1. **Comment out `iOS-PluginBase` version based dependency in cards, geofence, inbox and personalize `Package.swift` package manifest and uncomment relative path dependency.** i.e ```swift // comment out following by prefixing with "// " @@ -67,7 +68,8 @@ your-workspace/ ├── iOS-PluginBase/ # This repository ├── apple-plugin-cards/ # Cards plugin repository ├── apple-plugin-geofence/ # Geofence plugin repository -└── apple-plugin-inbox/ # Inbox plugin repository +├── apple-plugin-inbox/ # Inbox plugin repository +├── apple-plugin-personalize/ # Personalize plugin repository └── hybrid/ # Hybrid package repository (Flutter, RN etc.) ``` @@ -110,7 +112,7 @@ The project depends on: - **MoEngage Apple SDK** (version 10.07.1+) - **UIKit, Foundation, UserNotifications** frameworks -- **Cards, Geofence, Inbox plugins** (for full functionality) +- **Cards, Geofence, Inbox, Personalize plugins** (for full functionality) ### Version Management @@ -133,7 +135,7 @@ The project includes: The project uses automated release workflows: - **CI/CD**: GitHub Actions for testing and deployment -- **Dependent releases**: Automated release of dependent plugins (Cards, Geofence, Inbox) +- **Dependent releases**: Automated release of dependent plugins (Cards, Geofence, Inbox, Personalize) - **Version bumping**: Automated version management across related repositories ### Troubleshooting diff --git a/Examples/Podfile b/Examples/Podfile index 7d44fad..42e9b5e 100644 --- a/Examples/Podfile +++ b/Examples/Podfile @@ -29,4 +29,5 @@ target 'MoEngagePluginBaseCocoaiOS' do pod 'MoEngagePluginGeofence', :path => '../../apple-plugin-geofence' pod 'MoEngagePluginInbox', :path => '../../apple-plugin-inbox' pod 'MoEngagePluginCards', :testspecs => ['Tests'], :path => '../../apple-plugin-cards' + pod 'MoEngagePluginPersonalize', :path => '../../apple-plugin-personalize' end diff --git a/Examples/Project.swift b/Examples/Project.swift index e07a9d0..97c9455 100644 --- a/Examples/Project.swift +++ b/Examples/Project.swift @@ -16,6 +16,7 @@ let project = Project( .local(path: "../../apple-plugin-cards"), .local(path: "../../apple-plugin-geofence"), .local(path: "../../apple-plugin-inbox"), + .local(path: "../../apple-plugin-personalize"), ], targets: [ // Sample Apps @@ -56,6 +57,7 @@ let project = Project( .package(product: "MoEngagePluginCards", type: .runtime), .package(product: "MoEngagePluginGeofence", type: .runtime), .package(product: "MoEngagePluginInbox", type: .runtime), + .package(product: "MoEngagePluginPersonalize", type: .runtime), ], settings: .settings(base:defaultSettings) ),