Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
c7756ac
fix: IAM with NOT_EQUAL_TO trigger always shows up (#2509)
jinliu9508 Jan 5, 2026
2c43b9d
chore: Release SDK v5.4.2-beta1 (#2513)
github-actions[bot] Jan 5, 2026
a4ba2a8
fix: send receive receipt even when preventDefault is called (#2512)
nan-li Jan 7, 2026
a827295
fix: crash around com.onesignal.SyncJobService (#2515)
jinliu9508 Jan 8, 2026
359e8be
ci: remove "Auto-Generated Release Notes" header from create-release-…
sherwinski Jan 23, 2026
cbb373f
chore: Restrict test coverage just for the lines of code changed (#2527)
abdulraqeeb33 Jan 26, 2026
696dc54
chore: merge 5.3.0 beta into main and resolve conflict (#2525)
jinliu9508 Jan 26, 2026
7636afc
chore: improve testing with injected coroutine dispatchers (#2524)
jinliu9508 Jan 26, 2026
5cab18b
ci: remove extra "Channels" line that gets prepended to the release n…
sherwinski Jan 26, 2026
8a1ff87
Revert "chore: improve testing with injected coroutine dispatchers" (…
jinliu9508 Jan 26, 2026
fa3df7e
fix: end initialization early if device storage is locked (#2520)
jinliu9508 Jan 27, 2026
6675028
Add Claude Code GitHub Workflow (#2532)
sherwinski Jan 27, 2026
df936c6
feat: IAMs now display when triggers added before first fetch (#2528)
nan-li Jan 27, 2026
35c53e1
fix: custom events now handle null object within the event properties…
jinliu9508 Jan 30, 2026
0198edd
Rename sdk-actions to sdk-shared in workflows (#2547)
fadi-george Feb 11, 2026
9d2b4b7
chore: Updating the example app (#2543)
abdulraqeeb33 Feb 13, 2026
91925cb
chore: Removes outdated example app (#2548)
fadi-george Feb 17, 2026
ac6a949
feat(UI): Centers top app bar elements (#2549)
fadi-george Feb 18, 2026
41b47b3
improve prompt
fadi-george Feb 18, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 44 additions & 0 deletions .github/workflows/claude-code-review.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: Claude Code Review

on:
pull_request:
types: [opened, synchronize, ready_for_review, reopened]
# Optional: Only run on specific file changes
# paths:
# - "src/**/*.ts"
# - "src/**/*.tsx"
# - "src/**/*.js"
# - "src/**/*.jsx"

jobs:
claude-review:
# Optional: Filter by PR author
# if: |
# github.event.pull_request.user.login == 'external-contributor' ||
# github.event.pull_request.user.login == 'new-developer' ||
# github.event.pull_request.author_association == 'FIRST_TIME_CONTRIBUTOR'

runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: read
issues: read
id-token: write

steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 1

- name: Run Claude Code Review
id: claude-review
uses: anthropics/claude-code-action@v1
with:
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
plugin_marketplaces: 'https://github.com/anthropics/claude-code.git'
plugins: 'code-review@claude-code-plugins'
prompt: '/code-review:code-review ${{ github.repository }}/pull/${{ github.event.pull_request.number }}'
# See https://github.com/anthropics/claude-code-action/blob/main/docs/usage.md
# or https://code.claude.com/docs/en/cli-reference for available options

50 changes: 50 additions & 0 deletions .github/workflows/claude.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: Claude Code

on:
issue_comment:
types: [created]
pull_request_review_comment:
types: [created]
issues:
types: [opened, assigned]
pull_request_review:
types: [submitted]

jobs:
claude:
if: |
(github.event_name == 'issue_comment' && contains(github.event.comment.body, '@claude')) ||
(github.event_name == 'pull_request_review_comment' && contains(github.event.comment.body, '@claude')) ||
(github.event_name == 'pull_request_review' && contains(github.event.review.body, '@claude')) ||
(github.event_name == 'issues' && (contains(github.event.issue.body, '@claude') || contains(github.event.issue.title, '@claude')))
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: read
issues: read
id-token: write
actions: read # Required for Claude to read CI results on PRs
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 1

- name: Run Claude Code
id: claude
uses: anthropics/claude-code-action@v1
with:
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}

# This is an optional setting that allows Claude to read CI results on PRs
additional_permissions: |
actions: read
# Optional: Give a custom prompt to Claude. If this is not specified, Claude will perform the instructions specified in the comment that tagged it.
# prompt: 'Update the pull request description to include a summary of changes.'

# Optional: Add claude_args to customize behavior and configuration
# See https://github.com/anthropics/claude-code-action/blob/main/docs/usage.md
# or https://code.claude.com/docs/en/cli-reference for available options
# claude_args: '--allowed-tools Bash(gh pr:*)'

7 changes: 2 additions & 5 deletions .github/workflows/create-release-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:
fetch-tags: true

- name: Setup Git User
uses: OneSignal/sdk-actions/.github/actions/setup-git-user@main
uses: OneSignal/sdk-shared/.github/actions/setup-git-user@main

- name: Create release branch from base
run: |
Expand All @@ -86,7 +86,7 @@ jobs:
- name: Update SDK_VERSION in gradle.properties
run: |
sed -i "s/^SDK_VERSION=.*/SDK_VERSION=$VERSION/" OneSignalSDK/gradle.properties
sed -i "s/^SDK_VERSION=.*/SDK_VERSION=$VERSION/" Examples/OneSignalDemo/gradle.properties
sed -i "s/^SDK_VERSION=.*/SDK_VERSION=$VERSION/" examples/demo/gradle.properties

- name: Commit and Push changes
run: |
Expand All @@ -110,9 +110,6 @@ jobs:
- name: Generate Release Notes from PR Titles
id: generate_notes
run: |
echo "## 🔖 Auto-Generated Release Notes" > pr_body.md
echo "" >> pr_body.md

if [[ "$VERSION" == *"alpha"* ]]; then
CHANNEL="alpha"
elif [[ "$VERSION" == *"beta"* ]]; then
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint-pr-title.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ on:

jobs:
call:
uses: OneSignal/sdk-actions/.github/workflows/lint-pr-title.yml@main
uses: OneSignal/sdk-shared/.github/workflows/lint-pr-title.yml@main
secrets: inherit
4 changes: 1 addition & 3 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -163,8 +163,6 @@ jobs:
CHANNEL="current"
fi

echo -e "Channels: $CHANNEL\n\n$(cat release_notes.md)" > release_notes.md

git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"

Expand All @@ -180,7 +178,7 @@ jobs:

wrapper_prs:
needs: publish
uses: OneSignal/sdk-actions/.github/workflows/create-wrapper-prs.yml@main
uses: OneSignal/sdk-shared/.github/workflows/create-wrapper-prs.yml@main
secrets:
GH_PUSH_TOKEN: ${{ secrets.GH_PUSH_TOKEN }}
with:
Expand Down
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ build/
# Local properties
local.properties
OneSignalSDK/local.properties
Examples/OneSignalDemo/local.properties
examples/demo/local.properties

# macOS
.DS_Store
Expand All @@ -18,7 +18,7 @@ Examples/OneSignalDemo/local.properties
# Captures
captures/
OneSignalSDK/captures/
Examples/OneSignalDemo/captures/
examples/demo/captures/

# GPG files
*.gpg
Expand Down
8 changes: 0 additions & 8 deletions Examples/OneSignalDemo/.gitignore

This file was deleted.

122 changes: 0 additions & 122 deletions Examples/OneSignalDemo/app/build.gradle

This file was deleted.

20 changes: 0 additions & 20 deletions Examples/OneSignalDemo/app/src/huawei/AndroidManifest.xml

This file was deleted.

This file was deleted.

2 changes: 0 additions & 2 deletions Examples/OneSignalDemo/app/src/main/assets/api_key.txt

This file was deleted.

Binary file not shown.
Binary file not shown.
Loading