Anonymous
Expo SDK 52 React Native Firebase Phone Authentication не работает в iOS
Сообщение
Anonymous » 17 июн 2025, 06:42
У меня есть приложение REACT Native Expo Managed (SDK 53)
Я использую @React-C-FireBase /Auth SignInWithPhoneNumber (). В Android все работает нормально. Но в iOS я получаю эту ошибку < /p>
Код: Выделить всё
Error: [auth/internal-error] An internal error has occurred, please try again.
< /code>
вот мой содержимое файла package.json < /p>
{
"name": "myapp",
"version": "2.85.3",
"main": "node_modules/expo/AppEntry.js",
"scripts": {
"start": "expo start",
"android": "expo start --android",
"ios": "expo start --ios",
"web": "expo start --web",
"postinstall": "patch-package"
},
"dependencies": {
"@expo/vector-icons": "^14.0.2",
"@pusher/pusher-websocket-react-native": "^1.3.1",
"@react-native-async-storage/async-storage": "1.23.1",
"@react-native-community/datetimepicker": "8.2.0",
"@react-native-community/netinfo": "11.4.1",
"@react-native-community/slider": "4.5.5",
"@react-native-firebase/app": "^22.2.0",
"@react-native-firebase/auth": "^22.2.0",
"@react-native-google-signin/google-signin": "^14.0.1",
"@react-native-masked-view/masked-view": "0.3.2",
"@react-navigation/bottom-tabs": "^6.4.0",
"@react-navigation/drawer": "^6.5.0",
"@react-navigation/native": "^6.0.13",
"@react-navigation/native-stack": "^6.9.0",
"@react-navigation/stack": "^6.3.2",
"@stripe/stripe-react-native": "0.38.6",
"apisauce": "^3.0.1",
"date-fns": "^3.6.0",
"dayjs": "^1.11.10",
"deprecated-react-native-prop-types": "^5.0.0",
"expo": "^52.0.32",
"expo-apple-authentication": "~7.1.3",
"expo-build-properties": "~0.13.2",
"expo-constants": "~17.0.5",
"expo-dev-client": "~5.0.11",
"expo-device": "~7.0.2",
"expo-document-picker": "~13.0.2",
"expo-font": "~13.0.3",
"expo-image-picker": "~16.0.5",
"expo-linear-gradient": "~14.0.2",
"expo-linking": "~7.0.5",
"expo-localization": "~16.0.1",
"expo-location": "~18.0.5",
"expo-notifications": "~0.29.13",
"expo-splash-screen": "~0.29.21",
"expo-status-bar": "~2.0.1",
"expo-tracking-transparency": "~5.1.1",
"expo-updates": "~0.26.16",
"formik": "^2.2.9",
"html-entities": "^2.3.3",
"lodash": "^4.17.21",
"lottie-react-native": "7.1.0",
"mime": "^3.0.0",
"moment": "^2.29.4",
"moment-timezone": "^0.5.41",
"patch-package": "^8.0.0",
"postinstall-postinstall": "^2.1.0",
"qs": "^6.13.1",
"react": "18.3.1",
"react-native": "0.76.7",
"react-native-calendar-picker": "^8.0.2",
"react-native-calendar-range-picker": "^1.6.0",
"react-native-calendars": "^1.1304.1",
"react-native-draggable-flatlist": "^4.0.1",
"react-native-fbsdk-next": "^13.4.1",
"react-native-geocoding": "^0.5.0",
"react-native-gesture-handler": "~2.20.2",
"react-native-google-mobile-ads": "^14.9.0",
"react-native-linear-gradient": "^2.8.3",
"react-native-maps": "1.18.0",
"react-native-phone-number-input": "^2.1.0",
"react-native-progress": "^5.0.0",
"react-native-razorpay": "^2.3.0",
"react-native-read-more-text": "^1.1.2",
"react-native-reanimated": "~3.16.1",
"react-native-reanimated-zoom": "^0.3.3",
"react-native-safe-area-context": "4.12.0",
"react-native-screens": "~4.4.0",
"react-native-select-dropdown": "^4.0.1",
"react-native-skeleton-placeholder": "^5.2.4",
"react-native-svg": "15.8.0",
"react-native-webview": "13.12.5",
"react-native-youtube-iframe": "^2.2.2",
"reanimated-color-picker": "^3.0.6",
"typescript": "^5.3.0",
"yup": "^0.32.11",
"zustand": "^5.0.1"
},
"devDependencies": {
"@babel/core": "^7.25.2"
},
"private": true
}
Я добавил «@React-cinativebase/app» & "@React-cinativebase/auth" в массиве плагинов в файле app.json.
Я также добавил ключ аутентификации APN в консоли Firebase.
Пожалуйста, помогите мне. Я застрял здесь больше недели. Это действительно поможет, если кто -нибудь сможет показать мне исправление.
Подробнее здесь:
https://stackoverflow.com/questions/796 ... ing-in-ios
1750131768
Anonymous
У меня есть приложение REACT Native Expo Managed (SDK 53) Я использую @React-C-FireBase /Auth SignInWithPhoneNumber (). В Android все работает нормально. Но в iOS я получаю эту ошибку < /p> [code]Error: [auth/internal-error] An internal error has occurred, please try again. < /code> вот мой содержимое файла package.json < /p> { "name": "myapp", "version": "2.85.3", "main": "node_modules/expo/AppEntry.js", "scripts": { "start": "expo start", "android": "expo start --android", "ios": "expo start --ios", "web": "expo start --web", "postinstall": "patch-package" }, "dependencies": { "@expo/vector-icons": "^14.0.2", "@pusher/pusher-websocket-react-native": "^1.3.1", "@react-native-async-storage/async-storage": "1.23.1", "@react-native-community/datetimepicker": "8.2.0", "@react-native-community/netinfo": "11.4.1", "@react-native-community/slider": "4.5.5", "@react-native-firebase/app": "^22.2.0", "@react-native-firebase/auth": "^22.2.0", "@react-native-google-signin/google-signin": "^14.0.1", "@react-native-masked-view/masked-view": "0.3.2", "@react-navigation/bottom-tabs": "^6.4.0", "@react-navigation/drawer": "^6.5.0", "@react-navigation/native": "^6.0.13", "@react-navigation/native-stack": "^6.9.0", "@react-navigation/stack": "^6.3.2", "@stripe/stripe-react-native": "0.38.6", "apisauce": "^3.0.1", "date-fns": "^3.6.0", "dayjs": "^1.11.10", "deprecated-react-native-prop-types": "^5.0.0", "expo": "^52.0.32", "expo-apple-authentication": "~7.1.3", "expo-build-properties": "~0.13.2", "expo-constants": "~17.0.5", "expo-dev-client": "~5.0.11", "expo-device": "~7.0.2", "expo-document-picker": "~13.0.2", "expo-font": "~13.0.3", "expo-image-picker": "~16.0.5", "expo-linear-gradient": "~14.0.2", "expo-linking": "~7.0.5", "expo-localization": "~16.0.1", "expo-location": "~18.0.5", "expo-notifications": "~0.29.13", "expo-splash-screen": "~0.29.21", "expo-status-bar": "~2.0.1", "expo-tracking-transparency": "~5.1.1", "expo-updates": "~0.26.16", "formik": "^2.2.9", "html-entities": "^2.3.3", "lodash": "^4.17.21", "lottie-react-native": "7.1.0", "mime": "^3.0.0", "moment": "^2.29.4", "moment-timezone": "^0.5.41", "patch-package": "^8.0.0", "postinstall-postinstall": "^2.1.0", "qs": "^6.13.1", "react": "18.3.1", "react-native": "0.76.7", "react-native-calendar-picker": "^8.0.2", "react-native-calendar-range-picker": "^1.6.0", "react-native-calendars": "^1.1304.1", "react-native-draggable-flatlist": "^4.0.1", "react-native-fbsdk-next": "^13.4.1", "react-native-geocoding": "^0.5.0", "react-native-gesture-handler": "~2.20.2", "react-native-google-mobile-ads": "^14.9.0", "react-native-linear-gradient": "^2.8.3", "react-native-maps": "1.18.0", "react-native-phone-number-input": "^2.1.0", "react-native-progress": "^5.0.0", "react-native-razorpay": "^2.3.0", "react-native-read-more-text": "^1.1.2", "react-native-reanimated": "~3.16.1", "react-native-reanimated-zoom": "^0.3.3", "react-native-safe-area-context": "4.12.0", "react-native-screens": "~4.4.0", "react-native-select-dropdown": "^4.0.1", "react-native-skeleton-placeholder": "^5.2.4", "react-native-svg": "15.8.0", "react-native-webview": "13.12.5", "react-native-youtube-iframe": "^2.2.2", "reanimated-color-picker": "^3.0.6", "typescript": "^5.3.0", "yup": "^0.32.11", "zustand": "^5.0.1" }, "devDependencies": { "@babel/core": "^7.25.2" }, "private": true } [/code] Я добавил «@React-cinativebase/app» & "@React-cinativebase/auth" в массиве плагинов в файле app.json. Я также добавил ключ аутентификации APN в консоли Firebase. Пожалуйста, помогите мне. Я застрял здесь больше недели. Это действительно поможет, если кто -нибудь сможет показать мне исправление. Подробнее здесь: [url]https://stackoverflow.com/questions/79628567/expo-sdk-52-react-native-firebase-phone-authentication-not-working-in-ios[/url]