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

fix: RN 73 compatibility #1563

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

fix: RN 73 compatibility #1563

wants to merge 3 commits into from

Conversation

felipecsl
Copy link

Summary

Add new mandatory android.namespace config.

Motivation

react-native-community/discussions-and-proposals#671

Testing

App builds with RN 73 and AGP 8

Documentation

Select one:

  • I have added relevant documentation for my changes.
  • This PR does not result in any developer-facing changes.

@CLAassistant
Copy link

CLAassistant commented Nov 16, 2023

CLA assistant check
All committers have signed the CLA.

android/build.gradle Outdated Show resolved Hide resolved
Comment on lines -1 to -2
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.reactnativestripesdk">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For better backward compatibility, I recommend keeping package name here but lowering the gradle version to 7 if (agpVersion.tokenize('.')[0].toInteger() >= 7) {

This is what has been done for the most part on RN lib

@huextrat
Copy link
Contributor

@charliecruzan-stripe This is an old PR, but it would be useful to have it on a future version

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

Successfully merging this pull request may close these issues.

4 participants