-
Notifications
You must be signed in to change notification settings - Fork 0
Release 21.1.0 #35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Release 21.1.0 #35
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
c544e37
Add OnMessagesUpdates
khmMouna 19262b8
Fix iOS
khmMouna 88a048f
Small adjustments with isRead update and add to MauiSamples
6f1cc71
Fix build
3ed4557
isRead fix
40d95f4
Expose permissions manager in wrapper and implement it
978aebc
Deep link processing
b95cdee
Notification status
766e23d
Version handling and update update_version script
09b4f89
Comments
f093732
Bump to correct version
1b37015
Bump more versions
8f47750
Bumps
e2f117e
Fix ci and release for new xcframework location
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| github "urbanairship/ios-library" == 20.1.1 | ||
| github "urbanairship/ios-library" == 20.2.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| github "urbanairship/ios-library" "20.1.1" | ||
| github "urbanairship/ios-library" "20.2.0" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,31 +1,94 @@ | ||
| #!/bin/bash -ex | ||
| #!/bin/bash | ||
| set -e | ||
|
|
||
| SCRIPT_DIRECTORY="$(dirname "$0")" | ||
| ROOT_PATH=$SCRIPT_DIRECTORY/../ | ||
| ROOT_PATH="$SCRIPT_DIRECTORY/.." | ||
|
|
||
| # The version supplied as first argument | ||
| VERSION=$1 | ||
| VERSION="" | ||
| PROXY_VERSION="" | ||
|
|
||
| if [ -z "$1" ]; then | ||
| echo "No version supplied" | ||
| echo "Usage: $0 <version>" | ||
| echo "Example: $0 20.1.0" | ||
| usage() { | ||
| echo "Usage: $0 <version> [-p <proxy_version>]" | ||
| echo "" | ||
| echo "Updates the Airship .NET library version." | ||
| echo "" | ||
| echo "Arguments:" | ||
| echo " <version> The .NET library version (e.g., 20.2.1)" | ||
| echo "" | ||
| echo "Options:" | ||
| echo " -p <proxy_version> Also update the native SDK versions (iOS and Android)" | ||
| echo " to the specified proxy/SDK version (e.g., 19.1.0)" | ||
| echo "" | ||
| echo "Examples:" | ||
| echo " $0 20.2.1 # Update .NET lib version only" | ||
| echo " $0 20.2.1 -p 19.1.0 # Update .NET lib and native SDK versions" | ||
| exit 1 | ||
| } | ||
|
|
||
| # Parse arguments | ||
| if [ -z "$1" ]; then | ||
| usage | ||
| fi | ||
|
|
||
| VERSION=$1 | ||
| shift | ||
|
|
||
| while getopts "p:" opt; do | ||
| case $opt in | ||
| p) | ||
| PROXY_VERSION=$OPTARG | ||
| ;; | ||
| *) | ||
| usage | ||
| ;; | ||
| esac | ||
| done | ||
|
|
||
| echo "Updating Airship .NET library version to $VERSION" | ||
|
|
||
| # Update crossPlatformVersion in airship.properties | ||
| sed -i '' "s/^crossPlatformVersion = .*/crossPlatformVersion = $VERSION/g" "$ROOT_PATH/airship.properties" | ||
|
|
||
| # Update version references in documentation | ||
| # Update SharedAssemblyInfo.Common.cs | ||
| sed -i '' "s/\[assembly: UACrossPlatformVersion (\"[^\"]*\")\]/[assembly: UACrossPlatformVersion (\"$VERSION\")]/g" "$ROOT_PATH/src/SharedAssemblyInfo.Common.cs" | ||
|
|
||
| # Update Airship.Version in iOS Airship.cs | ||
| sed -i '' "s/public static string Version => \"[^\"]*\";/public static string Version => \"$VERSION\";/g" "$ROOT_PATH/src/Airship.Net/Platforms/iOS/Airship.cs" | ||
|
|
||
| # Update Airship.Version in Android Airship.cs | ||
| sed -i '' "s/public static string Version => \"[^\"]*\";/public static string Version => \"$VERSION\";/g" "$ROOT_PATH/src/Airship.Net/Platforms/Android/Airship.cs" | ||
|
|
||
| # Update version references in README.md | ||
| sed -i '' "s/\(Airship\.Net[^:]*:\s*\)[0-9]\+\.[0-9]\+\.[0-9]\+/\1$VERSION/g" "$ROOT_PATH/README.md" 2>/dev/null || true | ||
|
|
||
| # Update version in CLAUDE.md if it exists | ||
| if [ -f "$ROOT_PATH/CLAUDE.md" ]; then | ||
| sed -i '' "s/\(crossPlatformVersion[^0-9]*\)[0-9]\+\.[0-9]\+\.[0-9]\+/\1$VERSION/g" "$ROOT_PATH/CLAUDE.md" | ||
| fi | ||
|
|
||
| echo "Version updated to $VERSION" | ||
| echo "✓ Updated .NET library version to $VERSION" | ||
|
|
||
| # Update native SDK versions if -p flag was provided | ||
| if [ -n "$PROXY_VERSION" ]; then | ||
| echo "" | ||
| echo "Updating native SDK versions to $PROXY_VERSION" | ||
|
|
||
| # Update iosVersion in airship.properties | ||
| sed -i '' "s/^iosVersion = .*/iosVersion = $PROXY_VERSION/g" "$ROOT_PATH/airship.properties" | ||
|
|
||
| # Update androidVersion in airship.properties | ||
| sed -i '' "s/^androidVersion = .*/androidVersion = $PROXY_VERSION/g" "$ROOT_PATH/airship.properties" | ||
|
|
||
| # Update iosFrameworkZip in airship.properties | ||
| sed -i '' "s/^iosFrameworkZip = .*/iosFrameworkZip = Airship-iOS-SDK-$PROXY_VERSION.zip/g" "$ROOT_PATH/airship.properties" | ||
|
|
||
| echo "✓ Updated iOS SDK version to $PROXY_VERSION" | ||
| echo "✓ Updated Android SDK version to $PROXY_VERSION" | ||
| echo "✓ Updated iOS framework zip to Airship-iOS-SDK-$PROXY_VERSION.zip" | ||
| fi | ||
|
|
||
| echo "" | ||
| echo "Don't forget to:" | ||
| echo " 1. Update CHANGELOG.md with release notes" | ||
| echo " 2. Run ./gradlew build to sync versions" | ||
| echo " 3. Commit the changes" | ||
| echo " 3. Commit the changes" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not necessary just nice to have I think, let's us know when something is broken more easily for these APIs