Le mardi 02 décembre 2014 à 09:41 +0000, Bumjin Im a écrit : > Well, I'm not a web guy so I cannot say anything for sure about service > worker or whatever and I didn't meant it's the web runtime issue anyway. I > was simply saying customers want this feature and need to discuss in detail. > The reason why they want the hybrid app is not my subject I think, it should > be discussed with web/native folks. > If it's okay to be discussed, what I wanted to ask you guys were for example, > how the package should look like (2 speparated pkg? or 1 pkg both apps > inside?), how it should be sandboxed(different sandbox and allowing IPC? or > same sandbox?), or how we can manage privileges, and so on. > > Bumjin
Hi, I would like to add: if there is only one package having several applications (mixed native, web, ...) should we modify the specification of "tizen-manifest.xml" to allow setting privileges by application and not only by package? And if yes, how to simplify the user interface when granting privileges at installation? I would propose to improve packaging by setting privilege application by application in the same package and validating the whole set in once at installation. I know that the guys of Samsung working on the store have made a great job and they are checking consistency of the privilege requested by applications. Could it be improved app by app inside a same package? BR José > > ------- Original Message ------- > Sender : Kis, Zoltan<[email protected]> > Date : 2014-12-02 17:59 (GMT+09:00) > Title : Re: Re: [Dev] Question about Crosswalk and hybrid apps > > Nothing prevents anyone from deploying a platform service which can > communicate both with native apps and native web extensions using the > same IPC, and then deploy either a native or web front-ent. This > should be the case of regulatory HW-specific API's such as telephony, > cellular messaging, Bluetooth, NFC, etc. > > For those apps which would like to deploy a generic "service run as an > app", without being part of the platform, they need a native IPC layer > to communicate with graphical front-ends (and the permissions needed > to use the underlying API's). This communication mechanism can be > app-private, or public platform-wide IPC, but one thing is sure: it > does not belong to the web runtime. In that sense Crosswalk does > support this model, since it provides al mechanisms to deploy native > extensions together with web apps. Existing web permissions should > cover it, but if we speak about a new platform wide IPC designed for > this, then we could add a special permission to it. Of course, the > platform security model needs to support it to start with. > > Note that these apps (mostly games) tend to have a memory footprint > comparable to a web app, and it depends on case by case whether the > resource gain is significant enough for the additional trouble and > extra IPC hop, which may undermine the benefits. Also, check how many > things run smoothly in a browser (especially games) that 3 years ago > we didn't think they would. However, once I expect developers reserve > the right to know better, I agree we should document the mechanism how > to achieve this in Tizen. But again, I don't see this as a web runtime > specific mechanism, just as a best-known-method description using > existing runtime mechanisms. > > Regards, > Zoltan > > On Tue, Dec 2, 2014 at 3:55 AM, Bumjin Im wrote: > > Since I'm not a web guy so not sure about it but as far as I know Service > > Workers are not fulfilling the requirements of hybrid app. > > There are mainly 2 reasons why Tizen 2.x supports are 1st, for service app > > and UI app that service app runs in a background always even though the UI > > app is not running, 2nd, to support *something* the web API doesn't support > > yet. > > I think running huge web apps for background listening will consumes too > > much memory for mobile devices especially smart watches. > > > > Bumjin > > > > ------- Original Message ------- > > Sender : Kis, Zoltan > > Date : 2014-12-01 21:24 (GMT+09:00) > > Title : Re: [Dev] Question about Crosswalk and hybrid apps > > > > On Mon, Dec 1, 2014 at 7:02 AM, Bumjin Im wrote: > >> I'm not sure but hybrid app is not only for speeding, but also for some > >> service style apps (such as messanger) that need to support continuous > >> operation. As far as I know many app developers demand such feature. > >> In fact, I don't know Crosswalk extension can support those "service" apps. > > > > Service workers are meant to solve that use case in browsers and > > runtimes. So one can develop a web message app or a web dialer, since > > it will be able to run a service worker in the background and wake up > > the front-end app when needed. > > http://www.w3.org/TR/2014/WD-service-workers-20141118/ > > > > Best regards, > > Zoltan _______________________________________________ Dev mailing list [email protected] https://lists.tizen.org/listinfo/dev
