RocketChat / Rocket.Chat.ReactNative

Rocket.Chat mobile clients
https://rocket.chat
MIT License
1.99k stars 1.16k forks source link

Remove check certificate (self signed certificate) #3100

Closed adrastest closed 3 years ago

adrastest commented 3 years ago

i want to connect Rocket Chat app to my local server which is based on IP address. but when try to connect it alert me (java.security.cert.CertPathValidatorException: Trust anchor for certification path not found) however i added the server certificate which is self signed certificate in my mobile but still it doesn't work properly. is there anyone tell me how to ignore or remove that code which check certificate? i want to remove it and then rebuild the project and generate new .apk file. app version : 4.14.0 server: https://10.20... Thanks

diegolmello commented 3 years ago

Can you try on latest version of the app?

adrastest commented 3 years ago

@diegolmello yes i tried with 4.16.1 but can not connect to my server. when i connect without certificate it alert me (java.security.cert.CertPathvalidatorException: Trust anchor for certification path not found). and when i add or install server certificate it alert me (Hostname 10.20... not verified: certificate: sha256... DN: CN=test, OU=test,O=test,L=kabul,ST=kabul,C=AF subjectAltNames:[]) any solution to ignor or bypass check certificate?

johncrisp commented 3 years ago

This was answered in open.rocket.chat

https://open.rocket.chat/channel/react-native?msg=SbT4pEpRAGtMYetFz

You must ensure you have created proper certificates.

Also search the interwebs for your issue "Trust anchor for certification path not found"

eg

https://github.com/Piwigo/Piwigo-Android/issues/219 https://android-developers.googleblog.com/2016/07/changes-to-trusted-certificate.html

As far as can be seen this isn't a problem in the app.

sugoidogo commented 3 years ago

This is a problem for servers which are not internet-accessible. I already have many services accessible behind a vpn, with no additional config required. I would like this to be one of them, but this cert issue is making that impossible. Rocket chat should allow the end user to accept a self-signed or even cleartext connection with a warning, similar to how chrome does.

diegolmello commented 3 years ago

Did you try to apply your certificate?

sugoidogo commented 3 years ago

What do you mean by apply the certificate?

sugoidogo commented 3 years ago

https works as expected on desktop, I get a warning which I can dismiss and everything functions as expected. Mobile should be the same.

diegolmello commented 3 years ago

You have a self signed certificate. Apple won't allow you to connect unless you install you on your phone. For that you have 2 options:

sugoidogo commented 3 years ago

The issue is on Android, not iOS

diegolmello commented 3 years ago

I said OS and not iOS

sugoidogo commented 3 years ago

Apple won't allow you to connect

diegolmello commented 3 years ago

Same for Android, did you try the options I mentioned?

sugoidogo commented 3 years ago

I did try that "apply certificate" option but on my device it does nothing. Regardless that button isn't necessary on android, which is the issue at hand.

so121183gak commented 3 years ago

I did try that "apply certificate" option but on my device it does nothing. Regardless that button isn't necessary on android, which is the issue at hand.

I confirm this, the button "use your certificate" does not work, when you click on it, the screen darkens for a second and nothing happens, version Android 10, phone Xiaomi Redmi Note T8, letest version rocketchat from google play.

johncrisp commented 3 years ago

Hi.

This and the subsequent https://github.com/RocketChat/Rocket.Chat.ReactNative/issues/3172 are essentially birds of the same feather and to do with the use of certificates.

So the first thing is... why?

SSL connections. On the iOS version you have absolutely no choice. No SSL, no connection. That is Apples choice, though quite honestly it is a sensible one for your own security.

Android - This also now refuses http connections.

So no, there is no going back to http which was the first comment here. However much you disagree, the systems are blocking http and it eventually it will be totally blocked.

So next, certificates themselves.

So, for normal use when the server is connected to the interwebs you can use https with a Letsencrypt or paid for certificate in your web server config and all is well with the world.

Letsencrypt essentially requires a connected server as it has to lookup your server and check it exists for verification before a certificate is created.

Obviously you can't use a Letsencrypt certificate for a non connected/air gapped server.

In this instance you will need to create your own proper self-signed certificate (or bought certificate) to use in both your web server and your app.

I just looked at this on my standard 4.16.2.23909 and Beta 4.17.0.24177 (Samsung S10) and the Apply certificate. It looks at first as if nothing happens, after testing it a few time I realised it was checking for the existence of a certificate very quickly, which it could not find.

It says: 'Key Chain Loading certificates.....'

So the answer here is if you run a non connected server locally or via VPNs and use a self signed certificate or other certificate of your own choosing you can pre load it on the device and use it.

You must ensure that the certificates are properly created. There is mountains of info on the interwebs on how to do this.

(Personally I have used my own fork of PHKi to generate my own certs for a number of years. https://github.com/reetp/phpki )

So the check http/s check is not going to get removed.

The button is required in Android devices in certain scenarios.

So I can't actually see a bug here.

sugoidogo commented 3 years ago

Android doesn't disable http connections or require adding certificates to the device. The rocket chat app is disallowing http itself. I don't know why y'all feel the need to lie about these things, or perhaps you're just misinformed, but there is no reason the rocket chat Android app can't connect over http or with a non-trusted certificate when edge cases require it. The app is not made inherently insecure by allowing these functions if the user is warned of the insecure nature of the connection. This is the way Google chrome handles literally the exact same connection on Android and desktop.

johncrisp commented 3 years ago

Please consider your comments and check our code of conduct please.

https://github.com/RocketChat/Rocket.Chat/blob/develop/CODE_OF_CONDUCT.md

No one is purposefully lying, and has no reason to.

The app is not going to handle http, because effectively http is being deprecated by everyone. It is just a matter of time.

As Diego advised, iOS apps won't allow http apps at all now, and as this app is cross platform, http isn't supported on Android either. Eventually Google will undoubtedly do the same as iOS and block all http supporting apps.

There are still mobile browsers if really required.

The source code for the app is there too for anyone wishing to build their own version.

The app is not made inherently insecure by allowing these functions if the user is warned of the insecure nature of the connection.

Only on the basis that self signed https certs are used. This does not apply to http which is completely insecure, and hence why it is being deprecated.

The solution is just to create and use https certificates which is considered best practice, and use them with the app.

We're sorry if this doesn't fit with your requirements. We have no desire to disappoint users. But the move is to https and http will not be enabled.

diegolmello commented 3 years ago

https://developer.android.com/topic/security/best-practices

sugoidogo commented 3 years ago

The app is not going to handle http, because effectively http is being deprecated by everyone. It is just a matter of time.

There is no indication that it's "a matter of time" before http is universally disabled. Once again, I don't understand where you're drawing that conclusion from. I have to assume that you are either lying or misinformed.

@diegolmello

https://developer.android.com/topic/security/best-practices

The android developer best practices include the ability to accept self-signed certificates without the use of the operating system trust store. I would still argue that there's no reason to disallow http, especially given how easy it is to allow it (it's just the removal of a manifest string) and the fact that rocket chat itself doesn't require https for basic functionality. But that's not what this issue is about, it's about self-signed certificates. It should be trivial for a user to connect to my server using self-signed certs in the same way they could reach it via their web browser.

adrastest commented 3 years ago

this is the problem that many people faced to it but still there is not any perfect solution. I have the same problem I tried many ways but still no success; however I installed my server certificate (self-signed certificate) but the application alert me (Hostname 10.20... not verified) my server use a self-signed certificate which is not trusted but it is trusted for me I dont like buy a certificate for my server and my server is based on IP address not domain name. there should be an option like chrome browser (proceed anyway) to make connection via https to rocket chat server.

olodar commented 1 year ago

The app is not going to handle http, because effectively http is being deprecated by everyone.

So what? Do you understand https is not safe as VPN? Force users to use https - is a stupid idea, because:

  1. tls in lan - useless thing: unwanted configs, and more unwanted moves only to make workaround to access to RC.
  2. tls via VPN - more useless thing, because only VPN can suggest you REAL high encryption, but https doesn't offer security like VPN. And... same in 1. additionally.
  3. You are developing free (free as a freedom) software, so you should give user a choice - use http or https, you mustn't set any restrictions if user prefer to use http. You maybe warn user that using http could be dangerous, but you mustn't restrict. Because this is individual thing - for example, we're using RC only in LAN&VPN without any access from outside, we don't need https. But because of stupid developers decision to force use https in android app we're forced to use web app instead of client.
GleidsonDaniel commented 1 year ago

You are developing free (free as a freedom) software, so you should give user a choice

You have a choice, just build an app with your own rules. As you said, the app is open source, and you can do whatever you want with it. However, from the moment you use the official Rocket.Chat app, you must follow the practices recommended by Rocket Chat, an app being open source doesn't mean that anyone can say what it should do, there are rules. But that's the beauty of open source, if you're not happy with the rules you can just fork the code, build your own app, and use your own rules, isn't that great?

open source

olodar commented 1 year ago

build your own app

Yes, but how to do that? There's no any normal instruction how to build RC app. I found some info here https://github.com/RocketChat/Rocket.Chat.ReactNative/issues/3582 and tried to build like this:

  1. Cloned repo https://github.com/RocketChat/Rocket.Chat.ReactNative.git
  2. Then installed Android SDK and ndk, google play licence library, cmake.
  3. yarnpkg install
  4. apt install libicu-dev
  5. set sdk variable - export ANDROID_HOME=/home/su/Android/Sdk
  6. and then executed ./gradlew assembleOfficialPlayRelease in android as said guhyeon, but I've got a lot errors: (also tried ./gradlew clean assembleDebug but there's same errors)
    Log ` | ^ /home/su/rc/node_modules/react-native/sdks/hermes/lib/AST/SemanticValidator.cpp:86:6: note: in a call to non-static member function ‘void hermes::sem::SemanticValidator::visit(hermes::ESTree::VariableDeclaratorNode*, hermes::ESTree::Node*)’ 86 | void SemanticValidator::visit(VariableDeclaratorNode *varDecl, Node *parent) { | ^~~~~~~~~~~~~~~~~ /home/su/rc/node_modules/react-native/sdks/hermes/include/hermes/AST/RecursiveVisitor.h:70:58: warning: ‘this’ pointer is null [-Wnonnull] 70 | struct VisitCaller> { | ^ /home/su/rc/node_modules/react-native/sdks/hermes/lib/AST/SemanticValidator.cpp:86:6: note: in a call to non-static member function ‘void hermes::sem::SemanticValidator::visit(hermes::ESTree::VariableDeclaratorNode*, hermes::ESTree::Node*)’ 86 | void SemanticValidator::visit(VariableDeclaratorNode *varDecl, Node *parent) { | ^~~~~~~~~~~~~~~~~ /home/su/rc/node_modules/react-native/sdks/hermes/include/hermes/AST/RecursiveVisitor.h: In instantiation of ‘struct hermes::ESTree::detail::VisitCaller’: /home/su/rc/node_modules/react-native/sdks/hermes/include/hermes/AST/ESTree.def:235:1: required from ‘static hermes::ESTree::VisitResult hermes::ESTree::RecursiveVisitorDispatch::visit(Visitor&, hermes::ESTree::Node*, hermes::ESTree::Node*) [with Visitor = hermes::sem::SemanticValidator; bool readOnlyVisitor = true; hermes::ESTree::VisitResult = std::variant]’ /home/su/rc/node_modules/react-native/sdks/hermes/include/hermes/AST/ESTree.def:38:1: required from ‘static void hermes::ESTree::RecursiveVisitorDispatch::visitChildren(Visitor&, hermes::ESTree::FunctionExpressionNode*) [with Visitor = hermes::sem::SemanticValidator; bool readOnlyVisitor = true]’ /home/su/rc/node_modules/react-native/sdks/hermes/include/hermes/AST/ESTree.def:38:1: required from ‘static void hermes::ESTree::RecursiveVisitorDispatch::visitChildren(Visitor&, hermes::ESTree::Node*) [with Visitor = hermes::sem::SemanticValidator; bool readOnlyVisitor = true]’ /home/su/rc/node_modules/react-native/sdks/hermes/include/hermes/AST/RecursiveVisitor.h:521:51: required from ‘void hermes::ESTree::visitESTreeChildren(Visitor&, Node*) [with Visitor = hermes::sem::SemanticValidator; Node = Node]’ /home/su/rc/node_modules/react-native/sdks/hermes/lib/AST/SemanticValidator.h:155:24: required from here /home/su/rc/node_modules/react-native/sdks/hermes/include/hermes/AST/RecursiveVisitor.h:70:58: warning: ‘this’ pointer is null [-Wnonnull] 70 | struct VisitCaller> { | ^ /home/su/rc/node_modules/react-native/sdks/hermes/lib/AST/SemanticValidator.h:198:8: note: in a call to non-static member function ‘void hermes::sem::SemanticValidator::visit(hermes::ESTree::SpreadElementNode*, hermes::ESTree::Node*)’ 198 | void visit(SpreadElementNode *S, Node *parent); | ^~~~~ /home/su/rc/node_modules/react-native/sdks/hermes/include/hermes/AST/RecursiveVisitor.h:70:58: warning: ‘this’ pointer is null [-Wnonnull] 70 | struct VisitCaller> { | ^ /home/su/rc/node_modules/react-native/sdks/hermes/lib/AST/SemanticValidator.h:198:8: note: in a call to non-static member function ‘void hermes::sem::SemanticValidator::visit(hermes::ESTree::SpreadElementNode*, hermes::ESTree::Node*)’ 198 | void visit(SpreadElementNode *S, Node *parent); | ^~~~~ /home/su/rc/node_modules/react-native/sdks/hermes/include/hermes/AST/RecursiveVisitor.h: In instantiation of ‘struct hermes::ESTree::detail::VisitCaller’: /home/su/rc/node_modules/react-native/sdks/hermes/include/hermes/AST/ESTree.def:412:1: required from ‘static hermes::ESTree::VisitResult hermes::ESTree::RecursiveVisitorDispatch::visit(Visitor&, hermes::ESTree::Node*, hermes::ESTree::Node*) [with Visitor = hermes::sem::SemanticValidator; bool readOnlyVisitor = true; hermes::ESTree::VisitResult = std::variant]’ /home/su/rc/node_modules/react-native/sdks/hermes/include/hermes/AST/ESTree.def:38:1: required from ‘static void hermes::ESTree::RecursiveVisitorDispatch::visitChildren(Visitor&, hermes::ESTree::FunctionExpressionNode*) [with Visitor = hermes::sem::SemanticValidator; bool readOnlyVisitor = true]’ /home/su/rc/node_modules/react-native/sdks/hermes/include/hermes/AST/ESTree.def:38:1: required from ‘static void hermes::ESTree::RecursiveVisitorDispatch::visitChildren(Visitor&, hermes::ESTree::Node*) [with Visitor = hermes::sem::SemanticValidator; bool readOnlyVisitor = true]’ /home/su/rc/node_modules/react-native/sdks/hermes/include/hermes/AST/RecursiveVisitor.h:521:51: required from ‘void hermes::ESTree::visitESTreeChildren(Visitor&, Node*) [with Visitor = hermes::sem::SemanticValidator; Node = Node]’ /home/su/rc/node_modules/react-native/sdks/hermes/lib/AST/SemanticValidator.h:155:24: required from here /home/su/rc/node_modules/react-native/sdks/hermes/include/hermes/AST/RecursiveVisitor.h:70:58: warning: ‘this’ pointer is null [-Wnonnull] 70 | struct VisitCaller> { | ^ /home/su/rc/node_modules/react-native/sdks/hermes/lib/AST/SemanticValidator.h:163:8: note: in a call to non-static member function ‘void hermes::sem::SemanticValidator::visit(hermes::ESTree::VariableDeclaratorNode*, hermes::ESTree::Node*)’ 163 | void visit(VariableDeclaratorNode *varDecl, Node *parent); | ^~~~~ /home/su/rc/node_modules/react-native/sdks/hermes/include/hermes/AST/RecursiveVisitor.h:70:58: warning: ‘this’ pointer is null [-Wnonnull] 70 | struct VisitCaller> { | ^ /home/su/rc/node_modules/react-native/sdks/hermes/lib/AST/SemanticValidator.h:163:8: note: in a call to non-static member function ‘void hermes::sem::SemanticValidator::visit(hermes::ESTree::VariableDeclaratorNode*, hermes::ESTree::Node*)’ 163 | void visit(VariableDeclaratorNode *varDecl, Node *parent); | ^~~~~ [ 70%] Linking CXX static library libhermesAST.a [ 70%] Built target hermesAST [ 70%] Building CXX object lib/AST2JS/CMakeFiles/hermesAST2JS.dir/AST2JS.cpp.o [ 70%] Building CXX object lib/Parser/CMakeFiles/hermesParser.dir/JSLexer.cpp.o [ 70%] Building CXX object lib/Parser/CMakeFiles/hermesParser.dir/JSONParser.cpp.o [ 70%] Building CXX object lib/Parser/CMakeFiles/hermesParser.dir/JSParser.cpp.o [ 73%] Building CXX object lib/Parser/CMakeFiles/hermesParser.dir/JSParserImpl.cpp.o [ 73%] Building CXX object lib/Parser/CMakeFiles/hermesParser.dir/JSParserImpl-flow.cpp.o [ 73%] Building CXX object lib/Parser/CMakeFiles/hermesParser.dir/JSParserImpl-jsx.cpp.o [ 73%] Building CXX object lib/Parser/CMakeFiles/hermesParser.dir/JSParserImpl-ts.cpp.o [ 73%] Building CXX object lib/Parser/CMakeFiles/hermesParser.dir/FlowHelpers.cpp.o [ 73%] Building CXX object lib/Parser/CMakeFiles/hermesParser.dir/rust-api.cpp.o /home/su/rc/node_modules/react-native/sdks/hermes/lib/Parser/rust-api.cpp:26:32: warning: option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ [-Wpragmas] 26 | #pragma GCC diagnostic ignored "-Wmissing-prototypes" | ^~~~~~~~~~~~~~~~~~~~~~ /home/su/rc/node_modules/react-native/sdks/hermes/lib/Parser/JSParserImpl.cpp: In member function ‘llvh::Optional hermes::parser::detail::JSParserImpl::parseUnaryExpression()’: /home/su/rc/node_modules/react-native/sdks/hermes/lib/Parser/JSParserImpl.cpp:3871:7: warning: this statement may fall through [-Wimplicit-fallthrough=] 3871 | } | ^ /home/su/rc/node_modules/react-native/sdks/hermes/lib/Parser/JSParserImpl.cpp:3874:5: note: here 3874 | case TokenKind::identifier: | ^~~~ [ 73%] Linking CXX static library libhermesAST2JS.a [ 73%] Built target hermesAST2JS [ 73%] Linking CXX static library libhermesParser.a [ 73%] Built target hermesParser [ 76%] Building CXX object lib/SourceMap/CMakeFiles/hermesSourceMap.dir/c-api.cpp.o [ 76%] Building CXX object lib/CMakeFiles/hermesFrontend.dir/IRGen/IRGen.cpp.o [ 76%] Building CXX object lib/CMakeFiles/hermesFrontend.dir/IRGen/ESTreeIRGen.cpp.o [ 76%] Building CXX object lib/SourceMap/CMakeFiles/hermesSourceMap.dir/SourceMap.cpp.o [ 76%] Building CXX object lib/SourceMap/CMakeFiles/hermesSourceMap.dir/SourceMapGenerator.cpp.o [ 80%] Building CXX object lib/CMakeFiles/hermesFrontend.dir/IRGen/ESTreeIRGen-expr.cpp.o [ 80%] Building CXX object lib/SourceMap/CMakeFiles/hermesSourceMap.dir/SourceMapParser.cpp.o [ 80%] Building CXX object lib/SourceMap/CMakeFiles/hermesSourceMap.dir/SourceMapTranslator.cpp.o [ 80%] Building CXX object lib/CMakeFiles/hermesFrontend.dir/IRGen/ESTreeIRGen-stmt.cpp.o [ 80%] Building CXX object lib/CMakeFiles/hermesFrontend.dir/IRGen/ESTreeIRGen-func.cpp.o [ 80%] Building CXX object lib/CMakeFiles/hermesFrontend.dir/IRGen/ESTreeIRGen-except.cpp.o [ 80%] Building CXX object lib/CMakeFiles/hermesFrontend.dir/IRGen/IRInstrument.cpp.o [ 80%] Building CXX object lib/CMakeFiles/hermesFrontend.dir/IR/IR.cpp.o [ 80%] Building CXX object lib/CMakeFiles/hermesFrontend.dir/IR/CFG.cpp.o [ 83%] Building CXX object lib/CMakeFiles/hermesFrontend.dir/IR/IRBuilder.cpp.o [ 83%] Building CXX object lib/CMakeFiles/hermesFrontend.dir/IR/IRVerifier.cpp.o [ 83%] Building CXX object lib/CMakeFiles/hermesFrontend.dir/IR/Instrs.cpp.o [ 83%] Building CXX object lib/CMakeFiles/hermesFrontend.dir/Utils/Dumper.cpp.o [ 83%] Building CXX object lib/CMakeFiles/hermesFrontend.dir/Optimizer/Wasm/WasmIntrinsics.cpp.o [ 83%] Building CXX object lib/CMakeFiles/hermesFrontend.dir/Optimizer/Wasm/EmitWasmIntrinsics.cpp.o [ 83%] Linking CXX static library libhermesSourceMap.a [ 83%] Built target hermesSourceMap [ 83%] Linking CXX static library libhermesFrontend.a [ 83%] Built target hermesFrontend [ 83%] Building CXX object lib/BCGen/CMakeFiles/hermesBackend.dir/RegAlloc.cpp.o [ 83%] Building CXX object lib/BCGen/CMakeFiles/hermesBackend.dir/Lowering.cpp.o [ 83%] Building CXX object lib/BCGen/CMakeFiles/hermesBackend.dir/BCOpt.cpp.o [ 83%] Building CXX object lib/BCGen/CMakeFiles/hermesBackend.dir/Exceptions.cpp.o [ 83%] Linking CXX static library libhermesBackend.a [ 83%] Built target hermesBackend [ 83%] Building CXX object lib/BCGen/HBC/CMakeFiles/hermesHBCBackend.dir/HBC.cpp.o [ 86%] Building CXX object lib/BCGen/HBC/CMakeFiles/hermesHBCBackend.dir/BackendContext.cpp.o [ 86%] Building CXX object lib/BCGen/HBC/CMakeFiles/hermesHBCBackend.dir/ISel.cpp.o [ 86%] Building CXX object lib/BCGen/HBC/CMakeFiles/hermesHBCBackend.dir/Bytecode.cpp.o [ 86%] Building CXX object lib/BCGen/HBC/CMakeFiles/hermesHBCBackend.dir/BytecodeStream.cpp.o [ 86%] Building CXX object lib/BCGen/HBC/CMakeFiles/hermesHBCBackend.dir/BytecodeGenerator.cpp.o [ 86%] Building CXX object lib/BCGen/HBC/CMakeFiles/hermesHBCBackend.dir/BytecodeDataProvider.cpp.o [ 90%] Building CXX object lib/BCGen/HBC/CMakeFiles/hermesHBCBackend.dir/BytecodeProviderFromSrc.cpp.o [ 90%] Building CXX object lib/BCGen/HBC/CMakeFiles/hermesHBCBackend.dir/BytecodeDisassembler.cpp.o [ 90%] Building CXX object lib/BCGen/HBC/CMakeFiles/hermesHBCBackend.dir/BytecodeFormConverter.cpp.o [ 90%] Building CXX object lib/BCGen/HBC/CMakeFiles/hermesHBCBackend.dir/ConsecutiveStringStorage.cpp.o [ 90%] Building CXX object lib/BCGen/HBC/CMakeFiles/hermesHBCBackend.dir/DebugInfo.cpp.o [ 90%] Building CXX object lib/BCGen/HBC/CMakeFiles/hermesHBCBackend.dir/Passes.cpp.o [ 90%] Building CXX object lib/BCGen/HBC/CMakeFiles/hermesHBCBackend.dir/SerializedLiteralGenerator.cpp.o [ 93%] Building CXX object lib/BCGen/HBC/CMakeFiles/hermesHBCBackend.dir/SerializedLiteralParserBase.cpp.o [ 93%] Building CXX object lib/BCGen/HBC/CMakeFiles/hermesHBCBackend.dir/SimpleBytecodeBuilder.cpp.o [ 93%] Building CXX object lib/BCGen/HBC/CMakeFiles/hermesHBCBackend.dir/StringKind.cpp.o [ 93%] Building CXX object lib/BCGen/HBC/CMakeFiles/hermesHBCBackend.dir/TraverseLiteralStrings.cpp.o [ 93%] Building CXX object lib/BCGen/HBC/CMakeFiles/hermesHBCBackend.dir/UniquingFilenameTable.cpp.o [ 93%] Building CXX object lib/BCGen/HBC/CMakeFiles/hermesHBCBackend.dir/UniquingStringLiteralTable.cpp.o [ 93%] Building CXX object lib/BCGen/HBC/CMakeFiles/hermesHBCBackend.dir/Passes/FuncCallNOpts.cpp.o [ 96%] Building CXX object lib/BCGen/HBC/CMakeFiles/hermesHBCBackend.dir/Passes/InsertProfilePoint.cpp.o [ 96%] Building CXX object lib/BCGen/HBC/CMakeFiles/hermesHBCBackend.dir/Passes/OptEnvironmentInit.cpp.o [ 96%] Building CXX object lib/BCGen/HBC/CMakeFiles/hermesHBCBackend.dir/Passes/LowerBuiltinCalls.cpp.o [ 96%] Linking CXX static library libhermesHBCBackend.a [ 96%] Built target hermesHBCBackend [ 96%] Building CXX object lib/CompilerDriver/CMakeFiles/hermesCompilerDriver.dir/CompilerDriver.cpp.o [100%] Linking CXX static library libhermesCompilerDriver.a [100%] Built target hermesCompilerDriver [100%] Building CXX object tools/hermesc/CMakeFiles/hermesc.dir/hermesc.cpp.o [100%] Linking CXX executable ../../bin/hermesc [100%] Built target hermesc

Task :react-native:ReactAndroid:processReleaseManifest package="com.facebook.react" found in source AndroidManifest.xml: /home/su/rc/node_modules/react-native/ReactAndroid/src/main/AndroidManifest.xml. Setting the namespace via a source AndroidManifest.xml's package attribute is deprecated. Please instead set the namespace (or testNamespace) in the module's build.gradle file, as described here: https://developer.android.com/studio/build/configure-app-module#set-namespace This migration can be done automatically using the AGP Upgrade Assistant, please refer to https://developer.android.com/studio/build/agp-upgrade-assistant for more information.

Task :react-native:ReactAndroid:hermes-engine:processReleaseManifest package="com.facebook.hermes" found in source AndroidManifest.xml: /home/su/rc/node_modules/react-native/sdks/hermes/android/hermes/src/main/AndroidManifest.xml. Setting the namespace via a source AndroidManifest.xml's package attribute is deprecated. Please instead set the namespace (or testNamespace) in the module's build.gradle file, as described here: https://developer.android.com/studio/build/configure-app-module#set-namespace This migration can be done automatically using the AGP Upgrade Assistant, please refer to https://developer.android.com/studio/build/agp-upgrade-assistant for more information.

Task :react-native:ReactAndroid:hermes-engine:configureCMakeMinSizeRel[arm64-v8a] C/C++: CMake Deprecation Warning at CMakeLists.txt:42 (cmake_policy): C/C++: The OLD behavior for policy CMP0026 will be removed from a future version C/C++: of CMake. C/C++: The cmake-policies(7) manual explains that the OLD behaviors of all C/C++: policies are deprecated and that a policy should be set to OLD only under C/C++: specific short-term circumstances. Projects should be ported to the NEW C/C++: behavior and not rely on setting a policy to OLD. C/C++: CMake Warning: C/C++: Manually-specified variables were not used by the project: C/C++: ANDROID_LD

Task :react-native:ReactAndroid:hermes-engine:compileReleaseJavaWithJavac Note: /home/su/rc/node_modules/react-native/sdks/hermes/lib/Platform/Intl/java/com/facebook/hermes/intl/JSObjects.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details.

Task :react-native:ReactAndroid:hermes-engine:configureCMakeMinSizeRel[armeabi-v7a] C/C++: CMake Deprecation Warning at CMakeLists.txt:42 (cmake_policy): C/C++: The OLD behavior for policy CMP0026 will be removed from a future version C/C++: of CMake. C/C++: The cmake-policies(7) manual explains that the OLD behaviors of all C/C++: policies are deprecated and that a policy should be set to OLD only under C/C++: specific short-term circumstances. Projects should be ported to the NEW C/C++: behavior and not rely on setting a policy to OLD. C/C++: CMake Warning: C/C++: Manually-specified variables were not used by the project: C/C++: ANDROID_LD

Task :react-native:ReactAndroid:compileReleaseKotlin w: /home/su/rc/node_modules/react-native/ReactAndroid/src/main/java/com/facebook/react/views/view/ReactMapBufferPropSetter.kt: (258, 11): Condition 'action != null' is always 'true' w: /home/su/rc/node_modules/react-native/ReactAndroid/src/main/java/com/facebook/react/views/view/ReactViewManagerWrapper.kt: (67, 19): 'receiveCommand(T, Int, ReadableArray?): Unit' is deprecated. Deprecated in Java

Task :react-native:ReactAndroid:compileReleaseJavaWithJavac Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details.

Task :react-native:ReactAndroid:hermes-engine:configureCMakeMinSizeRel[x86] C/C++: CMake Deprecation Warning at CMakeLists.txt:42 (cmake_policy): C/C++: The OLD behavior for policy CMP0026 will be removed from a future version C/C++: of CMake. C/C++: The cmake-policies(7) manual explains that the OLD behaviors of all C/C++: policies are deprecated and that a policy should be set to OLD only under C/C++: specific short-term circumstances. Projects should be ported to the NEW C/C++: behavior and not rely on setting a policy to OLD. C/C++: CMake Warning: C/C++: Manually-specified variables were not used by the project: C/C++: ANDROID_LD

Task :@react-native-community_viewpager:compileReleaseJavaWithJavac Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: /home/su/rc/node_modules/@react-native-community/viewpager/android/src/main/java/com/reactnativecommunity/viewpager/ReactViewPagerManager.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details.

Task :react-native:ReactAndroid:hermes-engine:configureCMakeMinSizeRel[x86_64] C/C++: CMake Deprecation Warning at CMakeLists.txt:42 (cmake_policy): C/C++: The OLD behavior for policy CMP0026 will be removed from a future version C/C++: of CMake. C/C++: The cmake-policies(7) manual explains that the OLD behaviors of all C/C++: policies are deprecated and that a policy should be set to OLD only under C/C++: specific short-term circumstances. Projects should be ported to the NEW C/C++: behavior and not rely on setting a policy to OLD.

Task :@react-native-firebase_app:compileReleaseJavaWithJavac Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details.

Task :bugsnag_react-native:compileReleaseJavaWithJavac Note: /home/su/rc/node_modules/@bugsnag/react-native/android/src/main/java/com/bugsnag/android/ReactNativeCompat.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details.

Task :@react-native-firebase_analytics:compileReleaseJavaWithJavac Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details.

Task :@react-native-firebase_crashlytics:compileReleaseJavaWithJavac Note: /home/su/rc/node_modules/@react-native-firebase/crashlytics/android/src/main/java/io/invertase/firebase/crashlytics/ReactNativeFirebaseCrashlyticsModule.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details.

Task :react-native:ReactAndroid:hermes-engine:configureCMakeMinSizeRel[x86_64] C/C++: CMake Warning: C/C++: Manually-specified variables were not used by the project: C/C++: ANDROID_LD

Task :expo-modules-core:compileReleaseKotlin w: /home/su/rc/node_modules/expo-modules-core/android/src/main/java/expo/modules/adapters/react/permissions/PermissionsService.kt: (157, 30): 'getPackageInfo(String, Int): PackageInfo!' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/expo-modules-core/android/src/main/java/expo/modules/core/utilities/EmulatorUtilities.kt: (30, 13): 'SERIAL: String!' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/expo-modules-core/android/src/main/java/expo/modules/kotlin/activityresult/ActivityResultsManager.kt: (52, 24): Parameter 'activity' is never used w: /home/su/rc/node_modules/expo-modules-core/android/src/main/java/expo/modules/kotlin/activityresult/AppContextActivityResultRegistry.kt: (119, 51): 'getParcelableExtra(String!): T?' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/expo-modules-core/android/src/main/java/expo/modules/kotlin/activityresult/AppContextActivityResultRegistry.kt: (180, 26): 'getParcelable(String?): T?' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/expo-modules-core/android/src/main/java/expo/modules/kotlin/activityresult/AppContextActivityResultRegistry.kt: (271, 83): 'getParcelable(String?): T?' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/expo-modules-core/android/src/main/java/expo/modules/kotlin/activityresult/DataPersistor.kt: (67, 20): 'getSerializable(String?): Serializable?' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/expo-modules-core/android/src/main/java/expo/modules/kotlin/activityresult/DataPersistor.kt: (85, 26): 'getSerializable(String?): Serializable?' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/expo-modules-core/android/src/main/java/expo/modules/kotlin/events/KModuleEventEmitterWrapper.kt: (90, 7): 'constructor Event<T : Event<(raw) Event<*>>!>(Int)' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/expo-modules-core/android/src/main/java/expo/modules/kotlin/jni/JavaScriptObject.kt: (59, 33): Parameter 'null' is never used w: /home/su/rc/node_modules/expo-modules-core/android/src/main/java/expo/modules/kotlin/jni/JavaScriptObject.kt: (100, 5): Parameter 'null' is never used w: /home/su/rc/node_modules/expo-modules-core/android/src/main/java/expo/modules/kotlin/modules/Module.kt: (43, 7): 'coroutineScope: CoroutineScope' is deprecated. Use a scope from the AppContext w: /home/su/rc/node_modules/expo-modules-core/android/src/main/java/expo/modules/kotlin/types/Either.kt: (24, 11): Parameter 'type' is never used w: /home/su/rc/node_modules/expo-modules-core/android/src/main/java/expo/modules/kotlin/types/Either.kt: (27, 11): Parameter 'type' is never used w: /home/su/rc/node_modules/expo-modules-core/android/src/main/java/expo/modules/kotlin/types/Either.kt: (44, 11): Parameter 'type' is never used w: /home/su/rc/node_modules/expo-modules-core/android/src/main/java/expo/modules/kotlin/types/Either.kt: (59, 11): Parameter 'type' is never used w: /home/su/rc/node_modules/expo-modules-core/android/src/main/java/expo/modules/kotlin/types/JSTypeConverterHelper.kt: (44, 17): 'get(String!): Any?' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/expo-modules-core/android/src/main/java/expo/modules/kotlin/views/ViewManagerDefinitionBuilder.kt: (125, 30): 'ViewGroupDefinitionLegacyBuilder' is deprecated. Use ViewGroupDefinitionBuilder instead. w: /home/su/rc/node_modules/expo-modules-core/android/src/main/java/expo/modules/kotlin/views/ViewManagerDefinitionBuilder.kt: (128, 38): 'ViewGroupDefinitionLegacyBuilder' is deprecated. Use ViewGroupDefinitionBuilder instead.

Task :expo-modules-core:compileReleaseJavaWithJavac Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details.

Task :expo-av:compileReleaseKotlin w: /home/su/rc/node_modules/expo-av/android/src/main/java/expo/modules/av/ViewUtils.kt: (21, 78): 'resolveView(Int): View?' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/expo-av/android/src/main/java/expo/modules/av/ViewUtils.kt: (52, 78): 'resolveView(Int): View?' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/expo-av/android/src/main/java/expo/modules/av/player/datasource/CustomHeadersOkHttpDataSourceFactory.kt: (32, 12): 'constructor OkHttpDataSource(Call.Factory, String?, CacheControl?, HttpDataSource.RequestProperties?)' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/expo-av/android/src/main/java/expo/modules/av/progress/AndroidLooperTimeMachine.kt: (8, 5): 'constructor Handler()' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/expo-av/android/src/main/java/expo/modules/av/video/VideoViewModule.kt: (64, 17): 'tryRunWithVideoView(ModuleRegistry, Int, ViewUtils.VideoViewCallback, Promise): Unit' is deprecated. Use dispatchCommands in favor of finding view with imperative calls

Task :expo-av:compileReleaseJavaWithJavac Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details.

Task :expo-camera:compileReleaseKotlin w: /home/su/rc/node_modules/expo-camera/android/src/main/java/expo/modules/camera/CameraViewHelper.kt: (27, 36): 'get(Int, Int): CamcorderProfile!' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/expo-camera/android/src/main/java/expo/modules/camera/CameraViewHelper.kt: (29, 49): 'get(Int, Int): CamcorderProfile!' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/expo-camera/android/src/main/java/expo/modules/camera/CameraViewHelper.kt: (30, 49): 'get(Int, Int): CamcorderProfile!' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/expo-camera/android/src/main/java/expo/modules/camera/CameraViewHelper.kt: (31, 48): 'get(Int, Int): CamcorderProfile!' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/expo-camera/android/src/main/java/expo/modules/camera/CameraViewHelper.kt: (32, 48): 'get(Int, Int): CamcorderProfile!' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/expo-camera/android/src/main/java/expo/modules/camera/CameraViewHelper.kt: (34, 36): 'get(Int, Int): CamcorderProfile!' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/expo-camera/android/src/main/java/expo/modules/camera/CameraViewModule.kt: (81, 85): 'execute(vararg Void?): AsyncTask<Void?, Void?, Bundle?>!' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/expo-camera/android/src/main/java/expo/modules/camera/ExifTags.kt: (71, 32): 'TAG_ISO_SPEED_RATINGS: String' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/expo-camera/android/src/main/java/expo/modules/camera/ExpoCameraView.kt: (199, 73): 'getter for defaultDisplay: Display!' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/expo-camera/android/src/main/java/expo/modules/camera/ExpoCameraView.kt: (393, 89): 'execute(vararg Void?): AsyncTask<Void?, Void?, Bundle?>!' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/expo-camera/android/src/main/java/expo/modules/camera/ExpoCameraView.kt: (412, 113): 'execute(vararg Void?): AsyncTask<Void?, Void?, BarCodeScannerResult?>!' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/expo-camera/android/src/main/java/expo/modules/camera/tasks/BarCodeScannerAsyncTask.kt: (3, 19): 'AsyncTask<Params : Any!, Progress : Any!, Result : Any!>' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/expo-camera/android/src/main/java/expo/modules/camera/tasks/BarCodeScannerAsyncTask.kt: (15, 5): 'AsyncTask<Params : Any!, Progress : Any!, Result : Any!>' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/expo-camera/android/src/main/java/expo/modules/camera/tasks/BarCodeScannerAsyncTask.kt: (15, 5): 'constructor AsyncTask<Params : Any!, Progress : Any!, Result : Any!>()' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/expo-camera/android/src/main/java/expo/modules/camera/tasks/BarCodeScannerAsyncTask.kt: (16, 60): 'getter for isCancelled: Boolean' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/expo-camera/android/src/main/java/expo/modules/camera/tasks/BarCodeScannerAsyncTask.kt: (21, 11): 'onPostExecute(Result!): Unit' is deprecated. Deprecated in Java w: /home/su/rc/nodemodules/expo-camera/android/src/main/java/expo/modules/camera/tasks/FaceDetectorTask.kt: (27, 9): Parameter 'error' is never used, could be renamed to w: /home/su/rc/nodemodules/expo-camera/android/src/main/java/expo/modules/camera/tasks/FaceDetectorTask.kt: (31, 9): Parameter 'skippedReason' is never used, could be renamed to w: /home/su/rc/node_modules/expo-camera/android/src/main/java/expo/modules/camera/tasks/ResolveTakenPictureAsyncTask.kt: (8, 19): 'AsyncTask<Params : Any!, Progress : Any!, Result : Any!>' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/expo-camera/android/src/main/java/expo/modules/camera/tasks/ResolveTakenPictureAsyncTask.kt: (47, 5): 'AsyncTask<Params : Any!, Progress : Any!, Result : Any!>' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/expo-camera/android/src/main/java/expo/modules/camera/tasks/ResolveTakenPictureAsyncTask.kt: (47, 5): 'constructor AsyncTask<Params : Any!, Progress : Any!, Result : Any!>()' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/expo-camera/android/src/main/java/expo/modules/camera/tasks/ResolveTakenPictureAsyncTask.kt: (123, 32): Type mismatch: inferred type is String? but String was expected w: /home/su/rc/node_modules/expo-camera/android/src/main/java/expo/modules/camera/tasks/ResolveTakenPictureAsyncTask.kt: (155, 30): Type mismatch: inferred type is String? but String was expected w: /home/su/rc/node_modules/expo-camera/android/src/main/java/expo/modules/camera/tasks/ResolveTakenPictureAsyncTask.kt: (191, 11): 'onPostExecute(Result!): Unit' is deprecated. Deprecated in Java

Task :expo-file-system:compileReleaseKotlin w: /home/su/rc/node_modules/expo-file-system/android/src/main/java/expo/modules/filesystem/FileSystemModule.kt: (8, 19): 'AsyncTask<Params : Any!, Progress : Any!, Result : Any!>' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/expo-file-system/android/src/main/java/expo/modules/filesystem/FileSystemModule.kt: (428, 27): Type mismatch: inferred type is String? but String was expected w: /home/su/rc/node_modules/expo-file-system/android/src/main/java/expo/modules/filesystem/FileSystemModule.kt: (472, 29): Type mismatch: inferred type is String? but String was expected w: /home/su/rc/node_modules/expo-file-system/android/src/main/java/expo/modules/filesystem/FileSystemModule.kt: (561, 43): Parameter 'options' is never used w: /home/su/rc/node_modules/expo-file-system/android/src/main/java/expo/modules/filesystem/FileSystemModule.kt: (649, 46): Parameter 'options' is never used w: /home/su/rc/node_modules/expo-file-system/android/src/main/java/expo/modules/filesystem/FileSystemModule.kt: (773, 43): Unchecked cast: Any? to Map<String, Any>? w: /home/su/rc/node_modules/expo-file-system/android/src/main/java/expo/modules/filesystem/FileSystemModule.kt: (790, 40): 'create(MediaType?, File): RequestBody' is deprecated. Moved to extension function. Put the 'file' argument first to fix Java w: /home/su/rc/node_modules/expo-file-system/android/src/main/java/expo/modules/filesystem/FileSystemModule.kt: (795, 15): Unchecked cast: Any to Map<String, Any> w: /home/su/rc/node_modules/expo-file-system/android/src/main/java/expo/modules/filesystem/FileSystemModule.kt: (927, 49): Unchecked cast: Any? to Map<String, Any>? w: /home/su/rc/node_modules/expo-file-system/android/src/main/java/expo/modules/filesystem/FileSystemModule.kt: (1028, 43): Unchecked cast: Any? to Map<String, Any>? w: /home/su/rc/node_modules/expo-file-system/android/src/main/java/expo/modules/filesystem/FileSystemModule.kt: (1040, 9): 'execute(vararg FileSystemModule.DownloadResumableTaskParams?): AsyncTask<FileSystemModule.DownloadResumableTaskParams?, Void?, Void?>!' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/expo-file-system/android/src/main/java/expo/modules/filesystem/FileSystemModule.kt: (1101, 47): 'AsyncTask<Params : Any!, Progress : Any!, Result : Any!>' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/expo-file-system/android/src/main/java/expo/modules/filesystem/FileSystemModule.kt: (1101, 47): 'constructor AsyncTask<Params : Any!, Progress : Any!, Result : Any!>()' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/expo-file-system/android/src/main/java/expo/modules/filesystem/FileSystemModule.kt: (1114, 21): Variable 'count' initializer is redundant w: /home/su/rc/node_modules/expo-file-system/android/src/main/java/expo/modules/filesystem/FileSystemModule.kt: (1248, 39): 'toLowerCase(Locale): String' is deprecated. Use lowercase() instead. w: /home/su/rc/node_modules/expo-file-system/android/src/main/java/expo/modules/filesystem/FileSystemModule.kt: (1285, 35): Type mismatch: inferred type is String? but String was expected w: /home/su/rc/node_modules/expo-file-system/android/src/main/java/expo/modules/filesystem/FileSystemModule.kt: (1319, 11): 'get(String!): Any?' is deprecated. Deprecated in Java

Task :expo-haptics:compileReleaseKotlin w: /home/su/rc/node_modules/expo-haptics/android/src/main/java/expo/modules/haptics/HapticsModule.kt: (19, 46): 'VIBRATOR_SERVICE: String' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/expo-haptics/android/src/main/java/expo/modules/haptics/HapticsModule.kt: (41, 16): 'vibrate(LongArray!, Int): Unit' is deprecated. Deprecated in Java

Task :expo-local-authentication:compileReleaseKotlin w: /home/su/rc/node_modules/expo-local-authentication/android/src/main/java/expo/modules/localauthentication/LocalAuthenticationModule.kt: (254, 17): 'onActivityResult(Int, Int, Intent?): Unit' is deprecated. Deprecated in Java

Task :expo-web-browser:compileReleaseKotlin w: /home/su/rc/node_modules/expo-web-browser/android/src/main/java/expo/modules/webbrowser/CustomTabsActivitiesHelper.kt: (45, 28): 'queryIntentServices(Intent, Int): (Mutable)List<ResolveInfo!>' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/expo-web-browser/android/src/main/java/expo/modules/webbrowser/CustomTabsActivitiesHelper.kt: (65, 33): 'resolveActivity(Intent, Int): ResolveInfo?' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/expo-web-browser/android/src/main/java/expo/modules/webbrowser/CustomTabsActivitiesHelper.kt: (85, 27): 'queryIntentActivities(Intent, Int): (Mutable)List<ResolveInfo!>' is deprecated. Deprecated in Java

Task :nozbe_watermelondb:compileReleaseKotlin w: /home/su/rc/node_modules/@nozbe/watermelondb/native/android/src/main/java/com/nozbe/watermelondb/DatabaseBridge.kt: (224, 15): 'onCatalystInstanceDestroy(): Unit' is deprecated. Overrides deprecated member in 'com.facebook.react.bridge.NativeModule'. Deprecated in Java w: /home/su/rc/node_modules/@nozbe/watermelondb/native/android/src/main/java/com/nozbe/watermelondb/DatabaseDriver.kt: (121, 59): Unnecessary non-null assertion (!!) on a non-null receiver of type ReadableArray w: /home/su/rc/node_modules/@nozbe/watermelondb/native/android/src/main/java/com/nozbe/watermelondb/DatabaseDriver.kt: (123, 79): Unnecessary non-null assertion (!!) on a non-null receiver of type String w: /home/su/rc/node_modules/@nozbe/watermelondb/native/android/src/main/java/com/nozbe/watermelondb/DatabaseDriver.kt: (124, 54): No cast needed w: /home/su/rc/node_modules/@nozbe/watermelondb/native/android/src/main/java/com/nozbe/watermelondb/DatabaseDriver.kt: (125, 59): Unnecessary non-null assertion (!!) on a non-null receiver of type ReadableArray w: /home/su/rc/node_modules/@nozbe/watermelondb/native/android/src/main/java/com/nozbe/watermelondb/DatabaseDriver.kt: (128, 58): Unnecessary non-null assertion (!!) on a non-null receiver of type ReadableArray

Task :react-native-async-storage_async-storage:compileReleaseJavaWithJavac Note: /home/su/rc/node_modules/@react-native-async-storage/async-storage/android/src/main/java/com/reactnativecommunity/asyncstorage/AsyncStorageModule.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: /home/su/rc/node_modules/@react-native-async-storage/async-storage/android/src/main/java/com/reactnativecommunity/asyncstorage/AsyncStoragePackage.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details.

Task :react-native-camera-roll_camera-roll:compileReleaseJavaWithJavac Note: /home/su/rc/node_modules/@react-native-camera-roll/camera-roll/android/src/main/java/com/reactnativecommunity/cameraroll/CameraRollModule.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: /home/su/rc/node_modules/@react-native-camera-roll/camera-roll/android/src/main/java/com/reactnativecommunity/cameraroll/CameraRollPackage.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details.

Task :react-native-clipboard_clipboard:compileReleaseJavaWithJavac Note: /home/su/rc/node_modules/@react-native-clipboard/clipboard/android/src/main/java/com/reactnativecommunity/clipboard/ClipboardModule.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details.

Task :react-native-community_art:compileReleaseJavaWithJavac Note: /home/su/rc/node_modules/@react-native-community/art/android/src/main/java/com/reactnativecommunity/art/ARTGroupShadowNode.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details.

Task :react-native-community_blur:compileReleaseJavaWithJavac Note: /home/su/rc/node_modules/@react-native-community/blur/android/src/main/java/com/reactnativecommunity/blurview/BlurViewManager.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details.

Task :react-native-community_datetimepicker:compileReleaseJavaWithJavac Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details.

Task :react-native-community_netinfo:compileReleaseJavaWithJavac Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details.

Task :react-native-community_picker:compileReleaseJavaWithJavac Note: /home/su/rc/node_modules/@react-native-community/picker/android/src/main/java/com/reactnativecommunity/picker/PickerItemSelectEvent.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details.

Task :react-native-community_slider:compileReleaseJavaWithJavac Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: /home/su/rc/node_modules/@react-native-community/slider/android/src/oldarch/java/com/reactnativecommunity/slider/ReactSliderManager.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details.

Task :react-native-cookies_cookies:compileReleaseJavaWithJavac Note: /home/su/rc/node_modules/@react-native-cookies/cookies/android/src/main/java/com/reactnativecommunity/cookies/CookieManagerModule.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details.

Task :react-native-background-timer:compileReleaseJavaWithJavac Note: /home/su/rc/node_modules/react-native-background-timer/android/src/main/java/com/ocetnik/timer/BackgroundTimerModule.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details.

Task :react-native-device-info:compileReleaseJavaWithJavac Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details.

Task :react-native-document-picker:compileReleaseJavaWithJavac Note: /home/su/rc/node_modules/react-native-document-picker/android/src/main/java/com/reactnativedocumentpicker/DocumentPickerModule.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details.

Task :react-native-fast-image:compileReleaseJavaWithJavac Note: [2] Wrote GeneratedAppGlideModule with: [com.bumptech.glide.integration.okhttp3.OkHttpLibraryGlideModule, com.dylanvann.fastimage.FastImageOkHttpProgressGlideModule] Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details.

Task :react-native-gesture-handler:compileReleaseKotlin w: /home/su/rc/node_modules/react-native-gesture-handler/android/src/main/java/com/swmansion/gesturehandler/core/GestureHandler.kt: (755, 11): Name shadowed: size w: /home/su/rc/node_modules/react-native-gesture-handler/android/src/main/java/com/swmansion/gesturehandler/react/RNGestureHandlerEnabledRootView.kt: (9, 51): Unreachable code w: /home/su/rc/node_modules/react-native-gesture-handler/android/src/main/java/com/swmansion/gesturehandler/react/RNGestureHandlerEnabledRootView.kt: (10, 80): Unreachable code w: /home/su/rc/node_modules/react-native-gesture-handler/android/src/main/java/com/swmansion/gesturehandler/react/RNGestureHandlerRootHelper.kt: (77, 18): 'onChildStartedNativeGesture(MotionEvent!): Unit' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/react-native-gesture-handler/android/src/main/java/com/swmansion/gesturehandler/react/RNGestureHandlerRootHelper.kt: (82, 42): Parameter 'disallowIntercept' is never used w: /home/su/rc/node_modules/react-native-gesture-handler/android/src/main/java/com/swmansion/gesturehandler/react/RNGestureHandlerRootHelper.kt: (114, 28): Parameter 'viewTag' is never used w: /home/su/rc/node_modules/react-native-gesture-handler/android/src/main/java/com/swmansion/gesturehandler/react/RNGestureHandlerTouchEvent.kt: (7, 44): 'RCTEventEmitter' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/react-native-gesture-handler/android/src/main/java/com/swmansion/gesturehandler/react/RNGestureHandlerTouchEvent.kt: (14, 11): 'init(Int): Unit' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/react-native-gesture-handler/android/src/main/java/com/swmansion/gesturehandler/react/RNGestureHandlerTouchEvent.kt: (30, 42): 'RCTEventEmitter' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/react-native-gesture-handler/android/src/main/java/com/swmansion/gesturehandler/react/RNGestureHandlerTouchEvent.kt: (31, 21): 'receiveEvent(Int, String!, WritableMap?): Unit' is deprecated. Deprecated in Java

Task :react-native-image-crop-picker:compileReleaseJavaWithJavac Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details.

Task :react-native-localize:compileReleaseJavaWithJavac Note: /home/su/rc/node_modules/react-native-localize/android/src/main/java/com/zoontek/rnlocalize/RNLocalizeModule.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details.

Task :react-native-math-view:compileReleaseJavaWithJavac Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: /home/su/rc/node_modules/react-native-math-view/android/src/main/java/io/autodidact/rnmathview/RNMathViewManager.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details.

Task :react-native-mmkv-storage:configureCMakeRelWithDebInfo[arm64-v8a] C/C++: CMake Warning at /home/su/Android/Sdk/ndk/23.1.7779620/build/cmake/android-legacy.toolchain.cmake:416 (message): C/C++: An old version of CMake is being used that cannot automatically detect C/C++: compiler attributes. Compiler identification is being bypassed. Some C/C++: values may be wrong or missing. Update to CMake 3.19 or newer to use C/C++: CMake's built-in compiler identification. C/C++: Call Stack (most recent call first): C/C++: /home/su/Android/Sdk/ndk/23.1.7779620/build/cmake/android.toolchain.cmake:55 (include) C/C++: /home/su/Android/Sdk/cmake/3.18.1/share/cmake-3.18/Modules/CMakeDetermineSystem.cmake:93 (include) C/C++: CMakeLists.txt:5 (project) C/C++: CMake Warning at /home/su/Android/Sdk/ndk/23.1.7779620/build/cmake/android-legacy.toolchain.cmake:416 (message): C/C++: An old version of CMake is being used that cannot automatically detect C/C++: compiler attributes. Compiler identification is being bypassed. Some C/C++: values may be wrong or missing. Update to CMake 3.19 or newer to use C/C++: CMake's built-in compiler identification. C/C++: Call Stack (most recent call first): C/C++: /home/su/Android/Sdk/ndk/23.1.7779620/build/cmake/android.toolchain.cmake:55 (include) C/C++: /home/su/rc/node_modules/react-native-mmkv-storage/android/.cxx/RelWithDebInfo/6vb6i1x2/arm64-v8a/CMakeFiles/3.18.1-g262b901/CMakeSystem.cmake:6 (include) C/C++: /home/su/rc/node_modules/react-native-mmkv-storage/android/.cxx/RelWithDebInfo/6vb6i1x2/arm64-v8a/CMakeFiles/CMakeTmp/CMakeLists.txt:2 (project) C/C++: CMake Warning at /home/su/Android/Sdk/ndk/23.1.7779620/build/cmake/android-legacy.toolchain.cmake:416 (message): C/C++: An old version of CMake is being used that cannot automatically detect C/C++: compiler attributes. Compiler identification is being bypassed. Some C/C++: values may be wrong or missing. Update to CMake 3.19 or newer to use C/C++: CMake's built-in compiler identification. C/C++: Call Stack (most recent call first): C/C++: /home/su/Android/Sdk/ndk/23.1.7779620/build/cmake/android.toolchain.cmake:55 (include) C/C++: /home/su/rc/node_modules/react-native-mmkv-storage/android/.cxx/RelWithDebInfo/6vb6i1x2/arm64-v8a/CMakeFiles/3.18.1-g262b901/CMakeSystem.cmake:6 (include) C/C++: /home/su/rc/node_modules/react-native-mmkv-storage/android/.cxx/RelWithDebInfo/6vb6i1x2/arm64-v8a/CMakeFiles/CMakeTmp/CMakeLists.txt:2 (project)

Task :react-native-mmkv-storage:buildCMakeRelWithDebInfo[arm64-v8a] C/C++: ninja: Entering directory `/home/su/rc/node_modules/react-native-mmkv-storage/android/.cxx/RelWithDebInfo/6vb6i1x2/arm64-v8a' C/C++: /home/su/rc/node_modules/react-native-mmkv-storage/MMKV/Core/MMKV.cpp:565:22: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] C/C++: /home/su/rc/node_modules/react-native-mmkv-storage/MMKV/Core/MMKV.cpp:565:22: note: remove std::move call here

Task :react-native-mmkv-storage:configureCMakeRelWithDebInfo[armeabi-v7a] C/C++: CMake Warning at /home/su/Android/Sdk/ndk/23.1.7779620/build/cmake/android-legacy.toolchain.cmake:416 (message): C/C++: An old version of CMake is being used that cannot automatically detect C/C++: compiler attributes. Compiler identification is being bypassed. Some C/C++: values may be wrong or missing. Update to CMake 3.19 or newer to use C/C++: CMake's built-in compiler identification. C/C++: Call Stack (most recent call first): C/C++: /home/su/Android/Sdk/ndk/23.1.7779620/build/cmake/android.toolchain.cmake:55 (include) C/C++: /home/su/Android/Sdk/cmake/3.18.1/share/cmake-3.18/Modules/CMakeDetermineSystem.cmake:93 (include) C/C++: CMakeLists.txt:5 (project) C/C++: CMake Warning at /home/su/Android/Sdk/ndk/23.1.7779620/build/cmake/android-legacy.toolchain.cmake:416 (message): C/C++: An old version of CMake is being used that cannot automatically detect C/C++: compiler attributes. Compiler identification is being bypassed. Some C/C++: values may be wrong or missing. Update to CMake 3.19 or newer to use C/C++: CMake's built-in compiler identification. C/C++: Call Stack (most recent call first): C/C++: /home/su/Android/Sdk/ndk/23.1.7779620/build/cmake/android.toolchain.cmake:55 (include) C/C++: /home/su/rc/node_modules/react-native-mmkv-storage/android/.cxx/RelWithDebInfo/6vb6i1x2/armeabi-v7a/CMakeFiles/3.18.1-g262b901/CMakeSystem.cmake:6 (include) C/C++: /home/su/rc/node_modules/react-native-mmkv-storage/android/.cxx/RelWithDebInfo/6vb6i1x2/armeabi-v7a/CMakeFiles/CMakeTmp/CMakeLists.txt:2 (project) C/C++: CMake Warning at /home/su/Android/Sdk/ndk/23.1.7779620/build/cmake/android-legacy.toolchain.cmake:416 (message): C/C++: An old version of CMake is being used that cannot automatically detect C/C++: compiler attributes. Compiler identification is being bypassed. Some C/C++: values may be wrong or missing. Update to CMake 3.19 or newer to use C/C++: CMake's built-in compiler identification. C/C++: Call Stack (most recent call first): C/C++: /home/su/Android/Sdk/ndk/23.1.7779620/build/cmake/android.toolchain.cmake:55 (include) C/C++: /home/su/rc/node_modules/react-native-mmkv-storage/android/.cxx/RelWithDebInfo/6vb6i1x2/armeabi-v7a/CMakeFiles/3.18.1-g262b901/CMakeSystem.cmake:6 (include) C/C++: /home/su/rc/node_modules/react-native-mmkv-storage/android/.cxx/RelWithDebInfo/6vb6i1x2/armeabi-v7a/CMakeFiles/CMakeTmp/CMakeLists.txt:2 (project)

Task :react-native:ReactAndroid:extractReleaseAnnotations Warning: com.facebook.react.uimanager.events.EventCategoryDef: The typedef annotation should have @Retention(RetentionPolicy.SOURCE)

Task :react-native-mmkv-storage:buildCMakeRelWithDebInfo[armeabi-v7a] C/C++: ninja: Entering directory `/home/su/rc/node_modules/react-native-mmkv-storage/android/.cxx/RelWithDebInfo/6vb6i1x2/armeabi-v7a' C/C++: /home/su/rc/node_modules/react-native-mmkv-storage/MMKV/Core/MMKV.cpp:565:22: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] C/C++: /home/su/rc/node_modules/react-native-mmkv-storage/MMKV/Core/MMKV.cpp:565:22: note: remove std::move call here

Task :react-native-mmkv-storage:configureCMakeRelWithDebInfo[x86] C/C++: CMake Warning at /home/su/Android/Sdk/ndk/23.1.7779620/build/cmake/android-legacy.toolchain.cmake:416 (message): C/C++: An old version of CMake is being used that cannot automatically detect C/C++: compiler attributes. Compiler identification is being bypassed. Some C/C++: values may be wrong or missing. Update to CMake 3.19 or newer to use C/C++: CMake's built-in compiler identification. C/C++: Call Stack (most recent call first): C/C++: /home/su/Android/Sdk/ndk/23.1.7779620/build/cmake/android.toolchain.cmake:55 (include) C/C++: /home/su/Android/Sdk/cmake/3.18.1/share/cmake-3.18/Modules/CMakeDetermineSystem.cmake:93 (include) C/C++: CMakeLists.txt:5 (project) C/C++: CMake Warning at /home/su/Android/Sdk/ndk/23.1.7779620/build/cmake/android-legacy.toolchain.cmake:416 (message): C/C++: An old version of CMake is being used that cannot automatically detect C/C++: compiler attributes. Compiler identification is being bypassed. Some C/C++: values may be wrong or missing. Update to CMake 3.19 or newer to use C/C++: CMake's built-in compiler identification. C/C++: Call Stack (most recent call first): C/C++: /home/su/Android/Sdk/ndk/23.1.7779620/build/cmake/android.toolchain.cmake:55 (include) C/C++: /home/su/rc/node_modules/react-native-mmkv-storage/android/.cxx/RelWithDebInfo/6vb6i1x2/x86/CMakeFiles/3.18.1-g262b901/CMakeSystem.cmake:6 (include) C/C++: /home/su/rc/node_modules/react-native-mmkv-storage/android/.cxx/RelWithDebInfo/6vb6i1x2/x86/CMakeFiles/CMakeTmp/CMakeLists.txt:2 (project) C/C++: CMake Warning at /home/su/Android/Sdk/ndk/23.1.7779620/build/cmake/android-legacy.toolchain.cmake:416 (message): C/C++: An old version of CMake is being used that cannot automatically detect C/C++: compiler attributes. Compiler identification is being bypassed. Some C/C++: values may be wrong or missing. Update to CMake 3.19 or newer to use C/C++: CMake's built-in compiler identification. C/C++: Call Stack (most recent call first): C/C++: /home/su/Android/Sdk/ndk/23.1.7779620/build/cmake/android.toolchain.cmake:55 (include) C/C++: /home/su/rc/node_modules/react-native-mmkv-storage/android/.cxx/RelWithDebInfo/6vb6i1x2/x86/CMakeFiles/3.18.1-g262b901/CMakeSystem.cmake:6 (include) C/C++: /home/su/rc/node_modules/react-native-mmkv-storage/android/.cxx/RelWithDebInfo/6vb6i1x2/x86/CMakeFiles/CMakeTmp/CMakeLists.txt:2 (project)

Task :react-native-mmkv-storage:buildCMakeRelWithDebInfo[x86] C/C++: ninja: Entering directory `/home/su/rc/node_modules/react-native-mmkv-storage/android/.cxx/RelWithDebInfo/6vb6i1x2/x86' C/C++: /home/su/rc/node_modules/react-native-mmkv-storage/MMKV/Core/MMKV.cpp:565:22: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] C/C++: /home/su/rc/node_modules/react-native-mmkv-storage/MMKV/Core/MMKV.cpp:565:22: note: remove std::move call here

Task :react-native-mmkv-storage:configureCMakeRelWithDebInfo[x86_64] C/C++: CMake Warning at /home/su/Android/Sdk/ndk/23.1.7779620/build/cmake/android-legacy.toolchain.cmake:416 (message): C/C++: An old version of CMake is being used that cannot automatically detect C/C++: compiler attributes. Compiler identification is being bypassed. Some C/C++: values may be wrong or missing. Update to CMake 3.19 or newer to use C/C++: CMake's built-in compiler identification. C/C++: Call Stack (most recent call first): C/C++: /home/su/Android/Sdk/ndk/23.1.7779620/build/cmake/android.toolchain.cmake:55 (include) C/C++: /home/su/Android/Sdk/cmake/3.18.1/share/cmake-3.18/Modules/CMakeDetermineSystem.cmake:93 (include) C/C++: CMakeLists.txt:5 (project) C/C++: CMake Warning at /home/su/Android/Sdk/ndk/23.1.7779620/build/cmake/android-legacy.toolchain.cmake:416 (message): C/C++: An old version of CMake is being used that cannot automatically detect C/C++: compiler attributes. Compiler identification is being bypassed. Some C/C++: values may be wrong or missing. Update to CMake 3.19 or newer to use C/C++: CMake's built-in compiler identification. C/C++: Call Stack (most recent call first): C/C++: /home/su/Android/Sdk/ndk/23.1.7779620/build/cmake/android.toolchain.cmake:55 (include) C/C++: /home/su/rc/node_modules/react-native-mmkv-storage/android/.cxx/RelWithDebInfo/6vb6i1x2/x86_64/CMakeFiles/3.18.1-g262b901/CMakeSystem.cmake:6 (include) C/C++: /home/su/rc/node_modules/react-native-mmkv-storage/android/.cxx/RelWithDebInfo/6vb6i1x2/x86_64/CMakeFiles/CMakeTmp/CMakeLists.txt:2 (project) C/C++: CMake Warning at /home/su/Android/Sdk/ndk/23.1.7779620/build/cmake/android-legacy.toolchain.cmake:416 (message): C/C++: An old version of CMake is being used that cannot automatically detect C/C++: compiler attributes. Compiler identification is being bypassed. Some C/C++: values may be wrong or missing. Update to CMake 3.19 or newer to use C/C++: CMake's built-in compiler identification. C/C++: Call Stack (most recent call first): C/C++: /home/su/Android/Sdk/ndk/23.1.7779620/build/cmake/android.toolchain.cmake:55 (include) C/C++: /home/su/rc/node_modules/react-native-mmkv-storage/android/.cxx/RelWithDebInfo/6vb6i1x2/x86_64/CMakeFiles/3.18.1-g262b901/CMakeSystem.cmake:6 (include) C/C++: /home/su/rc/node_modules/react-native-mmkv-storage/android/.cxx/RelWithDebInfo/6vb6i1x2/x86_64/CMakeFiles/CMakeTmp/CMakeLists.txt:2 (project)

Task :react-native-mmkv-storage:buildCMakeRelWithDebInfo[x86_64] C/C++: ninja: Entering directory `/home/su/rc/node_modules/react-native-mmkv-storage/android/.cxx/RelWithDebInfo/6vb6i1x2/x86_64' C/C++: /home/su/rc/node_modules/react-native-mmkv-storage/MMKV/Core/MMKV.cpp:565:22: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] C/C++: /home/su/rc/node_modules/react-native-mmkv-storage/MMKV/Core/MMKV.cpp:565:22: note: remove std::move call here

Task :react-native-mmkv-storage:compileReleaseJavaWithJavac Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: /home/su/rc/node_modules/react-native-mmkv-storage/android/src/main/java/com/ammarahmed/mmkv/RNMMKVModule.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details.

Task :react-native-notifications:compileReactNative60ReleaseJavaWithJavac Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details.

Task :react-native-orientation-locker:compileReleaseJavaWithJavac Note: /home/su/rc/node_modules/react-native-orientation-locker/android/src/main/java/org/wonday/orientation/OrientationModule.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details.

Task :react-native-prompt-android:compileReleaseJavaWithJavac Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details.

Task :react-native-safe-area-context:compileReleaseJavaWithJavac Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details.

Task :react-native-screens:compileReleaseKotlin w: /home/su/rc/node_modules/react-native-screens/android/src/main/java/com/swmansion/rnscreens/Screen.kt: (77, 22): 'constructor GuardedRunnable(ReactContext!)' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/react-native-screens/android/src/main/java/com/swmansion/rnscreens/ScreenStackFragment.kt: (62, 28): 'setter for targetElevation: Float' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/react-native-screens/android/src/main/java/com/swmansion/rnscreens/ScreenStackFragment.kt: (119, 28): 'setter for targetElevation: Float' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/react-native-screens/android/src/main/java/com/swmansion/rnscreens/ScreenStackHeaderConfig.kt: (20, 44): 'RCTEventEmitter' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/react-native-screens/android/src/main/java/com/swmansion/rnscreens/ScreenStackHeaderConfig.kt: (68, 47): 'RCTEventEmitter' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/react-native-screens/android/src/main/java/com/swmansion/rnscreens/ScreenStackHeaderConfig.kt: (69, 15): 'receiveEvent(Int, String!, WritableMap?): Unit' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/react-native-screens/android/src/main/java/com/swmansion/rnscreens/ScreenStackHeaderConfig.kt: (88, 34): 'getter for systemWindowInsetTop: Int' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/react-native-screens/android/src/main/java/com/swmansion/rnscreens/ScreenStackHeaderConfig.kt: (229, 37): 'setColorFilter(Int, PorterDuff.Mode): Unit' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/react-native-screens/android/src/main/java/com/swmansion/rnscreens/ScreenWindowTraits.kt: (64, 22): 'constructor GuardedRunnable(ReactContext!)' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/react-native-screens/android/src/main/java/com/swmansion/rnscreens/ScreenWindowTraits.kt: (109, 22): 'constructor GuardedRunnable(ReactContext!)' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/react-native-screens/android/src/main/java/com/swmansion/rnscreens/ScreenWindowTraits.kt: (118, 43): 'replaceSystemWindowInsets(Int, Int, Int, Int): WindowInsetsCompat' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/react-native-screens/android/src/main/java/com/swmansion/rnscreens/ScreenWindowTraits.kt: (119, 47): 'getter for systemWindowInsetLeft: Int' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/react-native-screens/android/src/main/java/com/swmansion/rnscreens/ScreenWindowTraits.kt: (121, 47): 'getter for systemWindowInsetRight: Int' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/react-native-screens/android/src/main/java/com/swmansion/rnscreens/ScreenWindowTraits.kt: (122, 47): 'getter for systemWindowInsetBottom: Int' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/react-native-screens/android/src/main/java/com/swmansion/rnscreens/SearchBarView.kt: (9, 44): 'RCTEventEmitter' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/react-native-screens/android/src/main/java/com/swmansion/rnscreens/SearchBarView.kt: (122, 47): 'RCTEventEmitter' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/react-native-screens/android/src/main/java/com/swmansion/rnscreens/SearchBarView.kt: (123, 15): 'receiveEvent(Int, String!, WritableMap?): Unit' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/react-native-screens/android/src/main/java/com/swmansion/rnscreens/events/HeaderBackButtonClickedEvent.kt: (5, 44): 'RCTEventEmitter' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/react-native-screens/android/src/main/java/com/swmansion/rnscreens/events/HeaderBackButtonClickedEvent.kt: (7, 51): 'constructor Event<T : Event<(raw) Event<>>!>(Int)' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/react-native-screens/android/src/main/java/com/swmansion/rnscreens/events/HeaderBackButtonClickedEvent.kt: (17, 44): 'RCTEventEmitter' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/react-native-screens/android/src/main/java/com/swmansion/rnscreens/events/HeaderBackButtonClickedEvent.kt: (18, 25): 'receiveEvent(Int, String!, WritableMap?): Unit' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/react-native-screens/android/src/main/java/com/swmansion/rnscreens/events/ScreenAppearEvent.kt: (5, 44): 'RCTEventEmitter' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/react-native-screens/android/src/main/java/com/swmansion/rnscreens/events/ScreenAppearEvent.kt: (7, 40): 'constructor Event<T : Event<(raw) Event<>>!>(Int)' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/react-native-screens/android/src/main/java/com/swmansion/rnscreens/events/ScreenAppearEvent.kt: (13, 44): 'RCTEventEmitter' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/react-native-screens/android/src/main/java/com/swmansion/rnscreens/events/ScreenAppearEvent.kt: (14, 25): 'receiveEvent(Int, String!, WritableMap?): Unit' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/react-native-screens/android/src/main/java/com/swmansion/rnscreens/events/ScreenDisappearEvent.kt: (5, 44): 'RCTEventEmitter' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/react-native-screens/android/src/main/java/com/swmansion/rnscreens/events/ScreenDisappearEvent.kt: (7, 43): 'constructor Event<T : Event<(raw) Event<>>!>(Int)' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/react-native-screens/android/src/main/java/com/swmansion/rnscreens/events/ScreenDisappearEvent.kt: (13, 44): 'RCTEventEmitter' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/react-native-screens/android/src/main/java/com/swmansion/rnscreens/events/ScreenDisappearEvent.kt: (14, 25): 'receiveEvent(Int, String!, WritableMap?): Unit' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/react-native-screens/android/src/main/java/com/swmansion/rnscreens/events/ScreenDismissedEvent.kt: (5, 44): 'RCTEventEmitter' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/react-native-screens/android/src/main/java/com/swmansion/rnscreens/events/ScreenDismissedEvent.kt: (7, 43): 'constructor Event<T : Event<(raw) Event<>>!>(Int)' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/react-native-screens/android/src/main/java/com/swmansion/rnscreens/events/ScreenDismissedEvent.kt: (13, 44): 'RCTEventEmitter' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/react-native-screens/android/src/main/java/com/swmansion/rnscreens/events/ScreenDismissedEvent.kt: (17, 25): 'receiveEvent(Int, String!, WritableMap?): Unit' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/react-native-screens/android/src/main/java/com/swmansion/rnscreens/events/ScreenTransitionProgressEvent.kt: (5, 44): 'RCTEventEmitter' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/react-native-screens/android/src/main/java/com/swmansion/rnscreens/events/ScreenTransitionProgressEvent.kt: (13, 5): 'constructor Event<T : Event<(raw) Event<>>!>(Int)' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/react-native-screens/android/src/main/java/com/swmansion/rnscreens/events/ScreenTransitionProgressEvent.kt: (22, 44): 'RCTEventEmitter' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/react-native-screens/android/src/main/java/com/swmansion/rnscreens/events/ScreenTransitionProgressEvent.kt: (27, 25): 'receiveEvent(Int, String!, WritableMap?): Unit' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/react-native-screens/android/src/main/java/com/swmansion/rnscreens/events/ScreenWillAppearEvent.kt: (5, 44): 'RCTEventEmitter' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/react-native-screens/android/src/main/java/com/swmansion/rnscreens/events/ScreenWillAppearEvent.kt: (7, 44): 'constructor Event<T : Event<(raw) Event<>>!>(Int)' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/react-native-screens/android/src/main/java/com/swmansion/rnscreens/events/ScreenWillAppearEvent.kt: (13, 44): 'RCTEventEmitter' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/react-native-screens/android/src/main/java/com/swmansion/rnscreens/events/ScreenWillAppearEvent.kt: (14, 25): 'receiveEvent(Int, String!, WritableMap?): Unit' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/react-native-screens/android/src/main/java/com/swmansion/rnscreens/events/ScreenWillDisappearEvent.kt: (5, 44): 'RCTEventEmitter' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/react-native-screens/android/src/main/java/com/swmansion/rnscreens/events/ScreenWillDisappearEvent.kt: (7, 47): 'constructor Event<T : Event<(raw) Event<>>!>(Int)' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/react-native-screens/android/src/main/java/com/swmansion/rnscreens/events/ScreenWillDisappearEvent.kt: (13, 44): 'RCTEventEmitter' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/react-native-screens/android/src/main/java/com/swmansion/rnscreens/events/ScreenWillDisappearEvent.kt: (14, 25): 'receiveEvent(Int, String!, WritableMap?): Unit' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/react-native-screens/android/src/main/java/com/swmansion/rnscreens/events/StackFinishTransitioningEvent.kt: (5, 44): 'RCTEventEmitter' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/react-native-screens/android/src/main/java/com/swmansion/rnscreens/events/StackFinishTransitioningEvent.kt: (7, 52): 'constructor Event<T : Event<(raw) Event<>>!>(Int)' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/react-native-screens/android/src/main/java/com/swmansion/rnscreens/events/StackFinishTransitioningEvent.kt: (13, 44): 'RCTEventEmitter' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/react-native-screens/android/src/main/java/com/swmansion/rnscreens/events/StackFinishTransitioningEvent.kt: (14, 25): 'receiveEvent(Int, String!, WritableMap?): Unit' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/react-native-screens/android/src/paper/java/com/swmansion/rnscreens/FabricEnabledViewGroup.kt: (7, 42): Parameter 'width' is never used w: /home/su/rc/node_modules/react-native-screens/android/src/paper/java/com/swmansion/rnscreens/FabricEnabledViewGroup.kt: (7, 54): Parameter 'height' is never used

Task :react-native-simple-crypto:compileReleaseJavaWithJavac Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details.

Task :react-native-svg:compileReleaseJavaWithJavac Note: /home/su/rc/node_modules/react-native-svg/android/src/main/java/com/horcrux/svg/VirtualView.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details.

Task :react-native-ui-lib:compileReleaseJavaWithJavac Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details.

Task :react-native-webview:compileReleaseKotlin w: /home/su/rc/node_modules/react-native-webview/android/src/main/java/com/reactnativecommunity/webview/events/TopHttpErrorEvent.kt: (5, 44): 'RCTEventEmitter' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/react-native-webview/android/src/main/java/com/reactnativecommunity/webview/events/TopHttpErrorEvent.kt: (11, 3): 'constructor Event<T : Event<(raw) Event<>>!>(Int)' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/react-native-webview/android/src/main/java/com/reactnativecommunity/webview/events/TopHttpErrorEvent.kt: (22, 42): 'RCTEventEmitter' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/react-native-webview/android/src/main/java/com/reactnativecommunity/webview/events/TopHttpErrorEvent.kt: (23, 21): 'receiveEvent(Int, String!, WritableMap?): Unit' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/react-native-webview/android/src/main/java/com/reactnativecommunity/webview/events/TopLoadingErrorEvent.kt: (5, 44): 'RCTEventEmitter' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/react-native-webview/android/src/main/java/com/reactnativecommunity/webview/events/TopLoadingErrorEvent.kt: (11, 3): 'constructor Event<T : Event<(raw) Event<>>!>(Int)' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/react-native-webview/android/src/main/java/com/reactnativecommunity/webview/events/TopLoadingErrorEvent.kt: (22, 42): 'RCTEventEmitter' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/react-native-webview/android/src/main/java/com/reactnativecommunity/webview/events/TopLoadingErrorEvent.kt: (23, 21): 'receiveEvent(Int, String!, WritableMap?): Unit' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/react-native-webview/android/src/main/java/com/reactnativecommunity/webview/events/TopLoadingFinishEvent.kt: (5, 44): 'RCTEventEmitter' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/react-native-webview/android/src/main/java/com/reactnativecommunity/webview/events/TopLoadingFinishEvent.kt: (11, 3): 'constructor Event<T : Event<(raw) Event<>>!>(Int)' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/react-native-webview/android/src/main/java/com/reactnativecommunity/webview/events/TopLoadingFinishEvent.kt: (22, 42): 'RCTEventEmitter' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/react-native-webview/android/src/main/java/com/reactnativecommunity/webview/events/TopLoadingFinishEvent.kt: (23, 21): 'receiveEvent(Int, String!, WritableMap?): Unit' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/react-native-webview/android/src/main/java/com/reactnativecommunity/webview/events/TopLoadingProgressEvent.kt: (5, 44): 'RCTEventEmitter' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/react-native-webview/android/src/main/java/com/reactnativecommunity/webview/events/TopLoadingProgressEvent.kt: (11, 3): 'constructor Event<T : Event<(raw) Event<>>!>(Int)' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/react-native-webview/android/src/main/java/com/reactnativecommunity/webview/events/TopLoadingProgressEvent.kt: (22, 42): 'RCTEventEmitter' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/react-native-webview/android/src/main/java/com/reactnativecommunity/webview/events/TopLoadingProgressEvent.kt: (23, 21): 'receiveEvent(Int, String!, WritableMap?): Unit' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/react-native-webview/android/src/main/java/com/reactnativecommunity/webview/events/TopLoadingStartEvent.kt: (5, 44): 'RCTEventEmitter' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/react-native-webview/android/src/main/java/com/reactnativecommunity/webview/events/TopLoadingStartEvent.kt: (11, 3): 'constructor Event<T : Event<(raw) Event<>>!>(Int)' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/react-native-webview/android/src/main/java/com/reactnativecommunity/webview/events/TopLoadingStartEvent.kt: (22, 42): 'RCTEventEmitter' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/react-native-webview/android/src/main/java/com/reactnativecommunity/webview/events/TopLoadingStartEvent.kt: (23, 21): 'receiveEvent(Int, String!, WritableMap?): Unit' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/react-native-webview/android/src/main/java/com/reactnativecommunity/webview/events/TopMessageEvent.kt: (5, 44): 'RCTEventEmitter' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/react-native-webview/android/src/main/java/com/reactnativecommunity/webview/events/TopMessageEvent.kt: (10, 75): 'constructor Event<T : Event<(raw) Event<>>!>(Int)' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/react-native-webview/android/src/main/java/com/reactnativecommunity/webview/events/TopMessageEvent.kt: (21, 42): 'RCTEventEmitter' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/react-native-webview/android/src/main/java/com/reactnativecommunity/webview/events/TopMessageEvent.kt: (22, 21): 'receiveEvent(Int, String!, WritableMap?): Unit' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/react-native-webview/android/src/main/java/com/reactnativecommunity/webview/events/TopRenderProcessGoneEvent.kt: (5, 44): 'RCTEventEmitter' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/react-native-webview/android/src/main/java/com/reactnativecommunity/webview/events/TopRenderProcessGoneEvent.kt: (12, 3): 'constructor Event<T : Event<(raw) Event<>>!>(Int)' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/react-native-webview/android/src/main/java/com/reactnativecommunity/webview/events/TopRenderProcessGoneEvent.kt: (23, 42): 'RCTEventEmitter' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/react-native-webview/android/src/main/java/com/reactnativecommunity/webview/events/TopRenderProcessGoneEvent.kt: (24, 21): 'receiveEvent(Int, String!, WritableMap?): Unit' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/react-native-webview/android/src/main/java/com/reactnativecommunity/webview/events/TopShouldStartLoadWithRequestEvent.kt: (5, 44): 'RCTEventEmitter' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/react-native-webview/android/src/main/java/com/reactnativecommunity/webview/events/TopShouldStartLoadWithRequestEvent.kt: (10, 89): 'constructor Event<T : Event<(raw) Event<>>!>(Int)' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/react-native-webview/android/src/main/java/com/reactnativecommunity/webview/events/TopShouldStartLoadWithRequestEvent.kt: (27, 42): 'RCTEventEmitter' is deprecated. Deprecated in Java w: /home/su/rc/node_modules/react-native-webview/android/src/main/java/com/reactnativecommunity/webview/events/TopShouldStartLoadWithRequestEvent.kt: (28, 21): 'receiveEvent(Int, String!, WritableMap?): Unit' is deprecated. Deprecated in Java

Task :react-native-webview:compileReleaseJavaWithJavac Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: /home/su/rc/node_modules/react-native-webview/android/src/main/java/com/reactnativecommunity/webview/RNCWebViewManager.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details.

Task :rn-fetch-blob:compileReleaseJavaWithJavac Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details.

Task :app:processOfficialPlayReleaseMainManifest package="chat.rocket.reactnative" found in source AndroidManifest.xml: /home/su/rc/android/app/src/main/AndroidManifest.xml. Setting the namespace via a source AndroidManifest.xml's package attribute is deprecated. Please instead set the namespace (or testNamespace) in the module's build.gradle file, as described here: https://developer.android.com/studio/build/configure-app-module#set-namespace This migration can be done automatically using the AGP Upgrade Assistant, please refer to https://developer.android.com/studio/build/agp-upgrade-assistant for more information. /home/su/rc/android/app/src/play/AndroidManifest.xml:5:2-24:16 Warning: application@android:allowBackup was tagged at AndroidManifest.xml:5 to replace other declarations but no other declaration present /home/su/rc/android/app/src/play/AndroidManifest.xml:23:9-32:20 Warning: provider#expo.modules.filesystem.FileSystemFileProvider@android:authorities was tagged at AndroidManifest.xml:23 to replace other declarations but no other declaration present

Task :app:compileOfficialPlayReleaseJavaWithJavac FAILED /home/su/rc/android/app/src/main/java/chat/rocket/reactnative/networking/SSLPinningModule.java:6: error: cannot find symbol import com.facebook.react.modules.network.CustomClientBuilder; ^ symbol: class CustomClientBuilder location: package com.facebook.react.modules.network /home/su/rc/android/app/src/main/java/chat/rocket/reactnative/networking/SSLPinningModule.java:9: error: ReactOkHttpNetworkFetcher is not public in com.facebook.react.modules.fresco; cannot be accessed from outside package import com.facebook.react.modules.fresco.ReactOkHttpNetworkFetcher; ^ /home/su/rc/android/app/src/main/java/chat/rocket/reactnative/networking/SSLPinningModule.java:54: error: cannot find symbol public class CustomClient implements CustomClientBuilder { ^ symbol: class CustomClientBuilder location: class SSLPinningModule 3 errors

FAILURE: Build completed with 2 failures.

1: Task failed with an exception.

2: Task failed with an exception.

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See https://docs.gradle.org/7.5.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 12m 1s 1807 actionable tasks: 981 executed, 826 up-to-date

`

So, could you please help me to build android app?