didomi / react-native

Didomi SDK for React Native
Other
9 stars 2 forks source link

Android SDK 34 #123

Closed cfadeuilhe closed 4 months ago

cfadeuilhe commented 4 months ago

Hello. Could you add the property 'namespace' in you Android build.gradle, to be compatible with Android SDK 34 ?

android { namespace 'com.reactnativedidomi' ... }

From end of August, we will not be able to publish any Android app if we do not target version 34 of Android SDK, so I am updating my company's app and I get this error:

A problem occurred configuring project ':didomi_react-native'. Could not create an instance of type com.android.build.api.variant.impl.LibraryVariantBuilderImpl. Namespace not specified. Specify a namespace in the module's build file. See https://d.android.com/r/tools/upgrade-assistant/set-namespace for information about setting the namespace.

I am using @didomi/react-native last version 2.5.0

Hope it's clear enough. Thanks in advance

nicolas-chaix-didomi commented 3 months ago

Hello @cfadeuilhe the fix is available with https://github.com/didomi/react-native/releases/tag/2.6.0