holtwick / briefing

🔮 Secure direct video group chat
https://brie.fi/ng
GNU Affero General Public License v3.0
1.44k stars 240 forks source link

Cannot Run on Android WebView #135

Closed tomeroto closed 1 year ago

tomeroto commented 1 year ago

Hi friends,

I want to embed briefing to android webview, but its only show blank page.

How to fix it?

thabk you.

holtwick commented 1 year ago

Consider the iframe integration, see bullet No. 2 here https://github.com/holtwick/briefing#use-in-your-own-projects

holtwick commented 1 year ago

Or see here how to https://github.com/holtwick/briefing/tree/legacy/android

tomeroto commented 1 year ago

I was try, but error has come:

[vite] connecting... -- From line 205 of http://28.28.28.21:8080/@vite/client
[vite] connected. -- From line 285 of http://28.28.28.21:8080/@vite/client
Uncaught TypeError: Cannot read properties of null (reading 'zeed') -- From line 103 of http://28.28.28.21:8080/node_modules/.vite/deps/chunk-OPWQOTBS.js?v=fde0cec8

please help.

holtwick commented 1 year ago

So you are self-hosting? What is your setup? Docker? Did you try other browsers than Android Webview?

tomeroto commented 1 year ago

Yes I used it to self hosting, and I setup via git clone and NPM install. I try Chrome browser in android is working OK. But when I embed it to android app using webview it have blank and shown error.

holtwick commented 1 year ago

Well then please look into the Android code at https://github.com/holtwick/briefing/tree/legacy/android It might have a solution for you. Please note, https is a requirement in order to get video and audio working. Although the error message seems to point to a missing dependency. But since you already did npm install I have no further idea how to fix it. Sorry.