v0.0.7
Warning
Still a PoC. 0.0.x promises no API or structural stability.
Turning push on made prebuild fail in v0.0.6. If you are on that version and use push, take this one.
What broke
enableSceneSupport in expo-build-properties@57.0.19 refuses to run once another config plugin has modified AppDelegate — and turning push on does exactly that, since RNFB inserts FirebaseApp.configure().
Error: [ios.appDelegate]: `ios.enableSceneSupport` requires the standard
Expo SDK 57 Swift AppDelegate.
Expo's announcement asks for 57.0.20, and #50210 is that bug. The floor is now ~57.0.20.
Why v0.0.6 shipped with it
Its verification ran with push off, which is the template default — no files in firebase/. Every check passed while the push path was broken, so the first app to drop in Firebase config would have found it instead.
Verified with push on
Dummy Firebase config in firebase/ to flip pushEnabled:
| 57.0.19 | 57.0.20 | |
|---|---|---|
| prebuild | fails | ✓ |
AppDelegate |
— | FirebaseApp.configure() and ExpoReactNativeFactoryProvider |
| Info.plist | — | EXExpoAppSceneDelegate |
| xcodebuild | — | BUILD SUCCEEDED, 0 errors, Firebase pods compiled |
Warning
여전히 PoC 입니다. 0.0.x 는 API·구조 안정성을 약속하지 않습니다.
v0.0.6 에서 푸시를 켜면 prebuild 가 실패했습니다. 그 버전을 쓰고 푸시를 쓰면 이걸로 올리세요.
무엇이 깨졌나
expo-build-properties@57.0.19 의 enableSceneSupport 는 AppDelegate 를 고치는 다른 플러그인이 있으면 실행을 거부합니다 — 푸시를 켜면 RNFB 가 FirebaseApp.configure() 를 넣으므로 정확히 그 경우입니다.
Error: [ios.appDelegate]: `ios.enableSceneSupport` requires the standard
Expo SDK 57 Swift AppDelegate.
Expo 공지가 57.0.20 을 요구하고(공지), #50210 이 그 버그입니다. 하한을 ~57.0.20 으로 올렸습니다.
v0.0.6 이 이걸 안고 나간 이유
검증을 푸시 OFF 로만 돌렸습니다 — firebase/ 에 파일이 없는 템플릿 기본 상태입니다. 그래서 푸시 경로가 깨진 채로 모든 검사가 통과했고, Firebase 설정을 처음 넣는 앱이 대신 발견할 상황이었습니다.
푸시 ON 으로 검증
firebase/ 에 더미 설정을 넣어 pushEnabled 를 켠 상태:
| 57.0.19 | 57.0.20 | |
|---|---|---|
| prebuild | 실패 | ✓ |
AppDelegate |
— | FirebaseApp.configure() 와 ExpoReactNativeFactoryProvider 공존 |
| Info.plist | — | EXExpoAppSceneDelegate |
| xcodebuild | — | BUILD SUCCEEDED, error 0, Firebase pods 컴파일 |