A Flutter wrapper to use the SumUp SDK. With this plugin, your app can easily connect to a SumUp terminal, login and accept card payments on Android and iOS.
When trying to build my app with AGP version 8.x and targetSdkVersion 34 i get this error:
A problem occurred configuring project ':sumup'.
> 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: /Users/valley/.pub-cache/hosted/pub.dev/sumup-0.9.0/android/build.gradle. See https://d.android.com/r/tools/upgrade-assistant/set-namespace for information about setting the namespace.
If you've specified the package attribute in the source AndroidManifest.xml, you can use the AGP Upgrade Assistant to migrate to the namespace value in the build file. Refer to https://d.android.com/r/tools/upgrade-assistant/agp-upgrade-assistant for general information about using the AGP Upgrade Assistant.
What's missing is a namespace entry in android/build.gradle like this:
android {
namespace "io.purplesoft.sumup"
...
}
Could you please add this missing part?
Thanks a lot.
When trying to build my app with AGP version 8.x and targetSdkVersion 34 i get this error:
What's missing is a namespace entry in android/build.gradle like this:
Could you please add this missing part? Thanks a lot.