Fix: Notification click not foreground the app in the first click if app is closed and no clickListener is added #924
Workflow file for this run
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
| name: Test | |
| on: | |
| pull_request: | |
| branches: "**" | |
| jobs: | |
| build: | |
| runs-on: ubuntu-20.04 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: "[Setup] Java" | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: '17' | |
| distribution: 'temurin' | |
| - name: "[Setup] Android" | |
| uses: android-actions/setup-android@v3 | |
| with: | |
| cmdline-tools-version: 10406996 | |
| log-accepted-android-sdk-licenses: false | |
| - name: "[Test] Linting" | |
| working-directory: OneSignalSDK | |
| run: | | |
| ./gradlew ktlintCheck --console=plain | |
| - name: "[Test] SDK Unit Tests" | |
| working-directory: OneSignalSDK | |
| run: | | |
| ./gradlew testReleaseUnitTest --console=plain --continue | |
| - name: Unit tests results | |
| if: failure() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: unit-tests-results | |
| path: OneSignalSDK/unittest/build |