Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with Stripe Terminal Integration - Compile Error #842

Open
minon250 opened this issue Oct 31, 2024 · 1 comment
Open

Issue with Stripe Terminal Integration - Compile Error #842

minon250 opened this issue Oct 31, 2024 · 1 comment

Comments

@minon250
Copy link

minon250 commented Oct 31, 2024

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

  1. Update @stripe/stripe-terminal-react-native to v0.0.1-beta.14
  2. Rebuild the project
  3. 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?

@dmatthews-stripe
Copy link
Collaborator

Hi @minon250 are you able to upgrade to the latest version, v0.0.1-beta.22, to see if this issue still exists?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants