New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@communities-webruntime/mobile

Package Overview
Dependencies
Maintainers
2
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@communities-webruntime/mobile

Communities Mobile runtime module - @webruntime/mobile module

1.66.8
latest
npm
Version published
Weekly downloads
0
Maintainers
2
Weekly downloads
 
Created
Source

@communities-webruntime/mobile

Summary

This package contains the code which generates a separate resource type (framework://lwr_mobile). This extra JavaScript resource is used to:

  • provide an eventing bridge to the native hybrid app container
  • replace some of the default behavior defined by the client-side framework. This resource is loaded automatically by the main framework when it is detected that we are in the hybrid container (AKA Mobile Publisher). The detection is done by looking for specific user agent strings which are injected by the hybrid container as well as the enablement of an org permission on the server-side.
    Some examples of some custom behavior in the hybrid container are:
  • Custom handling of links in the mobile app to not open in a new WebView
  • Custom behavior for login/logout
  • Custom routing hooks to dispatch events known by the hybrid container on route callback

FAQs

Package last updated on 02 Dec 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts