react-native-mparticle 2.7.6 → 2.7.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/dependabot.yml +12 -0
- package/.github/workflows/daily.yml +19 -0
- package/.github/workflows/dependabot-automerge.yml +12 -0
- package/.github/workflows/pull-request.yml +36 -7
- package/.github/workflows/release.yml +10 -23
- package/.github/workflows/sonarcloud.yml +16 -0
- package/android/.gradle/7.5.1/checksums/checksums.lock +0 -0
- package/android/.gradle/{5.4.1/executionHistory/executionHistory.bin → 7.5.1/checksums/md5-checksums.bin} +0 -0
- package/android/.gradle/7.5.1/checksums/sha1-checksums.bin +0 -0
- package/android/.gradle/7.5.1/dependencies-accessors/dependencies-accessors.lock +0 -0
- package/android/.gradle/{5.4.1 → 7.5.1/dependencies-accessors}/gc.properties +0 -0
- package/android/.gradle/7.5.1/executionHistory/executionHistory.lock +0 -0
- package/android/.gradle/{5.4.1 → 7.5.1}/fileChanges/last-build.bin +0 -0
- package/android/.gradle/7.5.1/fileHashes/fileHashes.lock +0 -0
- package/android/.gradle/7.5.1/gc.properties +0 -0
- package/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/android/.gradle/buildOutputCleanup/cache.properties +2 -2
- package/android/.project +2 -2
- package/android/.settings/org.eclipse.buildship.core.prefs +1 -1
- package/android/build.gradle +42 -24
- package/android/gradle/wrapper/gradle-wrapper.properties +1 -1
- package/android/gradle.properties +53 -0
- package/android/libs/react-native-android/com/facebook/react/hermes-engine/0.70.5/hermes-engine-0.70.5-debug-sources.jar +0 -0
- package/android/libs/react-native-android/com/facebook/react/hermes-engine/0.70.5/hermes-engine-0.70.5-debug-sources.jar.md5 +1 -0
- package/android/libs/react-native-android/com/facebook/react/hermes-engine/0.70.5/hermes-engine-0.70.5-debug-sources.jar.sha1 +1 -0
- package/android/libs/react-native-android/com/facebook/react/hermes-engine/0.70.5/hermes-engine-0.70.5-debug-sources.jar.sha256 +1 -0
- package/android/libs/react-native-android/com/facebook/react/hermes-engine/0.70.5/hermes-engine-0.70.5-debug-sources.jar.sha512 +1 -0
- package/android/libs/react-native-android/com/facebook/react/hermes-engine/0.70.5/hermes-engine-0.70.5-debug.aar +0 -0
- package/android/libs/react-native-android/com/facebook/react/hermes-engine/0.70.5/hermes-engine-0.70.5-debug.aar.md5 +1 -0
- package/android/libs/react-native-android/com/facebook/react/hermes-engine/0.70.5/hermes-engine-0.70.5-debug.aar.sha1 +1 -0
- package/android/libs/react-native-android/com/facebook/react/hermes-engine/0.70.5/hermes-engine-0.70.5-debug.aar.sha256 +1 -0
- package/android/libs/react-native-android/com/facebook/react/hermes-engine/0.70.5/hermes-engine-0.70.5-debug.aar.sha512 +1 -0
- package/android/libs/react-native-android/com/facebook/react/hermes-engine/0.70.5/hermes-engine-0.70.5-release-sources.jar +0 -0
- package/android/libs/react-native-android/com/facebook/react/hermes-engine/0.70.5/hermes-engine-0.70.5-release-sources.jar.md5 +1 -0
- package/android/libs/react-native-android/com/facebook/react/hermes-engine/0.70.5/hermes-engine-0.70.5-release-sources.jar.sha1 +1 -0
- package/android/libs/react-native-android/com/facebook/react/hermes-engine/0.70.5/hermes-engine-0.70.5-release-sources.jar.sha256 +1 -0
- package/android/libs/react-native-android/com/facebook/react/hermes-engine/0.70.5/hermes-engine-0.70.5-release-sources.jar.sha512 +1 -0
- package/android/libs/react-native-android/com/facebook/react/hermes-engine/0.70.5/hermes-engine-0.70.5-release.aar +0 -0
- package/android/libs/react-native-android/com/facebook/react/hermes-engine/0.70.5/hermes-engine-0.70.5-release.aar.md5 +1 -0
- package/android/libs/react-native-android/com/facebook/react/hermes-engine/0.70.5/hermes-engine-0.70.5-release.aar.sha1 +1 -0
- package/android/libs/react-native-android/com/facebook/react/hermes-engine/0.70.5/hermes-engine-0.70.5-release.aar.sha256 +1 -0
- package/android/libs/react-native-android/com/facebook/react/hermes-engine/0.70.5/hermes-engine-0.70.5-release.aar.sha512 +1 -0
- package/android/libs/react-native-android/com/facebook/react/hermes-engine/0.70.5/hermes-engine-0.70.5.module +204 -0
- package/android/libs/react-native-android/com/facebook/react/hermes-engine/0.70.5/hermes-engine-0.70.5.module.md5 +1 -0
- package/android/libs/react-native-android/com/facebook/react/hermes-engine/0.70.5/hermes-engine-0.70.5.module.sha1 +1 -0
- package/android/libs/react-native-android/com/facebook/react/hermes-engine/0.70.5/hermes-engine-0.70.5.module.sha256 +1 -0
- package/android/libs/react-native-android/com/facebook/react/hermes-engine/0.70.5/hermes-engine-0.70.5.module.sha512 +1 -0
- package/android/libs/react-native-android/com/facebook/react/hermes-engine/0.70.5/hermes-engine-0.70.5.pom +44 -0
- package/android/libs/react-native-android/com/facebook/react/hermes-engine/0.70.5/hermes-engine-0.70.5.pom.md5 +1 -0
- package/android/libs/react-native-android/com/facebook/react/hermes-engine/0.70.5/hermes-engine-0.70.5.pom.sha1 +1 -0
- package/android/libs/react-native-android/com/facebook/react/hermes-engine/0.70.5/hermes-engine-0.70.5.pom.sha256 +1 -0
- package/android/libs/react-native-android/com/facebook/react/hermes-engine/0.70.5/hermes-engine-0.70.5.pom.sha512 +1 -0
- package/android/libs/react-native-android/com/facebook/react/hermes-engine/maven-metadata.xml +13 -0
- package/android/libs/react-native-android/com/facebook/react/hermes-engine/maven-metadata.xml.md5 +1 -0
- package/android/libs/react-native-android/com/facebook/react/hermes-engine/maven-metadata.xml.sha1 +1 -0
- package/android/libs/react-native-android/com/facebook/react/hermes-engine/maven-metadata.xml.sha256 +1 -0
- package/android/libs/react-native-android/com/facebook/react/hermes-engine/maven-metadata.xml.sha512 +1 -0
- package/android/libs/react-native-android/com/facebook/react/react-native/0.70.5/react-native-0.70.5-debug-sources.jar +0 -0
- package/android/libs/react-native-android/com/facebook/react/react-native/0.70.5/react-native-0.70.5-debug-sources.jar.md5 +1 -0
- package/android/libs/react-native-android/com/facebook/react/react-native/0.70.5/react-native-0.70.5-debug-sources.jar.sha1 +1 -0
- package/android/libs/react-native-android/com/facebook/react/react-native/0.70.5/react-native-0.70.5-debug-sources.jar.sha256 +1 -0
- package/android/libs/react-native-android/com/facebook/react/react-native/0.70.5/react-native-0.70.5-debug-sources.jar.sha512 +1 -0
- package/android/libs/react-native-android/com/facebook/react/react-native/0.70.5/react-native-0.70.5-debug.aar +0 -0
- package/android/libs/react-native-android/com/facebook/react/react-native/0.70.5/react-native-0.70.5-debug.aar.md5 +1 -0
- package/android/libs/react-native-android/com/facebook/react/react-native/0.70.5/react-native-0.70.5-debug.aar.sha1 +1 -0
- package/android/libs/react-native-android/com/facebook/react/react-native/0.70.5/react-native-0.70.5-debug.aar.sha256 +1 -0
- package/android/libs/react-native-android/com/facebook/react/react-native/0.70.5/react-native-0.70.5-debug.aar.sha512 +1 -0
- package/android/libs/react-native-android/com/facebook/react/react-native/0.70.5/react-native-0.70.5-release-sources.jar +0 -0
- package/android/libs/react-native-android/com/facebook/react/react-native/0.70.5/react-native-0.70.5-release-sources.jar.md5 +1 -0
- package/android/libs/react-native-android/com/facebook/react/react-native/0.70.5/react-native-0.70.5-release-sources.jar.sha1 +1 -0
- package/android/libs/react-native-android/com/facebook/react/react-native/0.70.5/react-native-0.70.5-release-sources.jar.sha256 +1 -0
- package/android/libs/react-native-android/com/facebook/react/react-native/0.70.5/react-native-0.70.5-release-sources.jar.sha512 +1 -0
- package/android/libs/react-native-android/com/facebook/react/react-native/0.70.5/react-native-0.70.5-release.aar +0 -0
- package/android/libs/react-native-android/com/facebook/react/react-native/0.70.5/react-native-0.70.5-release.aar.md5 +1 -0
- package/android/libs/react-native-android/com/facebook/react/react-native/0.70.5/react-native-0.70.5-release.aar.sha1 +1 -0
- package/android/libs/react-native-android/com/facebook/react/react-native/0.70.5/react-native-0.70.5-release.aar.sha256 +1 -0
- package/android/libs/react-native-android/com/facebook/react/react-native/0.70.5/react-native-0.70.5-release.aar.sha512 +1 -0
- package/android/libs/react-native-android/com/facebook/react/react-native/0.70.5/react-native-0.70.5.module +628 -0
- package/android/libs/react-native-android/com/facebook/react/react-native/0.70.5/react-native-0.70.5.module.md5 +1 -0
- package/android/libs/react-native-android/com/facebook/react/react-native/0.70.5/react-native-0.70.5.module.sha1 +1 -0
- package/android/libs/react-native-android/com/facebook/react/react-native/0.70.5/react-native-0.70.5.module.sha256 +1 -0
- package/android/libs/react-native-android/com/facebook/react/react-native/0.70.5/react-native-0.70.5.module.sha512 +1 -0
- package/android/libs/react-native-android/com/facebook/react/react-native/0.70.5/react-native-0.70.5.pom +156 -0
- package/android/libs/react-native-android/com/facebook/react/react-native/0.70.5/react-native-0.70.5.pom.md5 +1 -0
- package/android/libs/react-native-android/com/facebook/react/react-native/0.70.5/react-native-0.70.5.pom.sha1 +1 -0
- package/android/libs/react-native-android/com/facebook/react/react-native/0.70.5/react-native-0.70.5.pom.sha256 +1 -0
- package/android/libs/react-native-android/com/facebook/react/react-native/0.70.5/react-native-0.70.5.pom.sha512 +1 -0
- package/android/libs/react-native-android/com/facebook/react/react-native/maven-metadata.xml +13 -0
- package/android/libs/react-native-android/com/facebook/react/react-native/maven-metadata.xml.md5 +1 -0
- package/android/libs/react-native-android/com/facebook/react/react-native/maven-metadata.xml.sha1 +1 -0
- package/android/libs/react-native-android/com/facebook/react/react-native/maven-metadata.xml.sha256 +1 -0
- package/android/libs/react-native-android/com/facebook/react/react-native/maven-metadata.xml.sha512 +1 -0
- package/android/src/main/java/com/mparticle/react/MParticleModule.java +12 -1
- package/android/src/test/java/com/mparticle/react/IdentityApiTest.java +10 -7
- package/android/src/test/java/com/mparticle/react/MParticleUserTest.java +7 -2
- package/android/src/test/java/com/mparticle/react/testutils/MockMParticleUser.java +2 -2
- package/ios/RNMParticle/RNMParticle.m +11 -1
- package/ios/RNMParticle.xcodeproj/project.xcworkspace/xcuserdata/bstalnaker.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
- package/js/index.js +11 -1
- package/package.json +1 -1
- package/android/.gradle/5.4.1/executionHistory/executionHistory.lock +0 -0
- package/android/.gradle/5.4.1/fileHashes/fileHashes.lock +0 -0
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
version: 2
|
|
2
|
+
updates:
|
|
3
|
+
- package-ecosystem: gradle
|
|
4
|
+
directory: "/android"
|
|
5
|
+
schedule:
|
|
6
|
+
interval: daily
|
|
7
|
+
labels: ["dependabot"]
|
|
8
|
+
open-pull-requests-limit: 10
|
|
9
|
+
ignore:
|
|
10
|
+
- dependency-name: "com.google.firebase:firebase-messaging"
|
|
11
|
+
commit-message:
|
|
12
|
+
prefix: "chore"
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
name: "Daily"
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
|
|
5
|
+
schedule:
|
|
6
|
+
- cron: "0 0 * * *"
|
|
7
|
+
|
|
8
|
+
# Allow workflow to be manually run from the GitHub UI
|
|
9
|
+
workflow_dispatch:
|
|
10
|
+
|
|
11
|
+
jobs:
|
|
12
|
+
|
|
13
|
+
# daily-job:
|
|
14
|
+
# name: "Daily Common Repo Checks"
|
|
15
|
+
# uses: mParticle/mparticle-workflows/.github/workflows/daily-cron.yml@main
|
|
16
|
+
|
|
17
|
+
daily-local-job:
|
|
18
|
+
name: "Daily Local Repo Checks"
|
|
19
|
+
uses: mParticle/react-native-mparticle/.github/workflows/pull-request.yml@main
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
name: "Dependabot Automerge"
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
workflow_run:
|
|
5
|
+
workflows: ["Build and Test"]
|
|
6
|
+
types:
|
|
7
|
+
- completed
|
|
8
|
+
|
|
9
|
+
jobs:
|
|
10
|
+
automerge-dependabot:
|
|
11
|
+
name: "Automerge Dependabot PR"
|
|
12
|
+
uses: mParticle/mparticle-workflows/.github/workflows/dependabot-automerge.yml@main
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
name: "Build and Test"
|
|
2
2
|
|
|
3
|
-
on:
|
|
3
|
+
on:
|
|
4
|
+
pull_request:
|
|
5
|
+
push:
|
|
6
|
+
workflow_call:
|
|
7
|
+
workflow_dispatch:
|
|
4
8
|
|
|
5
9
|
jobs:
|
|
6
10
|
js-tests:
|
|
@@ -8,9 +12,9 @@ jobs:
|
|
|
8
12
|
runs-on: macOS-latest
|
|
9
13
|
steps:
|
|
10
14
|
- name: "Checkout"
|
|
11
|
-
uses: actions/checkout@
|
|
15
|
+
uses: actions/checkout@v3
|
|
12
16
|
- uses: actions/setup-node@master
|
|
13
|
-
- uses: c-hive/gha-yarn-cache@
|
|
17
|
+
- uses: c-hive/gha-yarn-cache@v2
|
|
14
18
|
|
|
15
19
|
- name: "Install node modules"
|
|
16
20
|
run: |
|
|
@@ -19,13 +23,38 @@ jobs:
|
|
|
19
23
|
- name: "Run test"
|
|
20
24
|
run: |
|
|
21
25
|
yarn test
|
|
26
|
+
|
|
22
27
|
android-unit-tests:
|
|
23
28
|
name: "Android Unit Tests"
|
|
24
|
-
runs-on: ubuntu-
|
|
29
|
+
runs-on: ubuntu-latest
|
|
25
30
|
steps:
|
|
26
31
|
- name: "Checkout"
|
|
27
|
-
uses: actions/checkout@
|
|
28
|
-
|
|
32
|
+
uses: actions/checkout@v3
|
|
29
33
|
- name: "Run Android Unit Tests"
|
|
30
34
|
working-directory: android
|
|
31
|
-
run: ./gradlew test
|
|
35
|
+
run: ./gradlew test
|
|
36
|
+
|
|
37
|
+
android-lint:
|
|
38
|
+
name: "Android Unit Tests"
|
|
39
|
+
runs-on: ubuntu-latest
|
|
40
|
+
steps:
|
|
41
|
+
- name: "Checkout"
|
|
42
|
+
uses: actions/checkout@v3
|
|
43
|
+
- name: "Run Android Unit Tests"
|
|
44
|
+
working-directory: android
|
|
45
|
+
run: ./gradlew lint
|
|
46
|
+
|
|
47
|
+
android-kotlin-lint:
|
|
48
|
+
name: "Android Unit Tests"
|
|
49
|
+
runs-on: ubuntu-latest
|
|
50
|
+
steps:
|
|
51
|
+
- name: "Checkout"
|
|
52
|
+
uses: actions/checkout@v3
|
|
53
|
+
- name: "Run Android Unit Tests"
|
|
54
|
+
working-directory: android
|
|
55
|
+
run: ./gradlew ktlintCheck
|
|
56
|
+
|
|
57
|
+
automerge-dependabot:
|
|
58
|
+
name: "Save PR Number for Dependabot Automerge"
|
|
59
|
+
needs: [ js-tests, android-unit-tests, android-lint, android-kotlin-lint ]
|
|
60
|
+
uses: mParticle/mparticle-workflows/.github/workflows/dependabot-save-pr-number.yml@main
|
|
@@ -2,24 +2,12 @@ name: Release SDK
|
|
|
2
2
|
|
|
3
3
|
on:
|
|
4
4
|
workflow_dispatch
|
|
5
|
+
|
|
5
6
|
jobs:
|
|
6
7
|
# SDK release is done from public/master branch.
|
|
7
8
|
confirm-master-branch:
|
|
8
9
|
name: Confirm release is run on public/master branch
|
|
9
|
-
|
|
10
|
-
steps:
|
|
11
|
-
- name: Git checkout
|
|
12
|
-
uses: actions/checkout@v1
|
|
13
|
-
- name: Branch name
|
|
14
|
-
run: |
|
|
15
|
-
BRANCHNAME=${GITHUB_REF##*/}
|
|
16
|
-
echo "pulling branch name, branch name is:"
|
|
17
|
-
echo $BRANCHNAME
|
|
18
|
-
if [ $BRANCHNAME != "master" ]
|
|
19
|
-
then
|
|
20
|
-
echo "You can only run a release from the master branch, you are trying to run it from ${BRANCHNAME}"
|
|
21
|
-
exit 1
|
|
22
|
-
fi
|
|
10
|
+
uses: mParticle/mparticle-workflows/.github/workflows/sdk-release-repo-branch-check.yml@main
|
|
23
11
|
|
|
24
12
|
# All new code is stored in internal/development. Release from public/master will merge changes from internal/development into
|
|
25
13
|
# public/master, then run semantic-release on public/master to update changelog and release notes. Before semantic-release publishes
|
|
@@ -27,13 +15,13 @@ jobs:
|
|
|
27
15
|
|
|
28
16
|
react-tests:
|
|
29
17
|
name: Run React Native Unit Tests
|
|
30
|
-
runs-on: ubuntu-
|
|
18
|
+
runs-on: ubuntu-latest
|
|
31
19
|
needs: ['confirm-master-branch']
|
|
32
20
|
steps:
|
|
33
21
|
- name: Checkout
|
|
34
|
-
uses: actions/checkout@
|
|
22
|
+
uses: actions/checkout@v3
|
|
35
23
|
- uses: actions/setup-node@master
|
|
36
|
-
- uses: c-hive/gha-yarn-cache@
|
|
24
|
+
- uses: c-hive/gha-yarn-cache@v2
|
|
37
25
|
|
|
38
26
|
- name: Install node modules
|
|
39
27
|
run: yarn install
|
|
@@ -43,26 +31,25 @@ jobs:
|
|
|
43
31
|
|
|
44
32
|
android-unit-tests:
|
|
45
33
|
name: Run Android Unit Tests
|
|
46
|
-
runs-on: ubuntu-
|
|
34
|
+
runs-on: ubuntu-latest
|
|
47
35
|
needs: ['confirm-master-branch']
|
|
48
36
|
steps:
|
|
49
37
|
- name: Checkout
|
|
50
|
-
uses: actions/checkout@
|
|
38
|
+
uses: actions/checkout@v3
|
|
51
39
|
|
|
52
40
|
- name: Run Android Unit Tests
|
|
53
41
|
run: echo "pwd"; pwd; echo "ls:"; ls; cd android; ./gradlew test
|
|
54
42
|
|
|
55
|
-
|
|
56
43
|
release-and-sync-repos:
|
|
57
44
|
name: Release and Sync Repos
|
|
58
|
-
runs-on: ubuntu-
|
|
45
|
+
runs-on: ubuntu-latest
|
|
59
46
|
needs: ['android-unit-tests', 'react-tests']
|
|
60
47
|
steps:
|
|
61
48
|
- name: Checkout internal/development
|
|
62
|
-
uses: actions/checkout@
|
|
49
|
+
uses: actions/checkout@v3
|
|
63
50
|
|
|
64
51
|
- name: Setup Node.js
|
|
65
|
-
uses: actions/setup-node@
|
|
52
|
+
uses: actions/setup-node@v3
|
|
66
53
|
with:
|
|
67
54
|
node-version: 12.x
|
|
68
55
|
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
name: "SonarCloud"
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
workflow_dispatch:
|
|
5
|
+
workflow_run:
|
|
6
|
+
workflows: ["Build and Test"]
|
|
7
|
+
types:
|
|
8
|
+
- completed
|
|
9
|
+
|
|
10
|
+
jobs:
|
|
11
|
+
sonarcloud-check:
|
|
12
|
+
name: "SonarCloud Check"
|
|
13
|
+
uses: mParticle/mparticle-workflows/.github/workflows/sonarcloud.yml@main
|
|
14
|
+
secrets: inherit
|
|
15
|
+
with:
|
|
16
|
+
app_relative_path: "android"
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
File without changes
|
|
Binary file
|
|
File without changes
|
|
Binary file
|
|
File without changes
|
|
Binary file
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
#
|
|
2
|
-
gradle.version=5.
|
|
1
|
+
#Mon Jan 09 09:50:47 EST 2023
|
|
2
|
+
gradle.version=7.5.1
|
package/android/.project
CHANGED
|
@@ -22,12 +22,12 @@
|
|
|
22
22
|
</natures>
|
|
23
23
|
<filteredResources>
|
|
24
24
|
<filter>
|
|
25
|
-
<id>
|
|
25
|
+
<id>1669992816070</id>
|
|
26
26
|
<name></name>
|
|
27
27
|
<type>30</type>
|
|
28
28
|
<matcher>
|
|
29
29
|
<id>org.eclipse.core.resources.regexFilterMatcher</id>
|
|
30
|
-
<arguments>node_modules
|
|
30
|
+
<arguments>node_modules|\.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__</arguments>
|
|
31
31
|
</matcher>
|
|
32
32
|
</filter>
|
|
33
33
|
</filteredResources>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
arguments
|
|
1
|
+
arguments=--init-script /var/folders/g2/z0qqdq651r90nx1z1l28fpj1wbw2yx/T/d146c9752a26f79b52047fb6dc6ed385d064e120494f96f08ca63a317c41f94c.gradle --init-script /var/folders/g2/z0qqdq651r90nx1z1l28fpj1wbw2yx/T/52cde0cfcf3e28b8b7510e992210d9614505e0911af0c190bd590d7158574963.gradle
|
|
2
2
|
auto.sync=false
|
|
3
3
|
build.scans.enabled=false
|
|
4
4
|
connection.gradle.distribution=GRADLE_DISTRIBUTION(WRAPPER)
|
package/android/build.gradle
CHANGED
|
@@ -1,14 +1,37 @@
|
|
|
1
|
+
buildscript {
|
|
2
|
+
repositories {
|
|
3
|
+
mavenCentral()
|
|
4
|
+
google()
|
|
5
|
+
}
|
|
6
|
+
dependencies {
|
|
7
|
+
classpath 'com.android.tools.build:gradle:7.3.1'
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
plugins {
|
|
12
|
+
id "org.sonarqube" version "3.5.0.2730"
|
|
13
|
+
id "org.jlleitschuh.gradle.ktlint" version "11.0.0"
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
sonarqube {
|
|
17
|
+
properties {
|
|
18
|
+
property "sonar.projectKey", "react-native-mparticle"
|
|
19
|
+
property "sonar.organization", "mparticle"
|
|
20
|
+
property "sonar.host.url", "https://sonarcloud.io"
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
apply plugin: 'org.jlleitschuh.gradle.ktlint'
|
|
1
25
|
apply plugin: 'com.android.library'
|
|
2
26
|
|
|
3
27
|
android {
|
|
4
|
-
compileSdkVersion
|
|
5
|
-
buildToolsVersion "28.0.3"
|
|
28
|
+
compileSdkVersion 33
|
|
6
29
|
|
|
7
30
|
defaultConfig {
|
|
8
|
-
minSdkVersion
|
|
9
|
-
targetSdkVersion
|
|
10
|
-
versionCode
|
|
11
|
-
versionName "
|
|
31
|
+
minSdkVersion 21
|
|
32
|
+
targetSdkVersion 33
|
|
33
|
+
versionCode 2
|
|
34
|
+
versionName "2.0.0"
|
|
12
35
|
}
|
|
13
36
|
buildTypes {
|
|
14
37
|
release {
|
|
@@ -21,24 +44,18 @@ android {
|
|
|
21
44
|
}
|
|
22
45
|
}
|
|
23
46
|
|
|
24
|
-
|
|
25
|
-
buildscript {
|
|
26
|
-
repositories {
|
|
27
|
-
mavenCentral()
|
|
28
|
-
google()
|
|
29
|
-
}
|
|
30
|
-
dependencies {
|
|
31
|
-
classpath 'com.android.tools.build:gradle:3.5.1'
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
|
|
35
47
|
repositories {
|
|
48
|
+
maven {
|
|
49
|
+
//update periodically - current version: 0.70.5
|
|
50
|
+
url "$rootDir/react-native-android"
|
|
51
|
+
}
|
|
36
52
|
mavenCentral()
|
|
37
53
|
google()
|
|
54
|
+
|
|
38
55
|
}
|
|
39
56
|
|
|
40
57
|
dependencies {
|
|
41
|
-
compileOnly 'com.facebook.react:react-native
|
|
58
|
+
compileOnly 'com.facebook.react:react-native:0.20.1'
|
|
42
59
|
|
|
43
60
|
//
|
|
44
61
|
// In your app, you should include mParticle core like this:
|
|
@@ -55,12 +72,13 @@ dependencies {
|
|
|
55
72
|
// compile 'com.mparticle:android-example-kit:REPLACEME'
|
|
56
73
|
//
|
|
57
74
|
|
|
58
|
-
testImplementation 'org.mockito:mockito-
|
|
59
|
-
|
|
60
|
-
testImplementation '
|
|
61
|
-
testImplementation files('libs/java-json.jar')
|
|
75
|
+
testImplementation 'org.mockito:mockito-core:4.11.0'
|
|
76
|
+
androidTestImplementation 'org.mockito:mockito-android:4.11.0'
|
|
77
|
+
testImplementation 'androidx.annotation:annotation:1.5.0'
|
|
62
78
|
|
|
63
|
-
testImplementation '
|
|
64
|
-
testImplementation '
|
|
79
|
+
testImplementation 'junit:junit:4.13.2'
|
|
80
|
+
testImplementation files('libs/java-json.jar')
|
|
65
81
|
|
|
82
|
+
testImplementation 'com.mparticle:android-core:5.49.0'
|
|
83
|
+
testImplementation 'com.facebook.react:react-native:0.20.1'
|
|
66
84
|
}
|
|
@@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
|
|
|
3
3
|
distributionPath=wrapper/dists
|
|
4
4
|
zipStoreBase=GRADLE_USER_HOME
|
|
5
5
|
zipStorePath=wrapper/dists
|
|
6
|
-
distributionUrl=https\://services.gradle.org/distributions/gradle-5.
|
|
6
|
+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5.1-all.zip
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
# Project-wide Gradle settings.
|
|
2
|
+
|
|
3
|
+
# IDE (e.g. Android Studio) users:
|
|
4
|
+
# Gradle settings configured through the IDE *will override*
|
|
5
|
+
# any settings specified in this file.
|
|
6
|
+
|
|
7
|
+
# For more details on how to configure your build environment visit
|
|
8
|
+
# http://www.gradle.org/docs/current/userguide/build_environment.html
|
|
9
|
+
|
|
10
|
+
# Specifies the JVM arguments used for the daemon process.
|
|
11
|
+
# The setting is particularly useful for tweaking memory settings.
|
|
12
|
+
# Default value: -Xmx512m -XX:MaxMetaspaceSize=256m
|
|
13
|
+
org.gradle.jvmargs=-Xmx2048m -XX:MaxMetaspaceSize=512m
|
|
14
|
+
|
|
15
|
+
# When configured, Gradle will run in incubating parallel mode.
|
|
16
|
+
# This option should only be used with decoupled projects. More details, visit
|
|
17
|
+
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
|
|
18
|
+
# org.gradle.parallel=true
|
|
19
|
+
|
|
20
|
+
# AndroidX package structure to make it clearer which packages are bundled with the
|
|
21
|
+
# Android operating system, and which are packaged with your app's APK
|
|
22
|
+
# https://developer.android.com/topic/libraries/support-library/androidx-rn
|
|
23
|
+
android.useAndroidX=true
|
|
24
|
+
|
|
25
|
+
# Automatically convert third-party libraries to use AndroidX
|
|
26
|
+
android.enableJetifier=true
|
|
27
|
+
|
|
28
|
+
# Version of flipper SDK to use with React Native
|
|
29
|
+
FLIPPER_VERSION=0.125.0
|
|
30
|
+
|
|
31
|
+
# Use this property to specify which architecture you want to build.
|
|
32
|
+
# You can also override it from the CLI using
|
|
33
|
+
# ./gradlew <task> -PreactNativeArchitectures=x86_64
|
|
34
|
+
reactNativeArchitectures=armeabi-v7a,arm64-v8a,x86,x86_64
|
|
35
|
+
|
|
36
|
+
# Use this property to enable support to the new architecture.
|
|
37
|
+
# This will allow you to use TurboModules and the Fabric render in
|
|
38
|
+
# your application. You should enable this flag either if you want
|
|
39
|
+
# to write custom TurboModules/Fabric components OR use libraries that
|
|
40
|
+
# are providing them.
|
|
41
|
+
newArchEnabled=false
|
|
42
|
+
|
|
43
|
+
# The hosted JavaScript engine
|
|
44
|
+
# Supported values: expo.jsEngine = "hermes" | "jsc"
|
|
45
|
+
expo.jsEngine=jsc
|
|
46
|
+
|
|
47
|
+
# Enable GIF support in React Native images (~200 B increase)
|
|
48
|
+
expo.gif.enabled=true
|
|
49
|
+
# Enable webp support in React Native images (~85 KB increase)
|
|
50
|
+
expo.webp.enabled=true
|
|
51
|
+
# Enable animated webp support (~3.4 MB increase)
|
|
52
|
+
# Disabled by default because iOS doesn't support animated webp
|
|
53
|
+
expo.webp.animated=false
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
7b864274b543d21ee7d7c9c8e7f7b043
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
75340c383a5d55a37d68181f12b1d8d939a3f065
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
1fe6791aeefb0391d319d763c655a6f8232676141b886d0a467b8834a0b86497
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
b6d659b87a103dd21026d8715420d047b70e76219d39121795598811cff2c7bb6cf3a860d8836fe6eeb753f785d7c2f7b961ea48c5cba27626a6e1cb5b07ee62
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
8f67048d84e52b2c37b14459567a5a9d
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
f246204e16175a16e94ddab8556b5980c6241d14
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
98edd89a8c6b428921a71c83353b7c2ead7561ef78390d3d2f8bdec7ea0bccba
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
ccbb56a7ba17357aa68c9ba685f118acae462481c186ba2e18a5dff3a779fb6cf1b6557965777282625b1fea8a82336ee3d6166d226ac494413770ade3369402
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
c8db891c3be1b407d7079c02c303243b
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
34cf662170d553da87ddd8ef2213f13212955d1d
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
e622d9a7db5ba1a2161785ab8745dda58d1012aad04f7f9489fce207cf567f8a
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
205a0fd395d6d02c27c4611ae1ceca7ccb4f3554f17f44d338f9ffef2e3521e933616e74ac1b17bb7d300891ede5ecf58e966a11becda27f6760f862f2316783
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
4eea565acfa26284caefb83ea547a27d
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
6d67ef0ee827fb500c5dae6e8de8497b7513b51f
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
3cf7d55a8e2a610cb293d91acc90881114df0150aea5bb19b2df78158c331134
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
f114d26c0c757a2a333423738861dfcd225a790ba97a3a140e21cd131e9cf1c8cdc9e78372c735b6dc8f8ca004cf38e7b75b3c07afef5230fba7b57e71d332b3
|