react-native-mparticle 2.7.13 → 2.8.1
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/SECURITY.md +9 -0
- package/android/build.gradle +65 -10
- package/android/src/main/AndroidManifestNew.xml +3 -0
- package/android/src/main/java/com/mparticle/react/MParticleModule.kt +976 -0
- package/android/src/main/java/com/mparticle/react/MParticlePackage.kt +68 -0
- package/android/src/main/java/com/mparticle/react/rokt/MPRoktModuleImpl.kt +251 -0
- package/android/src/main/java/com/mparticle/react/rokt/RoktLayoutViewManagerImpl.kt +79 -0
- package/android/src/newarch/java/com/mparticle/react/rokt/MPRoktModule.kt +130 -0
- package/android/src/newarch/java/com/mparticle/react/rokt/RoktLayoutViewManager.kt +22 -0
- package/android/src/oldarch/java/com/mparticle/react/NativeMPRoktSpec.kt +29 -0
- package/android/src/oldarch/java/com/mparticle/react/NativeMParticleSpec.kt +153 -0
- package/android/src/oldarch/java/com/mparticle/react/rokt/MPRoktModule.kt +79 -0
- package/android/src/oldarch/java/com/mparticle/react/rokt/RoktLayoutViewManager.kt +34 -0
- package/ios/RNMParticle/RNMPRokt.h +15 -0
- package/ios/RNMParticle/RNMPRokt.mm +247 -0
- package/ios/RNMParticle/RNMParticle.h +6 -1
- package/ios/RNMParticle/RNMParticle.mm +1208 -0
- package/ios/RNMParticle/RoktEventManager.h +16 -0
- package/ios/RNMParticle/RoktEventManager.m +174 -0
- package/ios/RNMParticle/RoktLayoutManager.m +22 -0
- package/ios/RNMParticle/RoktNativeLayoutComponentView.h +18 -0
- package/ios/RNMParticle/RoktNativeLayoutComponentView.mm +50 -0
- package/ios/RNMParticle.xcodeproj/project.pbxproj +29 -6
- package/js/codegenSpecs/NativeMParticle.ts +214 -0
- package/js/codegenSpecs/rokt/NativeMPRokt.ts +32 -0
- package/js/codegenSpecs/rokt/RoktLayoutNativeComponent.ts +29 -0
- package/js/index.tsx +940 -0
- package/js/rokt/rokt-layout-view.android.tsx +133 -0
- package/js/rokt/rokt-layout-view.ios.tsx +121 -0
- package/js/rokt/rokt-layout-view.tsx +15 -0
- package/js/rokt/rokt.ts +87 -0
- package/js/utils/architecture.ts +22 -0
- package/lib/codegenSpecs/NativeMParticle.d.ts +148 -0
- package/lib/codegenSpecs/NativeMParticle.js +5 -0
- package/lib/codegenSpecs/NativeMParticle.js.map +1 -0
- package/lib/codegenSpecs/rokt/NativeMPRokt.d.ts +24 -0
- package/lib/codegenSpecs/rokt/NativeMPRokt.js +5 -0
- package/lib/codegenSpecs/rokt/NativeMPRokt.js.map +1 -0
- package/lib/codegenSpecs/rokt/RoktLayoutNativeComponent.d.ts +18 -0
- package/lib/codegenSpecs/rokt/RoktLayoutNativeComponent.js +8 -0
- package/lib/codegenSpecs/rokt/RoktLayoutNativeComponent.js.map +1 -0
- package/lib/index.d.ts +410 -0
- package/lib/index.js +645 -0
- package/lib/index.js.map +1 -0
- package/lib/rokt/rokt-layout-view.android.d.ts +39 -0
- package/lib/rokt/rokt-layout-view.android.js +109 -0
- package/lib/rokt/rokt-layout-view.android.js.map +1 -0
- package/lib/rokt/rokt-layout-view.d.ts +5 -0
- package/lib/rokt/rokt-layout-view.ios.d.ts +32 -0
- package/lib/rokt/rokt-layout-view.ios.js +84 -0
- package/lib/rokt/rokt-layout-view.ios.js.map +1 -0
- package/lib/rokt/rokt-layout-view.js +12 -0
- package/lib/rokt/rokt-layout-view.js.map +1 -0
- package/lib/rokt/rokt.d.ts +40 -0
- package/lib/rokt/rokt.js +54 -0
- package/lib/rokt/rokt.js.map +1 -0
- package/lib/utils/architecture.d.ts +9 -0
- package/lib/utils/architecture.js +19 -0
- package/lib/utils/architecture.js.map +1 -0
- package/package.json +32 -10
- package/react-native-mparticle.podspec +7 -6
- package/.github/PULL_REQUEST_TEMPLATE.md +0 -8
- package/.github/dependabot.yml +0 -12
- package/.github/workflows/daily.yml +0 -19
- package/.github/workflows/dependabot-automerge.yml +0 -12
- package/.github/workflows/pull-request.yml +0 -60
- package/.github/workflows/release.yml +0 -60
- package/.github/workflows/sonarcloud.yml +0 -16
- package/android/.gradle/7.5.1/checksums/checksums.lock +0 -0
- package/android/.gradle/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/7.5.1/dependencies-accessors/gc.properties +0 -0
- package/android/.gradle/7.5.1/executionHistory/executionHistory.lock +0 -0
- package/android/.gradle/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 +0 -2
- package/android/.gradle/vcs-1/gc.properties +0 -0
- package/android/gradle/wrapper/gradle-wrapper.jar +0 -0
- package/android/gradle/wrapper/gradle-wrapper.properties +0 -6
- package/android/gradle.properties +0 -53
- package/android/gradlew +0 -160
- package/android/gradlew.bat +0 -90
- package/android/libs/java-json.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 +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 +0 -1
- package/android/libs/react-native-android/com/facebook/react/hermes-engine/0.70.5/hermes-engine-0.70.5-debug-sources.jar.sha1 +0 -1
- package/android/libs/react-native-android/com/facebook/react/hermes-engine/0.70.5/hermes-engine-0.70.5-debug-sources.jar.sha256 +0 -1
- package/android/libs/react-native-android/com/facebook/react/hermes-engine/0.70.5/hermes-engine-0.70.5-debug-sources.jar.sha512 +0 -1
- 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 +0 -1
- package/android/libs/react-native-android/com/facebook/react/hermes-engine/0.70.5/hermes-engine-0.70.5-debug.aar.sha1 +0 -1
- package/android/libs/react-native-android/com/facebook/react/hermes-engine/0.70.5/hermes-engine-0.70.5-debug.aar.sha256 +0 -1
- package/android/libs/react-native-android/com/facebook/react/hermes-engine/0.70.5/hermes-engine-0.70.5-debug.aar.sha512 +0 -1
- 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 +0 -1
- package/android/libs/react-native-android/com/facebook/react/hermes-engine/0.70.5/hermes-engine-0.70.5-release-sources.jar.sha1 +0 -1
- package/android/libs/react-native-android/com/facebook/react/hermes-engine/0.70.5/hermes-engine-0.70.5-release-sources.jar.sha256 +0 -1
- package/android/libs/react-native-android/com/facebook/react/hermes-engine/0.70.5/hermes-engine-0.70.5-release-sources.jar.sha512 +0 -1
- 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 +0 -1
- package/android/libs/react-native-android/com/facebook/react/hermes-engine/0.70.5/hermes-engine-0.70.5-release.aar.sha1 +0 -1
- package/android/libs/react-native-android/com/facebook/react/hermes-engine/0.70.5/hermes-engine-0.70.5-release.aar.sha256 +0 -1
- package/android/libs/react-native-android/com/facebook/react/hermes-engine/0.70.5/hermes-engine-0.70.5-release.aar.sha512 +0 -1
- package/android/libs/react-native-android/com/facebook/react/hermes-engine/0.70.5/hermes-engine-0.70.5.module +0 -204
- package/android/libs/react-native-android/com/facebook/react/hermes-engine/0.70.5/hermes-engine-0.70.5.module.md5 +0 -1
- package/android/libs/react-native-android/com/facebook/react/hermes-engine/0.70.5/hermes-engine-0.70.5.module.sha1 +0 -1
- package/android/libs/react-native-android/com/facebook/react/hermes-engine/0.70.5/hermes-engine-0.70.5.module.sha256 +0 -1
- package/android/libs/react-native-android/com/facebook/react/hermes-engine/0.70.5/hermes-engine-0.70.5.module.sha512 +0 -1
- package/android/libs/react-native-android/com/facebook/react/hermes-engine/0.70.5/hermes-engine-0.70.5.pom +0 -44
- package/android/libs/react-native-android/com/facebook/react/hermes-engine/0.70.5/hermes-engine-0.70.5.pom.md5 +0 -1
- package/android/libs/react-native-android/com/facebook/react/hermes-engine/0.70.5/hermes-engine-0.70.5.pom.sha1 +0 -1
- package/android/libs/react-native-android/com/facebook/react/hermes-engine/0.70.5/hermes-engine-0.70.5.pom.sha256 +0 -1
- package/android/libs/react-native-android/com/facebook/react/hermes-engine/0.70.5/hermes-engine-0.70.5.pom.sha512 +0 -1
- package/android/libs/react-native-android/com/facebook/react/hermes-engine/maven-metadata.xml +0 -13
- package/android/libs/react-native-android/com/facebook/react/hermes-engine/maven-metadata.xml.md5 +0 -1
- package/android/libs/react-native-android/com/facebook/react/hermes-engine/maven-metadata.xml.sha1 +0 -1
- package/android/libs/react-native-android/com/facebook/react/hermes-engine/maven-metadata.xml.sha256 +0 -1
- package/android/libs/react-native-android/com/facebook/react/hermes-engine/maven-metadata.xml.sha512 +0 -1
- 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 +0 -1
- package/android/libs/react-native-android/com/facebook/react/react-native/0.70.5/react-native-0.70.5-debug-sources.jar.sha1 +0 -1
- package/android/libs/react-native-android/com/facebook/react/react-native/0.70.5/react-native-0.70.5-debug-sources.jar.sha256 +0 -1
- package/android/libs/react-native-android/com/facebook/react/react-native/0.70.5/react-native-0.70.5-debug-sources.jar.sha512 +0 -1
- 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 +0 -1
- package/android/libs/react-native-android/com/facebook/react/react-native/0.70.5/react-native-0.70.5-debug.aar.sha1 +0 -1
- package/android/libs/react-native-android/com/facebook/react/react-native/0.70.5/react-native-0.70.5-debug.aar.sha256 +0 -1
- package/android/libs/react-native-android/com/facebook/react/react-native/0.70.5/react-native-0.70.5-debug.aar.sha512 +0 -1
- 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 +0 -1
- package/android/libs/react-native-android/com/facebook/react/react-native/0.70.5/react-native-0.70.5-release-sources.jar.sha1 +0 -1
- package/android/libs/react-native-android/com/facebook/react/react-native/0.70.5/react-native-0.70.5-release-sources.jar.sha256 +0 -1
- package/android/libs/react-native-android/com/facebook/react/react-native/0.70.5/react-native-0.70.5-release-sources.jar.sha512 +0 -1
- 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 +0 -1
- package/android/libs/react-native-android/com/facebook/react/react-native/0.70.5/react-native-0.70.5-release.aar.sha1 +0 -1
- package/android/libs/react-native-android/com/facebook/react/react-native/0.70.5/react-native-0.70.5-release.aar.sha256 +0 -1
- package/android/libs/react-native-android/com/facebook/react/react-native/0.70.5/react-native-0.70.5-release.aar.sha512 +0 -1
- package/android/libs/react-native-android/com/facebook/react/react-native/0.70.5/react-native-0.70.5.module +0 -628
- package/android/libs/react-native-android/com/facebook/react/react-native/0.70.5/react-native-0.70.5.module.md5 +0 -1
- package/android/libs/react-native-android/com/facebook/react/react-native/0.70.5/react-native-0.70.5.module.sha1 +0 -1
- package/android/libs/react-native-android/com/facebook/react/react-native/0.70.5/react-native-0.70.5.module.sha256 +0 -1
- package/android/libs/react-native-android/com/facebook/react/react-native/0.70.5/react-native-0.70.5.module.sha512 +0 -1
- package/android/libs/react-native-android/com/facebook/react/react-native/0.70.5/react-native-0.70.5.pom +0 -156
- package/android/libs/react-native-android/com/facebook/react/react-native/0.70.5/react-native-0.70.5.pom.md5 +0 -1
- package/android/libs/react-native-android/com/facebook/react/react-native/0.70.5/react-native-0.70.5.pom.sha1 +0 -1
- package/android/libs/react-native-android/com/facebook/react/react-native/0.70.5/react-native-0.70.5.pom.sha256 +0 -1
- package/android/libs/react-native-android/com/facebook/react/react-native/0.70.5/react-native-0.70.5.pom.sha512 +0 -1
- package/android/libs/react-native-android/com/facebook/react/react-native/maven-metadata.xml +0 -13
- package/android/libs/react-native-android/com/facebook/react/react-native/maven-metadata.xml.md5 +0 -1
- package/android/libs/react-native-android/com/facebook/react/react-native/maven-metadata.xml.sha1 +0 -1
- package/android/libs/react-native-android/com/facebook/react/react-native/maven-metadata.xml.sha256 +0 -1
- package/android/libs/react-native-android/com/facebook/react/react-native/maven-metadata.xml.sha512 +0 -1
- package/android/src/main/java/com/mparticle/react/MParticleModule.java +0 -987
- package/android/src/main/java/com/mparticle/react/MParticlePackage.java +0 -34
- package/android/src/test/java/com/mparticle/react/IdentityApiTest.java +0 -230
- package/android/src/test/java/com/mparticle/react/MParticleUserTest.java +0 -233
- package/android/src/test/java/com/mparticle/react/testutils/MockMParticleUser.java +0 -103
- package/android/src/test/java/com/mparticle/react/testutils/MockMap.java +0 -169
- package/android/src/test/java/com/mparticle/react/testutils/MockReadableArray.java +0 -53
- package/android/src/test/java/com/mparticle/react/testutils/MockWritableMap.java +0 -4
- package/android/src/test/java/com/mparticle/react/testutils/Mutable.java +0 -13
- package/ios/RNMParticle/RNMParticle.m +0 -678
- package/ios/RNMParticle.xcodeproj/project.xcworkspace/contents.xcworkspacedata +0 -7
- package/ios/RNMParticle.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +0 -8
- package/ios/RNMParticle.xcodeproj/project.xcworkspace/xcuserdata/bstalnaker.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
- package/ios/RNMParticle.xcodeproj/xcuserdata/bstalnaker.xcuserdatad/xcschemes/xcschememanagement.plist +0 -14
- package/js/index.js +0 -697
- package/release.sh +0 -6
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
name: Release SDK
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
workflow_dispatch
|
|
5
|
-
|
|
6
|
-
jobs:
|
|
7
|
-
# SDK release is done from public/master branch.
|
|
8
|
-
confirm-master-branch:
|
|
9
|
-
name: Confirm release is run on public/master branch
|
|
10
|
-
uses: mParticle/mparticle-workflows/.github/workflows/sdk-release-repo-branch-check.yml@main
|
|
11
|
-
|
|
12
|
-
# All new code is stored in internal/development. Release from public/master will merge changes from internal/development into
|
|
13
|
-
# public/master, then run semantic-release on public/master to update changelog and release notes. Before semantic-release publishes
|
|
14
|
-
# to npm, it builds the dist/ folder. Finally, commits from public/master are synced back to internal/master and internal/development.
|
|
15
|
-
|
|
16
|
-
react-tests:
|
|
17
|
-
name: Run React Native Unit Tests
|
|
18
|
-
runs-on: ubuntu-latest
|
|
19
|
-
needs: ['confirm-master-branch']
|
|
20
|
-
steps:
|
|
21
|
-
- name: Checkout
|
|
22
|
-
uses: actions/checkout@v3
|
|
23
|
-
- uses: actions/setup-node@master
|
|
24
|
-
- uses: c-hive/gha-yarn-cache@v2
|
|
25
|
-
|
|
26
|
-
- name: Install node modules
|
|
27
|
-
run: yarn install
|
|
28
|
-
|
|
29
|
-
- name: Run test
|
|
30
|
-
run: yarn test
|
|
31
|
-
|
|
32
|
-
android-unit-tests:
|
|
33
|
-
name: Run Android Unit Tests
|
|
34
|
-
runs-on: ubuntu-latest
|
|
35
|
-
needs: ['confirm-master-branch']
|
|
36
|
-
steps:
|
|
37
|
-
- name: Checkout
|
|
38
|
-
uses: actions/checkout@v3
|
|
39
|
-
|
|
40
|
-
- name: Run Android Unit Tests
|
|
41
|
-
run: echo "pwd"; pwd; echo "ls:"; ls; cd android; ./gradlew test
|
|
42
|
-
|
|
43
|
-
release-and-sync-repos:
|
|
44
|
-
name: Release and Sync Repos
|
|
45
|
-
runs-on: ubuntu-latest
|
|
46
|
-
needs: ['android-unit-tests', 'react-tests']
|
|
47
|
-
steps:
|
|
48
|
-
- name: Checkout internal/development
|
|
49
|
-
uses: actions/checkout@v3
|
|
50
|
-
|
|
51
|
-
- name: Setup Node.js
|
|
52
|
-
uses: actions/setup-node@v3
|
|
53
|
-
with:
|
|
54
|
-
node-version: 12.x
|
|
55
|
-
|
|
56
|
-
- name: Install node modules
|
|
57
|
-
run: yarn install
|
|
58
|
-
|
|
59
|
-
- name: Release
|
|
60
|
-
run: ./release.sh ${{ secrets.NPM_TOKEN}}
|
|
@@ -1,16 +0,0 @@
|
|
|
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
|
|
Binary file
|
|
File without changes
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
File without changes
|
|
Binary file
|
|
File without changes
|
|
Binary file
|
|
@@ -1,53 +0,0 @@
|
|
|
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
|
package/android/gradlew
DELETED
|
@@ -1,160 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env bash
|
|
2
|
-
|
|
3
|
-
##############################################################################
|
|
4
|
-
##
|
|
5
|
-
## Gradle start up script for UN*X
|
|
6
|
-
##
|
|
7
|
-
##############################################################################
|
|
8
|
-
|
|
9
|
-
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
|
|
10
|
-
DEFAULT_JVM_OPTS=""
|
|
11
|
-
|
|
12
|
-
APP_NAME="Gradle"
|
|
13
|
-
APP_BASE_NAME=`basename "$0"`
|
|
14
|
-
|
|
15
|
-
# Use the maximum available, or set MAX_FD != -1 to use that value.
|
|
16
|
-
MAX_FD="maximum"
|
|
17
|
-
|
|
18
|
-
warn ( ) {
|
|
19
|
-
echo "$*"
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
die ( ) {
|
|
23
|
-
echo
|
|
24
|
-
echo "$*"
|
|
25
|
-
echo
|
|
26
|
-
exit 1
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
# OS specific support (must be 'true' or 'false').
|
|
30
|
-
cygwin=false
|
|
31
|
-
msys=false
|
|
32
|
-
darwin=false
|
|
33
|
-
case "`uname`" in
|
|
34
|
-
CYGWIN* )
|
|
35
|
-
cygwin=true
|
|
36
|
-
;;
|
|
37
|
-
Darwin* )
|
|
38
|
-
darwin=true
|
|
39
|
-
;;
|
|
40
|
-
MINGW* )
|
|
41
|
-
msys=true
|
|
42
|
-
;;
|
|
43
|
-
esac
|
|
44
|
-
|
|
45
|
-
# Attempt to set APP_HOME
|
|
46
|
-
# Resolve links: $0 may be a link
|
|
47
|
-
PRG="$0"
|
|
48
|
-
# Need this for relative symlinks.
|
|
49
|
-
while [ -h "$PRG" ] ; do
|
|
50
|
-
ls=`ls -ld "$PRG"`
|
|
51
|
-
link=`expr "$ls" : '.*-> \(.*\)$'`
|
|
52
|
-
if expr "$link" : '/.*' > /dev/null; then
|
|
53
|
-
PRG="$link"
|
|
54
|
-
else
|
|
55
|
-
PRG=`dirname "$PRG"`"/$link"
|
|
56
|
-
fi
|
|
57
|
-
done
|
|
58
|
-
SAVED="`pwd`"
|
|
59
|
-
cd "`dirname \"$PRG\"`/" >/dev/null
|
|
60
|
-
APP_HOME="`pwd -P`"
|
|
61
|
-
cd "$SAVED" >/dev/null
|
|
62
|
-
|
|
63
|
-
CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
|
|
64
|
-
|
|
65
|
-
# Determine the Java command to use to start the JVM.
|
|
66
|
-
if [ -n "$JAVA_HOME" ] ; then
|
|
67
|
-
if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
|
|
68
|
-
# IBM's JDK on AIX uses strange locations for the executables
|
|
69
|
-
JAVACMD="$JAVA_HOME/jre/sh/java"
|
|
70
|
-
else
|
|
71
|
-
JAVACMD="$JAVA_HOME/bin/java"
|
|
72
|
-
fi
|
|
73
|
-
if [ ! -x "$JAVACMD" ] ; then
|
|
74
|
-
die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
|
|
75
|
-
|
|
76
|
-
Please set the JAVA_HOME variable in your environment to match the
|
|
77
|
-
location of your Java installation."
|
|
78
|
-
fi
|
|
79
|
-
else
|
|
80
|
-
JAVACMD="java"
|
|
81
|
-
which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
|
|
82
|
-
|
|
83
|
-
Please set the JAVA_HOME variable in your environment to match the
|
|
84
|
-
location of your Java installation."
|
|
85
|
-
fi
|
|
86
|
-
|
|
87
|
-
# Increase the maximum file descriptors if we can.
|
|
88
|
-
if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then
|
|
89
|
-
MAX_FD_LIMIT=`ulimit -H -n`
|
|
90
|
-
if [ $? -eq 0 ] ; then
|
|
91
|
-
if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
|
|
92
|
-
MAX_FD="$MAX_FD_LIMIT"
|
|
93
|
-
fi
|
|
94
|
-
ulimit -n $MAX_FD
|
|
95
|
-
if [ $? -ne 0 ] ; then
|
|
96
|
-
warn "Could not set maximum file descriptor limit: $MAX_FD"
|
|
97
|
-
fi
|
|
98
|
-
else
|
|
99
|
-
warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
|
|
100
|
-
fi
|
|
101
|
-
fi
|
|
102
|
-
|
|
103
|
-
# For Darwin, add options to specify how the application appears in the dock
|
|
104
|
-
if $darwin; then
|
|
105
|
-
GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
|
|
106
|
-
fi
|
|
107
|
-
|
|
108
|
-
# For Cygwin, switch paths to Windows format before running java
|
|
109
|
-
if $cygwin ; then
|
|
110
|
-
APP_HOME=`cygpath --path --mixed "$APP_HOME"`
|
|
111
|
-
CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
|
|
112
|
-
JAVACMD=`cygpath --unix "$JAVACMD"`
|
|
113
|
-
|
|
114
|
-
# We build the pattern for arguments to be converted via cygpath
|
|
115
|
-
ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
|
|
116
|
-
SEP=""
|
|
117
|
-
for dir in $ROOTDIRSRAW ; do
|
|
118
|
-
ROOTDIRS="$ROOTDIRS$SEP$dir"
|
|
119
|
-
SEP="|"
|
|
120
|
-
done
|
|
121
|
-
OURCYGPATTERN="(^($ROOTDIRS))"
|
|
122
|
-
# Add a user-defined pattern to the cygpath arguments
|
|
123
|
-
if [ "$GRADLE_CYGPATTERN" != "" ] ; then
|
|
124
|
-
OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
|
|
125
|
-
fi
|
|
126
|
-
# Now convert the arguments - kludge to limit ourselves to /bin/sh
|
|
127
|
-
i=0
|
|
128
|
-
for arg in "$@" ; do
|
|
129
|
-
CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
|
|
130
|
-
CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
|
|
131
|
-
|
|
132
|
-
if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
|
|
133
|
-
eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
|
|
134
|
-
else
|
|
135
|
-
eval `echo args$i`="\"$arg\""
|
|
136
|
-
fi
|
|
137
|
-
i=$((i+1))
|
|
138
|
-
done
|
|
139
|
-
case $i in
|
|
140
|
-
(0) set -- ;;
|
|
141
|
-
(1) set -- "$args0" ;;
|
|
142
|
-
(2) set -- "$args0" "$args1" ;;
|
|
143
|
-
(3) set -- "$args0" "$args1" "$args2" ;;
|
|
144
|
-
(4) set -- "$args0" "$args1" "$args2" "$args3" ;;
|
|
145
|
-
(5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
|
|
146
|
-
(6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
|
|
147
|
-
(7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
|
|
148
|
-
(8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
|
|
149
|
-
(9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
|
|
150
|
-
esac
|
|
151
|
-
fi
|
|
152
|
-
|
|
153
|
-
# Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules
|
|
154
|
-
function splitJvmOpts() {
|
|
155
|
-
JVM_OPTS=("$@")
|
|
156
|
-
}
|
|
157
|
-
eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS
|
|
158
|
-
JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME"
|
|
159
|
-
|
|
160
|
-
exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@"
|
package/android/gradlew.bat
DELETED
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
@if "%DEBUG%" == "" @echo off
|
|
2
|
-
@rem ##########################################################################
|
|
3
|
-
@rem
|
|
4
|
-
@rem Gradle startup script for Windows
|
|
5
|
-
@rem
|
|
6
|
-
@rem ##########################################################################
|
|
7
|
-
|
|
8
|
-
@rem Set local scope for the variables with windows NT shell
|
|
9
|
-
if "%OS%"=="Windows_NT" setlocal
|
|
10
|
-
|
|
11
|
-
@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
|
|
12
|
-
set DEFAULT_JVM_OPTS=
|
|
13
|
-
|
|
14
|
-
set DIRNAME=%~dp0
|
|
15
|
-
if "%DIRNAME%" == "" set DIRNAME=.
|
|
16
|
-
set APP_BASE_NAME=%~n0
|
|
17
|
-
set APP_HOME=%DIRNAME%
|
|
18
|
-
|
|
19
|
-
@rem Find java.exe
|
|
20
|
-
if defined JAVA_HOME goto findJavaFromJavaHome
|
|
21
|
-
|
|
22
|
-
set JAVA_EXE=java.exe
|
|
23
|
-
%JAVA_EXE% -version >NUL 2>&1
|
|
24
|
-
if "%ERRORLEVEL%" == "0" goto init
|
|
25
|
-
|
|
26
|
-
echo.
|
|
27
|
-
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
|
|
28
|
-
echo.
|
|
29
|
-
echo Please set the JAVA_HOME variable in your environment to match the
|
|
30
|
-
echo location of your Java installation.
|
|
31
|
-
|
|
32
|
-
goto fail
|
|
33
|
-
|
|
34
|
-
:findJavaFromJavaHome
|
|
35
|
-
set JAVA_HOME=%JAVA_HOME:"=%
|
|
36
|
-
set JAVA_EXE=%JAVA_HOME%/bin/java.exe
|
|
37
|
-
|
|
38
|
-
if exist "%JAVA_EXE%" goto init
|
|
39
|
-
|
|
40
|
-
echo.
|
|
41
|
-
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
|
|
42
|
-
echo.
|
|
43
|
-
echo Please set the JAVA_HOME variable in your environment to match the
|
|
44
|
-
echo location of your Java installation.
|
|
45
|
-
|
|
46
|
-
goto fail
|
|
47
|
-
|
|
48
|
-
:init
|
|
49
|
-
@rem Get command-line arguments, handling Windowz variants
|
|
50
|
-
|
|
51
|
-
if not "%OS%" == "Windows_NT" goto win9xME_args
|
|
52
|
-
if "%@eval[2+2]" == "4" goto 4NT_args
|
|
53
|
-
|
|
54
|
-
:win9xME_args
|
|
55
|
-
@rem Slurp the command line arguments.
|
|
56
|
-
set CMD_LINE_ARGS=
|
|
57
|
-
set _SKIP=2
|
|
58
|
-
|
|
59
|
-
:win9xME_args_slurp
|
|
60
|
-
if "x%~1" == "x" goto execute
|
|
61
|
-
|
|
62
|
-
set CMD_LINE_ARGS=%*
|
|
63
|
-
goto execute
|
|
64
|
-
|
|
65
|
-
:4NT_args
|
|
66
|
-
@rem Get arguments from the 4NT Shell from JP Software
|
|
67
|
-
set CMD_LINE_ARGS=%$
|
|
68
|
-
|
|
69
|
-
:execute
|
|
70
|
-
@rem Setup the command line
|
|
71
|
-
|
|
72
|
-
set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
|
|
73
|
-
|
|
74
|
-
@rem Execute Gradle
|
|
75
|
-
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
|
|
76
|
-
|
|
77
|
-
:end
|
|
78
|
-
@rem End local scope for the variables with windows NT shell
|
|
79
|
-
if "%ERRORLEVEL%"=="0" goto mainEnd
|
|
80
|
-
|
|
81
|
-
:fail
|
|
82
|
-
rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
|
|
83
|
-
rem the _cmd.exe /c_ return code!
|
|
84
|
-
if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
|
|
85
|
-
exit /b 1
|
|
86
|
-
|
|
87
|
-
:mainEnd
|
|
88
|
-
if "%OS%"=="Windows_NT" endlocal
|
|
89
|
-
|
|
90
|
-
:omega
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
7b864274b543d21ee7d7c9c8e7f7b043
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
75340c383a5d55a37d68181f12b1d8d939a3f065
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
1fe6791aeefb0391d319d763c655a6f8232676141b886d0a467b8834a0b86497
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
b6d659b87a103dd21026d8715420d047b70e76219d39121795598811cff2c7bb6cf3a860d8836fe6eeb753f785d7c2f7b961ea48c5cba27626a6e1cb5b07ee62
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
8f67048d84e52b2c37b14459567a5a9d
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
f246204e16175a16e94ddab8556b5980c6241d14
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
98edd89a8c6b428921a71c83353b7c2ead7561ef78390d3d2f8bdec7ea0bccba
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
ccbb56a7ba17357aa68c9ba685f118acae462481c186ba2e18a5dff3a779fb6cf1b6557965777282625b1fea8a82336ee3d6166d226ac494413770ade3369402
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
c8db891c3be1b407d7079c02c303243b
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
34cf662170d553da87ddd8ef2213f13212955d1d
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
e622d9a7db5ba1a2161785ab8745dda58d1012aad04f7f9489fce207cf567f8a
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
205a0fd395d6d02c27c4611ae1ceca7ccb4f3554f17f44d338f9ffef2e3521e933616e74ac1b17bb7d300891ede5ecf58e966a11becda27f6760f862f2316783
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
4eea565acfa26284caefb83ea547a27d
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
6d67ef0ee827fb500c5dae6e8de8497b7513b51f
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
3cf7d55a8e2a610cb293d91acc90881114df0150aea5bb19b2df78158c331134
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
f114d26c0c757a2a333423738861dfcd225a790ba97a3a140e21cd131e9cf1c8cdc9e78372c735b6dc8f8ca004cf38e7b75b3c07afef5230fba7b57e71d332b3
|