Add share button to tracking results page, bump version

This commit is contained in:
Skylar Ittner 2021-05-08 16:56:47 -06:00
parent 70e02dfeff
commit f71dfb82bc
5 changed files with 26 additions and 6 deletions

View File

@ -1,5 +1,5 @@
<?xml version='1.0' encoding='utf-8'?> <?xml version='1.0' encoding='utf-8'?>
<widget id="com.netsyms.helenaexpress.app" version="1.3.0" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0"> <widget id="com.netsyms.helenaexpress.app" version="1.3.1" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
<name short="Helena Express">Helena Express</name> <name short="Helena Express">Helena Express</name>
<description> <description>

14
package-lock.json generated
View File

@ -1,6 +1,6 @@
{ {
"name": "com.netsyms.helenaexpress.app", "name": "com.netsyms.helenaexpress.app",
"version": "1.1.3", "version": "1.3.0",
"lockfileVersion": 1, "lockfileVersion": 1,
"requires": true, "requires": true,
"dependencies": { "dependencies": {
@ -654,6 +654,12 @@
"resolved": "https://registry.npmjs.org/cordova-plugin-whitelist/-/cordova-plugin-whitelist-1.3.4.tgz", "resolved": "https://registry.npmjs.org/cordova-plugin-whitelist/-/cordova-plugin-whitelist-1.3.4.tgz",
"integrity": "sha1-MZOFRcfD5941wgqwjCw6+gboo/k=" "integrity": "sha1-MZOFRcfD5941wgqwjCw6+gboo/k="
}, },
"cordova-plugin-x-socialsharing": {
"version": "6.0.3",
"resolved": "https://registry.npmjs.org/cordova-plugin-x-socialsharing/-/cordova-plugin-x-socialsharing-6.0.3.tgz",
"integrity": "sha512-pnrE2CXsz4G0n0WoFDAasLS1VT3nIsNpddvXgfpiqX3wyOlSjO2NdF+sjYaTvs1B+f7z8EWbYCHpCrgBQiMLIg==",
"dev": true
},
"cordova-serve": { "cordova-serve": {
"version": "3.0.0", "version": "3.0.0",
"resolved": "https://registry.npmjs.org/cordova-serve/-/cordova-serve-3.0.0.tgz", "resolved": "https://registry.npmjs.org/cordova-serve/-/cordova-serve-3.0.0.tgz",
@ -748,6 +754,12 @@
"objectorarray": "^1.0.4" "objectorarray": "^1.0.4"
} }
}, },
"es6-promise-plugin": {
"version": "4.2.2",
"resolved": "https://registry.npmjs.org/es6-promise-plugin/-/es6-promise-plugin-4.2.2.tgz",
"integrity": "sha512-uoA4aVplXI9oqUYJFBAVRwAqIN9/n9JgrTAUGX3qPbnSZVE5yY1+6/MsoN5f4xsaPO62WjPHOdtts6okMN6tNA==",
"dev": true
},
"escape-html": { "escape-html": {
"version": "1.0.3", "version": "1.0.3",
"resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz",

View File

@ -1,7 +1,7 @@
{ {
"name": "com.netsyms.helenaexpress.app", "name": "com.netsyms.helenaexpress.app",
"displayName": "Helena Express", "displayName": "Helena Express",
"version": "1.3.0", "version": "1.3.1",
"description": "App to schedule and track package pickup and courier services", "description": "App to schedule and track package pickup and courier services",
"product_string": "Helena Express", "product_string": "Helena Express",
"main": "www/index.html", "main": "www/index.html",
@ -33,7 +33,8 @@
"cordova-plugin-splashscreen": {}, "cordova-plugin-splashscreen": {},
"cordova-plugin-camera": { "cordova-plugin-camera": {
"ANDROID_SUPPORT_V4_VERSION": "27.+" "ANDROID_SUPPORT_V4_VERSION": "27.+"
} },
"cordova-plugin-x-socialsharing": {}
}, },
"platforms": [ "platforms": [
"browser", "browser",
@ -57,6 +58,8 @@
"cordova-plugin-androidx-adapter": "^1.1.3", "cordova-plugin-androidx-adapter": "^1.1.3",
"cordova-plugin-camera": "^5.0.1", "cordova-plugin-camera": "^5.0.1",
"cordova-plugin-nativestorage": "^2.3.2", "cordova-plugin-nativestorage": "^2.3.2",
"cordova-plugin-splashscreen": "^6.0.0" "cordova-plugin-splashscreen": "^6.0.0",
"cordova-plugin-x-socialsharing": "^6.0.3",
"es6-promise-plugin": "^4.2.2"
} }
} }

View File

@ -1,6 +1,6 @@
{ {
"name": "HelenaExpressApp", "name": "HelenaExpressApp",
"version": "1.3.0", "version": "1.3.1",
"main": "index.html", "main": "index.html",
"license": "MPL-2.0", "license": "MPL-2.0",
"dependencies": { "dependencies": {

View File

@ -14,6 +14,11 @@
</a> </a>
</div> </div>
<div class="title">Track</div> <div class="title">Track</div>
<div class="right">
<a class="link icon-only" onclick="window.plugins.socialsharing.share(null, null, null, 'https://helena.express/track#{{code}}')">
<i class="fal fa-share-alt"></i>
</a>
</div>
</div> </div>
</div> </div>