Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

En savoir plus

Issue with .mobileconfig File Downloads on Firefox for iOS

  • 1 réponse
  • 0 a ce problème
  • 1 vue
  • Dernière réponse par Infinity__

more options

Hello, everyone!

I'm encountering a perplexing problem with downloading .mobileconfig WiFi profile files through a direct link in my ReactJS web application. This functionality works flawlessly on Google Chrome, Safari, and Edge across iPhone and iPad devices. However, when attempting the same on Firefox for iOS, the downloaded file becomes corrupted and unrecognizable as a .mobileconfig file.

The download mechanism is implemented using a simple anchor tag that points directly to the file on the server. Interestingly, only in Firefox on iOS, the content of the .mobileconfig file gets altered during the download process, leading to corruption.

I'm keen to understand why this issue is occurring specifically with Firefox on iOS and how to resolve it. Has anyone else faced a similar challenge or have any insights on how to ensure the file downloads correctly on all browsers, including Firefox on iOS? Any advice or suggestions would be greatly appreciated!

Thank you in advance for your help!

Hello, everyone! I'm encountering a perplexing problem with downloading .mobileconfig WiFi profile files through a direct link in my ReactJS web application. This functionality works flawlessly on Google Chrome, Safari, and Edge across iPhone and iPad devices. However, when attempting the same on Firefox for iOS, the downloaded file becomes corrupted and unrecognizable as a .mobileconfig file. The download mechanism is implemented using a simple anchor tag that points directly to the file on the server. Interestingly, only in Firefox on iOS, the content of the .mobileconfig file gets altered during the download process, leading to corruption. I'm keen to understand why this issue is occurring specifically with Firefox on iOS and how to resolve it. Has anyone else faced a similar challenge or have any insights on how to ensure the file downloads correctly on all browsers, including Firefox on iOS? Any advice or suggestions would be greatly appreciated! Thank you in advance for your help!

Toutes les réponses (1)

more options

Hi there, I'm sorry to hear you're having issues with Firefox for iOS. This does seem to be a rather peculiar issue.

Have you tried using the anchor (HTML <a></a> tag) in a plain site without any JavaScript? There may be some scripts detecting the use of Firefox for iOS and treating it differently.

If the above doesn't work, you can try making a CDN. The anchor tag can instead point to a page which downloads the file, instead of downloading the file directly. This may also rule out some other form of external interference.

Let me know if any of this works (or doesn't)!