Describe the bug
After updating @stripe/stripe-terminal-react-native from v0.0.1-beta.13 to v0.0.1-beta.14, the project fails to compile with the following error: package undefined does not exist - StripeTerminalReactNativePackage in PackageList.java. Gradle deprecation warnings also appear.
To Reproduce
Update @stripe/stripe-terminal-react-native to v0.0.1-beta.14
Rebuild the project
Observe the compilation error in :app:compileDebugJavaWithJavac
Expected behavior
The project should compile without errors after updating the package.
Investigation Details
The error refers to an import statement (import undefined.StripeTerminalReactNativePackage) that doesn't exist in our MainApplication.java
Beta.13 works perfectly with auto-linking and doesn't add this import
The import appears to be automatically injected during the build process in beta.14
Manual linking attempts did not resolve the issue
The issue appears to be with beta.14's auto-linking configuration generating incorrect package paths
Stripe Terminal React Native SDK version
v0.0.1-beta.14
Additional context
React Native version: 0.67.3
Gradle version: 7.6.1
Java version: 11
Would you like me to add or modify anything else in the bug report?
Describe the bug
After updating
@stripe/stripe-terminal-react-native
fromv0.0.1-beta.13
tov0.0.1-beta.14
, the project fails to compile with the following error:package undefined does not exist - StripeTerminalReactNativePackage
inPackageList.java
. Gradle deprecation warnings also appear.To Reproduce
@stripe/stripe-terminal-react-native
tov0.0.1-beta.14
:app:compileDebugJavaWithJavac
Expected behavior
The project should compile without errors after updating the package.
Investigation Details
import undefined.StripeTerminalReactNativePackage
) that doesn't exist in our MainApplication.javaStripe Terminal React Native SDK version
v0.0.1-beta.14
Additional context
Would you like me to add or modify anything else in the bug report?