Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

148
Views
Expo: al navegar a la configuración de IOS a través de la vinculación, se genera un error

Estoy tratando de enviar al usuario a la configuración de IOS de mi aplicación usando el enlace de exposición:

El componente:

 <Card disabled={true}> <Text>{isSettingModalOpen}</Text> <Button onPress={() => setIsSettingModalOpen(null)}> DISMISS </Button> <Button onPress={() => { openAppSettings(); }} > Go To Settings </Button> </Card>

La lógica del botón de configuración abierta:

 export const openAppSettings = async () => { try { if (Platform.OS === "ios") { await Linking.openURL("app-settings:"); } else { const pkg = Constants.manifest.releaseChannel ? Constants.manifest.android.package build : "host.exp.exponent"; await IntentLauncher.startActivityAsync( IntentLauncher.ActivityAction.APPLICATION_DETAILS_SETTINGS, { data: "package:" + pkg } ); } } catch (e) { console.log("Error -openAppSettings-", e); } };

En los dispositivos Android, este código funciona sin problemas, pero en los dispositivos IOS, cuando presionamos "ir al botón de configuración", aparece el error:

Warning: Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?

No estamos usando ninguna referencia en nuestro proyecto, por lo que agradeceríamos cualquier ayuda.

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!