Trying to build android
This commit is contained in:
parent
cf897a5f01
commit
344c6e4b76
|
@ -5,10 +5,10 @@ buildscript {
|
|||
|
||||
ext {
|
||||
// TODO: target 33
|
||||
buildToolsVersion = "31.0.0"
|
||||
buildToolsVersion = "33.0.0"
|
||||
minSdkVersion = 23
|
||||
compileSdkVersion = 31
|
||||
targetSdkVersion = 31
|
||||
compileSdkVersion = 33
|
||||
targetSdkVersion = 33
|
||||
if (System.properties['os.arch'] == "aarch64") {
|
||||
// For M1 Users we need to use the NDK 24 which added support for aarch64
|
||||
ndkVersion = "24.0.8215888"
|
||||
|
|
|
@ -11,14 +11,14 @@ apply from: file("../node_modules/@react-native-community/cli-platform-android/n
|
|||
include ':app'
|
||||
|
||||
includeBuild('../node_modules/@react-native/gradle-plugin')
|
||||
includeBuild('../node_modules/react-native') {
|
||||
dependencySubstitution {
|
||||
substitute(module("com.facebook.react:react-android")).using(project(":ReactAndroid"))
|
||||
substitute(module("com.facebook.react:react-native")).using(project(":ReactAndroid"))
|
||||
substitute(module("com.facebook.react:hermes-android")).using(project(":ReactAndroid:hermes-engine"))
|
||||
substitute(module("com.facebook.react:hermes-engine")).using(project(":ReactAndroid:hermes-engine"))
|
||||
}
|
||||
}
|
||||
// includeBuild('../node_modules/react-native') {
|
||||
// dependencySubstitution {
|
||||
// substitute(module("com.facebook.react:react-android")).using(project(":ReactAndroid"))
|
||||
// substitute(module("com.facebook.react:react-native")).using(project(":ReactAndroid"))
|
||||
// substitute(module("com.facebook.react:hermes-android")).using(project(":ReactAndroid:hermes-engine"))
|
||||
// substitute(module("com.facebook.react:hermes-engine")).using(project(":ReactAndroid:hermes-engine"))
|
||||
// }
|
||||
// }
|
||||
|
||||
apply from: new File(["node", "--print", "require.resolve('expo/package.json')"].execute(null, rootDir).text.trim(), "../scripts/autolinking.gradle")
|
||||
useExpoModules()
|
16
package.json
16
package.json
|
@ -72,13 +72,13 @@
|
|||
"ejson": "^2.2.3",
|
||||
"expo": "^49.0.0-beta",
|
||||
"expo-apple-authentication": "^6.0.1",
|
||||
"expo-av": "^13.2.1",
|
||||
"expo-file-system": "^15.2.2",
|
||||
"expo-haptics": "^12.2.1",
|
||||
"expo-keep-awake": "^12.0.1",
|
||||
"expo-local-authentication": "^13.3.0",
|
||||
"expo-video-thumbnails": "^7.2.1",
|
||||
"expo-web-browser": "^12.1.1",
|
||||
"expo-av": "^13.4.0",
|
||||
"expo-file-system": "^15.4.2",
|
||||
"expo-haptics": "^12.4.0",
|
||||
"expo-keep-awake": "^12.3.0",
|
||||
"expo-local-authentication": "^13.4.1",
|
||||
"expo-video-thumbnails": "^7.4.0",
|
||||
"expo-web-browser": "^12.3.2",
|
||||
"hoist-non-react-statics": "3.3.2",
|
||||
"i18n-js": "3.9.2",
|
||||
"js-base64": "3.6.1",
|
||||
|
@ -111,7 +111,7 @@
|
|||
"react-native-mime-types": "2.3.0",
|
||||
"react-native-mmkv-storage": "^0.9.1",
|
||||
"react-native-modal": "13.0.1",
|
||||
"react-native-navigation-bar-color": "2.0.1",
|
||||
"react-native-navigation-bar-color": "^2.0.2",
|
||||
"react-native-notifications": "^4.3.3",
|
||||
"react-native-notifier": "1.6.1",
|
||||
"react-native-orientation-locker": "1.1.8",
|
||||
|
|
|
@ -13,6 +13,23 @@ index f9c858b..94ea188 100644
|
|||
|
||||
public abstract class NotificationManagerCompatFacade {
|
||||
public static NotificationManagerCompat from(@NonNull Context context) {
|
||||
diff --git a/node_modules/react-native-notifications/lib/android/app/build.gradle b/node_modules/react-native-notifications/lib/android/app/build.gradle
|
||||
index d049e84..9ad7004 100644
|
||||
--- a/node_modules/react-native-notifications/lib/android/app/build.gradle
|
||||
+++ b/node_modules/react-native-notifications/lib/android/app/build.gradle
|
||||
@@ -96,9 +96,9 @@ android {
|
||||
|
||||
testOptions {
|
||||
unitTests.all { t ->
|
||||
- reports {
|
||||
- html.enabled true
|
||||
- }
|
||||
+ // reports {
|
||||
+ // html.enabled true
|
||||
+ // }
|
||||
testLogging {
|
||||
events "PASSED", "SKIPPED", "FAILED", "standardOut", "standardError"
|
||||
}
|
||||
diff --git a/node_modules/react-native-notifications/lib/android/app/src/main/java/com/wix/reactnativenotifications/RNNotificationsModule.java b/node_modules/react-native-notifications/lib/android/app/src/main/java/com/wix/reactnativenotifications/RNNotificationsModule.java
|
||||
index 90969b2..4c00e69 100644
|
||||
--- a/node_modules/react-native-notifications/lib/android/app/src/main/java/com/wix/reactnativenotifications/RNNotificationsModule.java
|
||||
|
|
File diff suppressed because it is too large
Load Diff
64
yarn.lock
64
yarn.lock
|
@ -10835,10 +10835,10 @@ expo-asset@~8.10.1:
|
|||
path-browserify "^1.0.0"
|
||||
url-parse "^1.5.9"
|
||||
|
||||
expo-av@^13.2.1:
|
||||
version "13.2.1"
|
||||
resolved "https://registry.yarnpkg.com/expo-av/-/expo-av-13.2.1.tgz#ce502a4c5d4a57962fd9f5f1a40c76c39c88f5ee"
|
||||
integrity sha512-mC0mYSzaOaZgXjzhW2l4Ag325JjH6q5IbptfwD7gkMOFYy7VPOMxEMUnetadbs3DDzmgE6vUWrTjUIUbwq59qg==
|
||||
expo-av@^13.4.0:
|
||||
version "13.4.0"
|
||||
resolved "https://registry.yarnpkg.com/expo-av/-/expo-av-13.4.0.tgz#910d9144919b70f78ff5a715d3b2bf91245bbd11"
|
||||
integrity sha512-L34lyTSnd8E/denbOs1DvhxrqzPQ9xdiqKzLJsaJFteDsYNK9DbyYg3AXXStgP58lxSlT3V5XnanMrCvE7PMhA==
|
||||
|
||||
expo-constants@~14.4.2:
|
||||
version "14.4.2"
|
||||
|
@ -10848,14 +10848,7 @@ expo-constants@~14.4.2:
|
|||
"@expo/config" "~8.1.0"
|
||||
uuid "^3.3.2"
|
||||
|
||||
expo-file-system@^15.2.2:
|
||||
version "15.2.2"
|
||||
resolved "https://registry.yarnpkg.com/expo-file-system/-/expo-file-system-15.2.2.tgz#a1ddf8aabf794f93888a146c4f5187e2004683a3"
|
||||
integrity sha512-LFkOLcWwlmnjkURxZ3/0ukS35OswX8iuQknLHRHeyk8mUA8fpRPPelD/a1lS+yclqfqavMJmTXVKM1Nsq5XVMA==
|
||||
dependencies:
|
||||
uuid "^3.4.0"
|
||||
|
||||
expo-file-system@~15.4.0, expo-file-system@~15.4.2:
|
||||
expo-file-system@^15.4.2, expo-file-system@~15.4.0, expo-file-system@~15.4.2:
|
||||
version "15.4.2"
|
||||
resolved "https://registry.yarnpkg.com/expo-file-system/-/expo-file-system-15.4.2.tgz#f18e9d84f06a50eb4084b4a34ca7ca9c5a42f92e"
|
||||
integrity sha512-WFaEWuFEuUpETiq85YlhKYJgedccWTjtCMnYGAgyNfCfvnIgfMCVH7dWudGuxhfAcTZqh36OcqtSckbtbhOtyg==
|
||||
|
@ -10869,25 +10862,20 @@ expo-font@~11.4.0:
|
|||
dependencies:
|
||||
fontfaceobserver "^2.1.0"
|
||||
|
||||
expo-haptics@^12.2.1:
|
||||
version "12.2.1"
|
||||
resolved "https://registry.yarnpkg.com/expo-haptics/-/expo-haptics-12.2.1.tgz#9705c245663fcf317ca19adc2e8bbcb5270562e7"
|
||||
integrity sha512-XRZtmIQi901Q4+/cZnVrULRFOqShsgCuSP0SCbVEhnq8sK0OA4jgun12O93Pu5aGvTyoqsAcIArE8tX+8AEqRA==
|
||||
expo-haptics@^12.4.0:
|
||||
version "12.4.0"
|
||||
resolved "https://registry.yarnpkg.com/expo-haptics/-/expo-haptics-12.4.0.tgz#99ad9d6a8eafb219aee022ec1412a998e1c90d71"
|
||||
integrity sha512-eELhZOO64oJa6AtEUxosatjSENE/tQgF2rVJxDsvRdx8Vgd3uFC+FRoM3nbMVJkxDgAaP3EKOPT1zVM41sNurw==
|
||||
|
||||
expo-keep-awake@^12.0.1:
|
||||
version "12.0.1"
|
||||
resolved "https://registry.yarnpkg.com/expo-keep-awake/-/expo-keep-awake-12.0.1.tgz#19c5ab55391394ded3f6c262b0707c7140658a11"
|
||||
integrity sha512-hqeCnb4033TyuZaXs93zTK7rjVJ3bywXATyMmKmKkLEsH2PKBAl/VmjlCOPQL/2Ncqz6aj7Wo//tjeJTARBD4g==
|
||||
|
||||
expo-keep-awake@~12.3.0:
|
||||
expo-keep-awake@^12.3.0, expo-keep-awake@~12.3.0:
|
||||
version "12.3.0"
|
||||
resolved "https://registry.yarnpkg.com/expo-keep-awake/-/expo-keep-awake-12.3.0.tgz#c42449ae19c993274ddc43aafa618792b6aec408"
|
||||
integrity sha512-ujiJg1p9EdCOYS05jh5PtUrfiZnK0yyLy+UewzqrjUqIT8eAGMQbkfOn3C3fHE7AKd5AefSMzJnS3lYZcZYHDw==
|
||||
|
||||
expo-local-authentication@^13.3.0:
|
||||
version "13.3.0"
|
||||
resolved "https://registry.yarnpkg.com/expo-local-authentication/-/expo-local-authentication-13.3.0.tgz#884f6f5c1d1412b053c2ed7cf3899f405b91adde"
|
||||
integrity sha512-HZ2L9GOQGooV+6kT2wLrR42BlxczT4N18kPY6HF82S31/a/YHslgUUt1lmHNU64NJViSCOBaTeVCjh8t/BeNEA==
|
||||
expo-local-authentication@^13.4.1:
|
||||
version "13.4.1"
|
||||
resolved "https://registry.yarnpkg.com/expo-local-authentication/-/expo-local-authentication-13.4.1.tgz#908516d395530f6895d7980009e4c85cdcff5327"
|
||||
integrity sha512-FWTUkMNo9aDT3cg02SWAcSFjTiDu20izhCn5CGwdtFNCBpPQUD0BJ/czhjrIFE70teMzE5wZUdbJuSKYonUaWA==
|
||||
dependencies:
|
||||
invariant "^2.2.4"
|
||||
|
||||
|
@ -10911,15 +10899,15 @@ expo-modules-core@1.5.3:
|
|||
compare-versions "^3.4.0"
|
||||
invariant "^2.2.4"
|
||||
|
||||
expo-video-thumbnails@^7.2.1:
|
||||
version "7.2.1"
|
||||
resolved "https://registry.yarnpkg.com/expo-video-thumbnails/-/expo-video-thumbnails-7.2.1.tgz#aa95cef4c1944720ddc75a86f30c6f0f401177ec"
|
||||
integrity sha512-KJCuSpKl/INhZ4QPy3pKFffUFVwWuu/TnSE8riIMB2Xx1q8a2QlOGiCgqUEL8UouQqmEeddOMkRJav9UXXG4jQ==
|
||||
expo-video-thumbnails@^7.4.0:
|
||||
version "7.4.0"
|
||||
resolved "https://registry.yarnpkg.com/expo-video-thumbnails/-/expo-video-thumbnails-7.4.0.tgz#da28e47f46a71afcae89c33bb1f2a815b879a014"
|
||||
integrity sha512-5hP1joV4LlBk8E1eD9n2DrFigHSGCybtZTGeKDr6SqHYBCmVWq1MuR5kn3t3Cqlfy4oUqy4emEu/AnBglhBlRQ==
|
||||
|
||||
expo-web-browser@^12.1.1:
|
||||
version "12.1.1"
|
||||
resolved "https://registry.yarnpkg.com/expo-web-browser/-/expo-web-browser-12.1.1.tgz#b2c9ce26b82ea62b12041d8201bfeb21d27fc528"
|
||||
integrity sha512-QdFnJKCKzWrvTIjFL2Yb6SlfyJWfBw1S1ceRyGtQSp4p7WFsvfbR6oJyucF04SJD7GshBluIlchrQK7XH/4EWQ==
|
||||
expo-web-browser@^12.3.2:
|
||||
version "12.3.2"
|
||||
resolved "https://registry.yarnpkg.com/expo-web-browser/-/expo-web-browser-12.3.2.tgz#45ac727a5d8462d7faa403ea2fa1db160ed8e4b5"
|
||||
integrity sha512-ohBf+vnRnGzlTleY8EQ2XQU0vRdRwqMJtKkzM9MZRPDOK5QyJYPJjpk6ixGhxdeoUG2Ogj0InvhhgX9NUn4jkg==
|
||||
dependencies:
|
||||
compare-urls "^2.0.0"
|
||||
url "^0.11.0"
|
||||
|
@ -17684,10 +17672,10 @@ react-native-modal@13.0.1:
|
|||
prop-types "^15.6.2"
|
||||
react-native-animatable "1.3.3"
|
||||
|
||||
react-native-navigation-bar-color@2.0.1:
|
||||
version "2.0.1"
|
||||
resolved "https://registry.yarnpkg.com/react-native-navigation-bar-color/-/react-native-navigation-bar-color-2.0.1.tgz#ee2be25cc37105f7da355717b0a9a32c9c059ae6"
|
||||
integrity sha512-1kE/oxWt+HYjRxdZdvke9tJ365xaee5n3+euOQA1En8zQuSbOxiE4SYEGM7TeaWnmLJ0l37mRnPHaB2H4mGh0A==
|
||||
react-native-navigation-bar-color@^2.0.2:
|
||||
version "2.0.2"
|
||||
resolved "https://registry.yarnpkg.com/react-native-navigation-bar-color/-/react-native-navigation-bar-color-2.0.2.tgz#2e14ca79a656d81d5b4b7433ae43966ef5206444"
|
||||
integrity sha512-ZmpLWRocyme1au11e5ZuecMS/UCi57nlzgnioi03Q6ERMbeUOqqbWgNBaNB7SsCeqBV6fZPjo3+A64zEIpzw4w==
|
||||
|
||||
react-native-notifications@^4.3.3:
|
||||
version "4.3.3"
|
||||
|
|
Loading…
Reference in New Issue