Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@mendix/mendix-hybrid-app-base

Package Overview
Dependencies
Maintainers
0
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mendix/mendix-hybrid-app-base

Mendix PhoneGap Build base package

  • 9.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
8
decreased by-89.74%
Maintainers
0
Weekly downloads
 
Created
Source

Mendix PhoneGap / Cordova hybrid app base package

This repository contains the core files needed to build a Phonegap package for your Mendix application. It consists of two main parts:

  • The core source files for the hybrid app
  • The webpack configuration that is used during the build process

You should not use this package directly. Instead, refer to the Mendix PhoneGap / Cordova hybrid app template for instructions on how to customize and build your Mendix hybrid mobile app.

Building a templated Phonegap Build package

This project can be used to create a templated Phonegap Build package, as used within the Mobile Publish flow of the Mendix Portal.

Prerequisites

  • Recent Node.js. This code was tested with version 20. You can check by running node -v.
    • Windows: install from nodejs.org
    • MacOS: use Brew to install Node.js: brew install node
    • Linux, BSD, etc: install using the available package manager, e.g. on Debian: sudo apt-get install node
  • To customize the runtime behavior, include the following configuration: Set com.mendix.core.SameSiteCookies to None in Studio Pro.
  • Deploy and test the application using HTTPS.
  • The scheme configuration in config.xml should not be changed to any value other than app for iOS.

Build

$ npm install                       # install dependencies
$ npm run appbase                   # create templated PGB package in `dist`

Mendix-specific forks of Cordova/Phonegap plugins

Mendix hybrid apps include a number of plugins by default. These plugins have been created by the Cordova/Phonegap community. For some of these plugins, we have created Mendix-specific forks. The reason for creating a fork varies per plugin. The list below outlines the details per forked plugin.

cordova-plugin-wkwebview-engine

We implemented XHR request handling using native code, while keeping support for cookies.

cordova-sqlite-storage

We included the SQLite native libraries.

phonegap-launch-navigator

We added support for cordova-android 7+.

phonegap-plugin-push

We unpinned the version of the Android support v13 library.

cordova-plugin-secure-storage

We added support for Android 10

FAQs

Package last updated on 07 Nov 2024

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc