-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: sdk 712 work manager support (#414)
chore: move work manager related code to new module. feat: support multiple instances for work manager feat: added work manager to sample feat: add work manager functionality to sample app chore: explicit mentioned that inner classes won't work for analytics factory chore: rename sink to sync
- Loading branch information
Showing
37 changed files
with
742 additions
and
245 deletions.
There are no files selected for viewing
This file contains 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
95 changes: 0 additions & 95 deletions
95
...ava/com/rudderstack/android/internal/infrastructure/sync/DataSinkWorkManagerExtensions.kt
This file was deleted.
Oops, something went wrong.
59 changes: 0 additions & 59 deletions
59
...id/src/main/java/com/rudderstack/android/internal/infrastructure/sync/RudderSyncWorker.kt
This file was deleted.
Oops, something went wrong.
This file contains 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 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 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 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 |
---|---|---|
@@ -0,0 +1 @@ | ||
platform="java-kotlin" |
This file contains 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,23 +1,7 @@ | ||
# | ||
# Copyright 2023 Google LLC | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# https://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
# | ||
|
||
POM_ARTIFACT_ID=navigationplugin | ||
GROUP=com.rudderstack.android.navigationplugin | ||
POM_ARTIFACT_ID=navigation | ||
GROUP=com.rudderstack.android | ||
POM_PACKAGING=aar | ||
VERSION_CODE=1 | ||
VERSION_NAME=0.1.0 | ||
POM_NAME=Rudderstack plugin for listening to navigation events | ||
POM_DESCRIPTION= A plugin for listening to navigation events | ||
VERSION_NAME=1.0.0 | ||
POM_NAME=Rudderstack navigation SDK for Android | ||
POM_DESCRIPTION=Rudderstack navigation SDK for Android |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"name": "navigation", | ||
"version": "1.0.0", | ||
"description": "", | ||
"main": "index.js", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
}, | ||
"author": "", | ||
"license": "ISC" | ||
} |
This file contains 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 |
---|---|---|
@@ -0,0 +1,81 @@ | ||
{ | ||
"name": "navigation", | ||
"$schema": "../node_modules/nx/schemas/project-schema.json", | ||
"projectType": "library", | ||
"sourceRoot": "./libs/navigationplugin/src", | ||
"targets": { | ||
"build": { | ||
"executor": "@jnxplus/nx-gradle:build", | ||
"dependsOn": [ | ||
{ | ||
"projects": [ | ||
"android", | ||
"rudderreporter" | ||
], | ||
"target": "build" | ||
} | ||
], | ||
"outputs": [ | ||
"{projectRoot}/libs/navigationplugin/build" | ||
] | ||
}, | ||
"lint": { | ||
"dependsOn": [ | ||
"build" | ||
], | ||
"executor": "@jnxplus/nx-gradle:lint", | ||
"options": { | ||
"linter": "ktlint" | ||
} | ||
}, | ||
"test": { | ||
"dependsOn": [ | ||
"build" | ||
], | ||
"executor": "@jnxplus/nx-gradle:test" | ||
}, | ||
"ktformat": { | ||
"executor": "@jnxplus/nx-gradle:ktformat" | ||
}, | ||
"version": { | ||
"executor": "@jscutlery/semver:version", | ||
"options": { | ||
"baseBranch": "master", | ||
"preset": "conventional", | ||
"tagPrefix": "${projectName}@" | ||
} | ||
}, | ||
"sync-bumped-version-properties": { | ||
"executor": "nx:run-commands", | ||
"options": { | ||
"command": "node gradle-updater.js 'libs/navigationplugin'" | ||
} | ||
}, | ||
"github": { | ||
"executor": "@jscutlery/semver:github", | ||
"options": { | ||
"tag": "[email protected]", | ||
"notesFile": ".libs/navigationplugin/CHANGELOG_LATEST.md" | ||
} | ||
}, | ||
"release-sonatype": { | ||
"dependsOn": [ | ||
"build" | ||
], | ||
"executor": "nx:run-commands", | ||
"options": { | ||
"command": "echo 'navigation-release' && ./gradlew :libs:navigationplugin:publishToSonatype -Prelease closeAndReleaseSonatypeStagingRepository" | ||
} | ||
}, | ||
"snapshot-release": { | ||
"dependsOn": [ | ||
"build" | ||
], | ||
"executor": "nx:run-commands", | ||
"options": { | ||
"command": "echo 'navigation-snapshot' && ./gradlew :libs:navigationplugin:publishToSonatype" | ||
} | ||
} | ||
}, | ||
"tags": [] | ||
} |
This file contains 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 |
---|---|---|
@@ -0,0 +1 @@ | ||
/build |
Oops, something went wrong.