nativescript-diawi-distribution
v1.0.4
Published
Plugin for nativescript builds to trigger automatic uploading of apps to diawi online service for distribution
Downloads
4
Maintainers
Readme
nativescript-diawi-distribution
Prerequisites
- nativescript installed, ability to build nativescript apps
- Diawi account (free accounts available)
Quick Start
- npm install --save-dev nativescript-diawi-distribution
- Generate a Diawi access token here https://dashboard.diawi.com/profile/api
- Copy the below config, insert the token from above step and save in project root as "diawi-upload.config.json" { "diawi_access_token": "[YOUR_TOKEN_HERE]", }
- Use nativescript build commands for ios/android and include --env.diawi flag 4a. eg: tns build android --env.diawi
- Add diawi-upload.config.json to your .gitignore - this file includes your diaiw API key you do not want to store this in a repository
Configuration
"emails" can also be specified as a field in the configuration file as a comma separated list. Addresses listed here will be notified of build completion with a link to download
Credit
Diawi upload code originally by Ronak Doshi and can be found here as part of a github action: https://github.com/rnkdsh/action-upload-diawi