Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
12 changes: 5 additions & 7 deletions .github/workflows/create-release-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,13 +79,11 @@ jobs:
- name: Setup Git User
uses: OneSignal/sdk-shared/.github/actions/setup-git-user@main

- name: Setup Bun
uses: oven-sh/setup-bun@v2
- name: Set up Vite+
uses: voidzero-dev/setup-vp@v1
with:
bun-version: latest

- name: Install
run: bun install --frozen-lockfile
cache: true
run-install: true

- name: Get current native SDK versions from target branch
id: current_versions
Expand Down Expand Up @@ -152,7 +150,7 @@ jobs:
NEW_VERSION="${{ inputs.rn_version }}"

# Update package.json version
bun pm pkg set version="$NEW_VERSION"
npm pkg set version="$NEW_VERSION"

# Only commit if there are changes
git add -A
Expand Down
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ dependencies {
// Exclude OkHttp from OneSignal's transitive deps: the 5.7.x otel module pulls in OkHttp 5.x
// (via opentelemetry-exporter-sender-okhttp) which is binary-incompatible with React Native's
// networking stack (okhttp3.internal.Util removed in 5.x). React Native already provides OkHttp 4.x.
api('com.onesignal:OneSignal:5.7.3') {
api('com.onesignal:OneSignal:5.7.6') {
exclude group: 'com.squareup.okhttp3', module: 'okhttp'
}

Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-onesignal",
"version": "5.4.0",
"version": "5.4.1",
"description": "React Native OneSignal SDK",
"keywords": [
"android",
Expand Down Expand Up @@ -40,8 +40,8 @@
"format": "vp fmt && npm run format:spotless",
"format:check:spotless": "./examples/demo/android/gradlew spotlessCheck",
"format:check": "vp fmt --check && npm run format:check:spotless",
"lint": "vp check && npm run format:check:spotless",
"lint:fix": "vp check --fix && npm run format:spotless",
"lint": "vp check src && npm run format:check:spotless",
"lint:fix": "vp check --fix src && npm run format:spotless",
"test": "vp test"
},
"dependencies": {
Expand Down
12 changes: 12 additions & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"compilerOptions": {
"target": "ES2020",
"module": "ES2020",
"moduleResolution": "bundler",
"strict": true,
"esModuleInterop": true,
"skipLibCheck": true
},
"include": ["src/**/*.ts"],
"exclude": ["node_modules", "dist"]
}
Loading