mattermost / mattermost/react-native-emm

Integration with a existing project

Open
#16 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Swift
Stars
18
Forks
7
Avg merge
1h 52m
Merged PRs (30d)
1

Description

Hello,
I tried to integrate in a react native project but I faced the following issue:

Execution failed for task ':mattermost_react-native-emm:compileDebugKotlin'.
> Inconsistent JVM-target compatibility detected for tasks 'compileDebugJavaWithJavac' (11) and 'compileDebugKotlin' (17).

Despite of the attempts with compileOptions it was difficult to run. The example runs ok. Any ideas?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the integration in a React Native project and inspect the compileDebugJavaWithJavac and compileDebugKotlin tasks named in the error. Compare the package's JVM targets with the working example; done means the existing project builds successfully without the inconsistent-target failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, kotlin, react-native
Domain
build-system, mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.