xmartlabs / react-native-line

Line SDK wrapper for React Native 🚀
MIT License
121 stars 86 forks source link

The 'kotlin-android-extensions' Gradle plugin is no longer supported. Please use this migration guide (https://goo.gle/kotlin-android-extensions-deprecation) to start working with View Binding (https://developer.android.com/topic/libraries/view-binding) and the 'kotlin-parcelize' plugin. #125

Open LucasWilliams2622 opened 3 months ago

LucasWilliams2622 commented 3 months ago

My environment

npx react-native info

WARNING: You should run npx react-native@latest to ensure you're always using the most current version of the CLI. NPX has cached version (0.73.0) != current release (0.74.3)

info Fetching system and libraries information... System: OS: macOS 14.3.1 CPU: (8) arm64 Apple M1 Memory: 75.86 MB / 16.00 GB Shell: version: "5.9" path: /bin/zsh Binaries: Node: version: 20.12.2 path: ~/.nvm/versions/node/v20.12.2/bin/node Yarn: version: 3.6.4 path: ~/Documents/GitHub/eparkrae-native-app-repo/node_modules/.bin/yarn npm: version: 10.7.0 path: ~/.nvm/versions/node/v20.12.2/bin/npm Watchman: version: 2024.04.29.00 path: /opt/homebrew/bin/watchman Managers: CocoaPods: version: 1.15.2 path: /Users/tanaakkhcm256/.rvm/gems/ruby-2.7.5/bin/pod SDKs: iOS SDK: Platforms:

You can run (react-native -v) to obtain info and paste it below:

Description

I go this error when running app in android studio, i have config app following Line's Android integration guide and i got the error about kotlin-android-extensions

Screenshots

Screenshot 2024-07-24 at 15 29 49

Steps To Reproduce

  1. Install @xmartlabs/react-native-line
  2. Add implementation 'com.linecorp.linesdk:linesdk:latest.release' in android/app/build.gradle
  3. Add compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } in android/app/build.gradle
  4. Then run your project in android studio

Expected behavior

I want to integrate Line login in my react native app

Actual behavior

The 'kotlin-android-extensions' Gradle plugin is no longer supported. Please use this migration guide (https://goo.gle/kotlin-android-extensions-deprecation) to start working with View Binding (https://developer.android.com/topic/libraries/view-binding) and the 'kotlin-parcelize' plugin.