GithubHelp home page GithubHelp logo

Webview on desktop about ion HOT 10 CLOSED

ionorg avatar ionorg commented on May 3, 2024
Webview on desktop

from ion.

Comments (10)

adwpc avatar adwpc commented on May 3, 2024

the webview access may be the same as the desktop

from ion.

winwisely99 avatar winwisely99 commented on May 3, 2024

SO on Desktop, Webview does or DOES NOT have access to the camera and mic ?

from ion.

cloudwebrtc avatar cloudwebrtc commented on May 3, 2024

Maybe using Flutter Web + Electron is another possible solution.

from ion.

winwisely99 avatar winwisely99 commented on May 3, 2024

There is a great Webview that golang can use and cpp can use without all the Electron heaviness !

https://github.com/zserge/webview/tree/webview-x

From the Go-flutter code we would just need to open a Window that uses this and load the Flutter Web into it.

Do you want to try ?

from ion.

cloudwebrtc avatar cloudwebrtc commented on May 3, 2024

@winwisely99 Yes i want to try it out, is it possible to call webrtc api completely

from ion.

winwisely99 avatar winwisely99 commented on May 3, 2024

As per discussion the best approach for now seems to be:

https://github.com/asticode/go-astilectron

A Make file ( or other ) using this approach here:
https://github.com/pion/ion/tree/master/sdk/flutter/example

from ion.

winwisely99 avatar winwisely99 commented on May 3, 2024

I think this should be brought forward because it is important we know this works ASAP.

from ion.

winwisely99 avatar winwisely99 commented on May 3, 2024

But what about Notifications and Deeplinking ?

  • From Golang its pretty easy to do both, but need to make sure it

But what about Dialogs ? Might suck on Web. Lets see.

from ion.

cloudwebrtc avatar cloudwebrtc commented on May 3, 2024

But what about Notifications and Deeplinking ?

  • From Golang its pretty easy to do both, but need to make sure it

But what about Dialogs ? Might suck on Web. Lets see.

I think this example is only used to show running Flutter Web app based on go-astilectron and package it into a Desktop App
Golang interaction with Flutter Web (JS) is another question because ION-based clients do not need to interact with golang on the client-side, you can refer to
https://github.com/asticode/go-astilectron-demo/blob/master/message.go#L18

from ion.

joe-getcouragenow avatar joe-getcouragenow commented on May 3, 2024

SO summary is that ASTI Electron is unsuitable because of how it works.
It unpacks the Electron Framework files at install time ! SO you cant sign it. Its really a hack design IMHO.

The way to fix it is to embed those Framework files into the Desktop at compile time !

  • then the ASTI golang code should still work call it
  • then hover bundler will include the Electron Framework files when it packages things

from ion.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.