I made an iOS app using Ionic 6, Capacitor 4, and Angular 15. I’m using TinyMCE editor for post content module. The issue is that TinyMCE editor shows a warning dialog of a referrer header missing in the iOS app (see issue ss here - https://i.stack.imgur.com/RYXoy.png).
It’s working ok with android app and web also.
For the editor, I used the “@tinymce/tinymce-angular”: “7.0.0” npm package.
I tried the following solutions but they didn’t work for me:
- Added the NSAllowsArbitraryLoads key with a value of true in the Info.plist file
- Added NSAppTransportSecurity and NSExceptionDomains in the Info.plist file
- Added “referrer_policy”: “origin” option in the editor init config
- Added “referrer” meta in the index.html file
And some other solutions…
How can I solve this issue? Thank you in advance.