qonversion / react-native-sdk

React Native SDK for cross-platform in-app purchase and subscription infrastructure, revenue analytics, engagement automation, and integrations

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Plugin with id 'maven' not found.

alz10 opened this issue · comments

commented

Any update to support RN 0.67+

1: Task failed with an exception.
-----------
* Where:
Build file '/Users/user/Desktop/testapp (v0.67.3) - (v1)/testapp/node_modules/react-native-qonversion/android/build.gradle' line: 23

* What went wrong:
A problem occurred evaluating project ':react-native-qonversion'.
> Plugin with id 'maven' not found.
==============================================================================
2: Task failed with an exception.
-----------
* What went wrong:
A problem occurred configuring project ':react-native-qonversion'.
> com.android.builder.errors.EvalIssueException: compileSdkVersion is not specified. Please add it to build.gradle

Hello! Thanks for contacting us!

It seems like described problem relates to gradle 7+, where maven plugin was removed. We will get rid of it in our SDK soon - have already taken this task to work, but for now, you can downgrade your gradle version to some version below 7 to make it compile successfully.

Happy to inform you that we've just released the new version of react-native-qonversion library (3.2.1) without maven plugin. Please, try it and feel free to contact us if you face any problems.

commented

Happy to inform you that we've just released the new version of react-native-qonversion library (3.2.1) without maven plugin. Please, try it and feel free to contact us if you face any problems.

Ok I'll try later

commented

It's working now. Thanks!