Angular 15, Ionic 6, capacitor 4 iOS app, TinyMCE editor referrer header missing issue

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 -

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:

  1. Added the NSAllowsArbitraryLoads key with a value of true in the Info.plist file
  2. Added NSAppTransportSecurity and NSExceptionDomains in the Info.plist file
  3. Added “referrer_policy”: “origin” option in the editor init config
  4. Added “referrer” meta in the index.html file

And some other solutions…

How can I solve this issue? Thank you in advance.