A bundle of R&D Platform supported widgets & nanoflow actions for building native mobile & hybrid apps.
Please visit the Mendix Docs for more information on list of available native widgets on Native Mobile Resources module.
Included nanoflow actions Category Action Authentication Biometric authentication Is biometric authentication supported Camera Save to picture library Take picture Take picture advanced Clipboard Get clipboard content Set clipboard content Network Is cellular connection Is connected Is wifi connection Notifications Cancel all scheduled notifications Cancel schedule notification Display notification Get push notification token Has notification permission Request notification permission Schedule notification Set badge number Platform Change status bar Get device info Hide keyboard Open in app browser Play sound VibratePlease visit the Mendix Docs for more information on building native mobile apps.
See CONTRIBUTING.md.
In order to use our mono repo, please make sure you are using Node.JS v14 and NPM v6 (Use npm i -g npm@latest-6
) or latest versions.
As we are using node-gyp in our dependencies, please make sure to install the requirements for this library according to your OS.
Execute npm install
on root
packages/pluggableWidgets
:
packages-native/test-project
.npm run build
on a desired widget folder. For ex: packages/pluggableWidgets/badge-native/
. This will build and copy the mpk to the test-project's correct widget folder.packages-native/test-project
with Mendix Studiopackages/pluggableWidgets
:
packages/pluggableWidgets/<widgetName>/tests/testProject
.npm run pretest:e2e
to initialize Mendix project.npm run build
on a desired widget folder. For ex: packages/pluggableWidgets/badge-web
. This will build and copy the mpk to each Mendix project's correct widget folder.<widgetName>/tests/testProject
with Mendix Studio.test:e2e
npm script with the following command: npm run test:e2e -- --update-test-project
.https://github.com/mendix/testProjects
and create an appropriate branch name from masterwidgets-resources
monorepo and in the package.json
of the widget insert the branch name in the test project section.packages/jsActions
:
packages/jsActions/nanoflow-actions-native/dist/mxproject
.npm run build
on nanoflow-actions-native
. This will build and copy the mpk to dist/mxproject's correct folder.Please bear in mind that when you develop JSActions, creation process is not automatically picked up by Modeler. Which means:
nanoflow-actions-native/src/.../ExampleName.ts
with desired content. Please take a look at examples in src/client
.ExampleName
and parameters
in Studio.npm run build
is run, the code piece between // BEGIN USER CODE
and // END USER CODE
will be changed. After you close and open the JSAction in Studiom changes will be picked up automatically.Note: for an automated approach (preferred), see scripts/release/README.md
. Note: this applies to NMR for latest Studio Pro (currently 9.X)
.nvmrc
) in repo root, run lerna clean -y && npm i
.package.json
and package.xml
.npm run release:native
..mpk
to the NMR project's /widgets
directory, overriding any existing .mpk
s.NativeModileResources._WidgetExport
.
mobile-resources-native
package has correct changelog and package.json
version.packages/jsActions/mobile-resources-native
and run npm run release
.javascriptsource/nativemobileresources/actions
.packages/jsActions/mobile-resources-native/dist/
to NMR project's javascriptsource/nativemobileresources/actions/
.themesource/nativemobileresources/.version
.userlib/
and resources/
..mpk
.
mobile-resources-native
package's changelog, you can create detailed release notes..mpk
; follow the release-wizard, ensuring each field is correct.
.mpk
and add release notes.To release NMR for Studio Pro 8.X, most of the steps are the same, except take note of: https://paper.dropbox.com/doc/Native-Content-Wiki--Bbd0Jfqo9nAEbmkpowVg5n3bAg-3h3CBZeVHXw8dJ1IY9xhJ#:uid=742445305119695634661853&h2=Update-NativeComponentsTestPro
.
npm
can not be found, try adding this file to the root of your user folder.# ~/.huskyrc # This loads nvm.sh and sets the correct PATH before running hook export NVM_DIR="$HOME/.nvm" [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4