OiO.lk Community platform!

Oio.lk is an excellent forum for developers, providing a wide range of resources, discussions, and support for those in the developer community. Join oio.lk today to connect with like-minded professionals, share insights, and stay updated on the latest trends and technologies in the development field.
  You need to log in or register to access the solved answers to this problem.
  • You have reached the maximum number of guest views allowed
  • Please register below to remove this limitation

sharedArrayBuffer conflict with firebase & CORS headers

  • Thread starter Thread starter hugger
  • Start date Start date
H

hugger

Guest
I am able to get sharedArrayBuffer to work on mobile browsers with the following code in my htaccess (desktop works fine):

Code:
<IfModule mod_headers.c>
     Header set Cross-Origin-Embedder-Policy "require-corp"
     Header set Cross-Origin-Opener-Policy "same-origin"
</IfModule>

But, with the following code I am unable to get firebase data to load.

I cant seem to find what the conflict is and hope somebody can help me resolve this.
<p>I am able to get sharedArrayBuffer to work on mobile browsers with the following code in my htaccess (desktop works fine):</p>
<pre><code><IfModule mod_headers.c>
Header set Cross-Origin-Embedder-Policy "require-corp"
Header set Cross-Origin-Opener-Policy "same-origin"
</IfModule>
</code></pre>
<p>But, with the following code I am unable to get firebase data to load.</p>
<p>I cant seem to find what the conflict is and hope somebody can help me resolve this.</p>
Continue reading...
 

Latest posts

Top