Skip to content

support to Expo #486

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

Merged
merged 4 commits into from
Apr 9, 2025
Merged

support to Expo #486

merged 4 commits into from
Apr 9, 2025

Conversation

bozaigao
Copy link
Contributor

@bozaigao bozaigao commented Apr 7, 2025

support to Expo.

apply plugin: 'com.android.library'
if (isNewArchitectureEnabled()) {
apply plugin: 'com.facebook.react'
}

if (expoProject) {
group = 'expo.modules.pushy'
version = '1.0.0'
Copy link
Contributor

Choose a reason for hiding this comment

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

这个version应该可以从package.json中读取吧

Copy link
Contributor Author

Choose a reason for hiding this comment

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

expo.modules.pushy属于native代码,不应该读取package.json里面的版本号吧,这里的逻辑借鉴的是
group = 'cn.reactnative.modules.update'
version = '1.0.0'

Copy link
Contributor

Choose a reason for hiding this comment

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

应该统一版本号,不过不是很重要,以后再说吧

.nvmrc Outdated
@@ -0,0 +1 @@
18
Copy link
Contributor

Choose a reason for hiding this comment

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

这两个nvmrc文件去掉吧

yarn.lock Outdated
Copy link
Contributor

Choose a reason for hiding this comment

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

yarn lock文件去掉,这边的仓库目前统一用bun

@sunnylqm sunnylqm merged commit 0e077b1 into reactnativecn:master Apr 9, 2025
1 check failed
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.

2 participants