QuickBlox / quickblox-react-native-sdk

quickblox-react-native-sdk
Other
4 stars 1 forks source link

Can not build or run android with version 0.10.0 #83

Open Taziva opened 5 days ago

Taziva commented 5 days ago

I am trying to implement chat with quickblox-react-native-sdk in a react native app with expo. I've got the ios version to work but when I try to build and run the android version I get the following:

* What went wrong:
Could not determine the dependencies of task ':app:processDebugResources'.
> Could not resolve all dependencies for configuration ':app:debugRuntimeClasspath'.
   > Could not find com.quickblox:quickblox-android-sdk-messages:4.1.2.
     Searched in the following locations:
       - https://oss.sonatype.org/content/repositories/snapshots/com/quickblox/quickblox-android-sdk-messages/4.1.2/quickblox-android-sdk-messages-4.1.2.pom - https://repo.maven.apache.org/maven2/com/quickblox/quickblox-android-sdk-messages/4.1.2/quickblox-android-sdk-messages-4.1.2.pom - file:/Users/user/Projects/organisation/app_2024/node_modules/jsc-android/dist/com/quickblox/quickblox-android-sdk-messages/4.1.2/quickblox-android-sdk-messages-4.1.2.pom - https://dl.google.com/dl/android/maven2/com/quickblox/quickblox-android-sdk-messages/4.1.2/quickblox-android-sdk-messages-4.1.2.pom - https://www.jitpack.io/com/quickblox/quickblox-android-sdk-messages/4.1.2/quickblox-android-sdk-messages-4.1.2.pom - file:/Users/user/Projects/organisation/app_2024/node_modules/react-native/android/com/quickblox/quickblox-android-sdk-messages/4.1.2/quickblox-android-sdk-messages-4.1.2.pom
  Required by:
  project :app > project :quickblox-react-native-sdk
  > Could not find com.quickblox:quickblox-android-sdk-chat:4.1.2.
  > Searched in the following locations:
      - https://oss.sonatype.org/content/repositories/snapshots/com/quickblox/quickblox-android-sdk-chat/4.1.2/quickblox-android-sdk-chat-4.1.2.pom
      - https://repo.maven.apache.org/maven2/com/quickblox/quickblox-android-sdk-chat/4.1.2/quickblox-android-sdk-chat-4.1.2.pom
      - file:/Users/user/Projects/organisation/app_2024/node_modules/jsc-android/dist/com/quickblox/quickblox-android-sdk-chat/4.1.2/quickblox-android-sdk-chat-4.1.2.pom
      - https://dl.google.com/dl/android/maven2/com/quickblox/quickblox-android-sdk-chat/4.1.2/quickblox-android-sdk-chat-4.1.2.pom
      - https://www.jitpack.io/com/quickblox/quickblox-android-sdk-chat/4.1.2/quickblox-android-sdk-chat-4.1.2.pom
      - file:/Users/user/Projects/organisation/app_2024/node_modules/react-native/android/com/quickblox/quickblox-android-sdk-chat/4.1.2/quickblox-android-sdk-chat-4.1.2.pom
  Required by:
  project :app > project :quickblox-react-native-sdk
  > Could not find com.quickblox:quickblox-android-sdk-content:4.1.2.
  > Searched in the following locations:
      - https://oss.sonatype.org/content/repositories/snapshots/com/quickblox/quickblox-android-sdk-content/4.1.2/quickblox-android-sdk-content-4.1.2.pom
      - https://repo.maven.apache.org/maven2/com/quickblox/quickblox-android-sdk-content/4.1.2/quickblox-android-sdk-content-4.1.2.pom
      - file:/Users/user/Projects/organisation/app_2024/node_modules/jsc-android/dist/com/quickblox/quickblox-android-sdk-content/4.1.2/quickblox-android-sdk-content-4.1.2.pom
      - https://dl.google.com/dl/android/maven2/com/quickblox/quickblox-android-sdk-content/4.1.2/quickblox-android-sdk-content-4.1.2.pom
      - https://www.jitpack.io/com/quickblox/quickblox-android-sdk-content/4.1.2/quickblox-android-sdk-content-4.1.2.pom
      - file:/Users/user/Projects/organisation/app_2024/node_modules/react-native/android/com/quickblox/quickblox-android-sdk-content/4.1.2/quickblox-android-sdk-content-4.1.2.pom
  Required by:
  project :app > project :quickblox-react-native-sdk
  > Could not find com.quickblox:quickblox-android-sdk-customobjects:4.1.2.
  > Searched in the following locations:
      - https://oss.sonatype.org/content/repositories/snapshots/com/quickblox/quickblox-android-sdk-customobjects/4.1.2/quickblox-android-sdk-customobjects-4.1.2.pom
      - https://repo.maven.apache.org/maven2/com/quickblox/quickblox-android-sdk-customobjects/4.1.2/quickblox-android-sdk-customobjects-4.1.2.pom
      - file:/Users/user/Projects/organisation/app_2024/node_modules/jsc-android/dist/com/quickblox/quickblox-android-sdk-customobjects/4.1.2/quickblox-android-sdk-customobjects-4.1.2.pom
      - https://dl.google.com/dl/android/maven2/com/quickblox/quickblox-android-sdk-customobjects/4.1.2/quickblox-android-sdk-customobjects-4.1.2.pom
      - https://www.jitpack.io/com/quickblox/quickblox-android-sdk-customobjects/4.1.2/quickblox-android-sdk-customobjects-4.1.2.pom
      - file:/Users/user/Projects/organisation/app_2024/node_modules/react-native/android/com/quickblox/quickblox-android-sdk-customobjects/4.1.2/quickblox-android-sdk-customobjects-4.1.2.pom
  Required by:
  project :app > project :quickblox-react-native-sdk
  > Could not find com.quickblox:quickblox-android-sdk-videochat-webrtc:4.1.2.
  > Searched in the following locations:
      - https://oss.sonatype.org/content/repositories/snapshots/com/quickblox/quickblox-android-sdk-videochat-webrtc/4.1.2/quickblox-android-sdk-videochat-webrtc-4.1.2.pom
      - https://repo.maven.apache.org/maven2/com/quickblox/quickblox-android-sdk-videochat-webrtc/4.1.2/quickblox-android-sdk-videochat-webrtc-4.1.2.pom
      - file:/Users/user/Projects/organisation/app_2024/node_modules/jsc-android/dist/com/quickblox/quickblox-android-sdk-videochat-webrtc/4.1.2/quickblox-android-sdk-videochat-webrtc-4.1.2.pom
      - https://dl.google.com/dl/android/maven2/com/quickblox/quickblox-android-sdk-videochat-webrtc/4.1.2/quickblox-android-sdk-videochat-webrtc-4.1.2.pom
      - https://www.jitpack.io/com/quickblox/quickblox-android-sdk-videochat-webrtc/4.1.2/quickblox-android-sdk-videochat-webrtc-4.1.2.pom
      - file:/Users/user/Projects/organisation/app_2024/node_modules/react-native/android/com/quickblox/quickblox-android-sdk-videochat-webrtc/4.1.2/quickblox-android-sdk-videochat-webrtc-4.1.2.pom

     Required by:
         project :app > project :quickblox-react-native-sdk

SDK Version: 0.10.0 React Native Version: 0.74.5 Expo Version: ~51.0.34

Expected Result:

Current Result:

IlliaChemolosov commented 5 days ago

@Taziva Hello,

That’s correct. Our SDK currently does not support Expo. In this case, the easiest solution is to create a regular React Native project instead. The good news is that we are actively working on adding Expo support. Once it’s ready, I’ll inform you which version will include it.

Taziva commented 11 hours ago

@IlliaChemolosov ah okay it's a bit of a drawback on development since expo is big part of the react-native eco-system these days and highly recommended in the docs. Any idea when expo support will be ready?