Coder Social home page Coder Social logo

max-prokopenko / react-native-link-preview Goto Github PK

View Code? Open in Web Editor NEW
6.0 6.0 4.0 469 KB

Get link metadata to show url preview in React Native.

License: MIT License

Kotlin 8.05% JavaScript 6.26% Java 27.09% TypeScript 16.13% Swift 0.31% Ruby 4.32% C 0.44% Objective-C 37.40%

react-native-link-preview's People

Contributors

max-prokopenko avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

react-native-link-preview's Issues

Could not find io.github.ponnamkarthik:richlinkpreview:1.0.9.

Seems to be a problem resolving richlinkpreview in RN 0.71

android/build.gradle

// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {
    ext {
        // googlePlayServicesVersion = "18.+"
        buildToolsVersion = "33.0.0"
        minSdkVersion = 23
        compileSdkVersion = 33
        targetSdkVersion = 33
        supportLibVersion = "28.0.0"
        androidMapsUtilsVersion = "0.5+"
        kotlinVersion = "1.5.20"
        ndkVersion = "23.1.7779620"
    }
    dependencies {
        classpath("com.android.tools.build:gradle:7.3.1")
        classpath("com.facebook.react:react-native-gradle-plugin")
        classpath("com.google.gms:google-services:4.3.10")
        classpath("de.undercouch:gradle-download-task:5.0.1")
        classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion")
        classpath("io.sentry:sentry-android-gradle-plugin:3.4.2")
        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }
    repositories {
        google()
        mavenCentral()
        jcenter()
    }
}

npx react-native info

System:
    OS: macOS 12.6.6
    CPU: (10) arm64 Apple M1 Max
    Memory: 99.58 MB / 32.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 18.16.0 - ~/.nvm/versions/node/v18.16.0/bin/node
    Yarn: 1.22.19 - ~/.nvm/versions/node/v18.16.0/bin/yarn
    npm: 9.5.1 - ~/.nvm/versions/node/v18.16.0/bin/npm
    Watchman: 2023.05.22.00 - /opt/homebrew/bin/watchman
  Managers:
    CocoaPods: 1.12.1 - /opt/homebrew/bin/pod
  SDKs:
    iOS SDK:
      Platforms: DriverKit 22.2, iOS 16.2, macOS 13.1, tvOS 16.1, watchOS 9.1
    Android SDK: Not Found
  IDEs:
    Android Studio: 2022.1 AI-221.6008.13.2211.9477386
    Xcode: 14.2/14C18 - /usr/bin/xcodebuild
  Languages:
    Java: 11.0.17 - /usr/bin/javac
  npmPackages:
    @react-native-community/cli: Not Found
    react: 18.2.0 => 18.2.0
    react-native: 0.71.11 => 0.71.11
    react-native-macos: Not Found
  npmGlobalPackages:
    *react-native*: Not Found

yarn android

Error: Command failed: ./gradlew app:installDebug -PreactNativeDevServerPort=8081

FAILURE: Build failed with an exception.

* What went wrong:
Could not determine the dependencies of task ':app:processDebugResources'.
> Could not resolve all task dependencies for configuration ':app:debugRuntimeClasspath'.
   > Could not find io.github.ponnamkarthik:richlinkpreview:1.0.9.
     Searched in the following locations:
       - https://oss.sonatype.org/content/repositories/snapshots/io/github/ponnamkarthik/richlinkpreview/1.0.9/richlinkpreview-1.0.9.pom
       - https://repo.maven.apache.org/maven2/io/github/ponnamkarthik/richlinkpreview/1.0.9/richlinkpreview-1.0.9.pom
       - file:/Users/jamesholcomb/code/ra/node_modules/jsc-android/dist/io/github/ponnamkarthik/richlinkpreview/1.0.9/richlinkpreview-1.0.9.pom
       - https://dl.google.com/dl/android/maven2/io/github/ponnamkarthik/richlinkpreview/1.0.9/richlinkpreview-1.0.9.pom
       - https://www.jitpack.io/io/github/ponnamkarthik/richlinkpreview/1.0.9/richlinkpreview-1.0.9.pom
       - file:/Users/jamesholcomb/code/ra/node_modules/@notifee/react-native/android/libs/io/github/ponnamkarthik/richlinkpreview/1.0.9/richlinkpreview-1.0.9.pom
     Required by:
         project :app > project :lowkey_react-native-link-preview

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.