跳转到内容
View in the app

A better way to browse. Learn more.

彼岸论坛

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
欢迎抵达彼岸 彼岸花开 此处谁在 -彼岸论坛

[前端开发] expo 是好用,但是在 expo app 里运行和独立打包 app 很多细节表现不一致

发表于
react native 开发的 demo app ,在 expo go app 中运行正常,无论是 ios simulator 还是 iphone 真机.
但是无论是本地 xcode 打包还是通过 eas 打包后安装到打开开发者模式的真机上,部分功能不正常:如某些 css 不生效,部分网络请求无法发起,也不报错,点击图片放大屏幕卡死等,准确的说是 expo 中怎么都正常,独立打包 app 有些功能无法使用,应该如何排查问题?

css 如下
const styles = StyleSheet.create({
avatar: {
width: 48, // 12 * 4 (base size in Tailwind CSS is 4)
height: 48, // 12 * 4 (base size in Tailwind CSS is 4)
borderRadius: 24, // 50% of width/height to make it fully rounded
},
});
应该是圆形,但是打包后显示是正方形

Featured Replies

没有可显示的帖子

创建帐户或登录来提出意见

Account

导航

搜索

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.