Commit 4b630947 by kevin

Initial commit

parent ea8f0dd7
...@@ -84,10 +84,6 @@ ...@@ -84,10 +84,6 @@
</platform> </platform>
<plugin name="cordova-plugin-datepicker" spec="^0.9.3" /> <plugin name="cordova-plugin-datepicker" spec="^0.9.3" />
<plugin name="cordova-plugin-device" spec="^1.1.4" /> <plugin name="cordova-plugin-device" spec="^1.1.4" />
<plugin name="cordova-plugin-facebook4" spec="^1.9.1">
<variable name="APP_ID" value="223991774869277" />
<variable name="APP_NAME" value="CMC" />
</plugin>
<plugin name="cordova-plugin-geolocation" spec="^4.0.1"> <plugin name="cordova-plugin-geolocation" spec="^4.0.1">
<variable name="GEOLOCATION_USAGE_DESCRIPTION" value="To locate you" /> <variable name="GEOLOCATION_USAGE_DESCRIPTION" value="To locate you" />
</plugin> </plugin>
...@@ -102,5 +98,5 @@ ...@@ -102,5 +98,5 @@
<plugin name="cordova-plugin-x-toast" spec="^2.6.2" /> <plugin name="cordova-plugin-x-toast" spec="^2.6.2" />
<plugin name="ionic-plugin-keyboard" spec="^2.2.1" /> <plugin name="ionic-plugin-keyboard" spec="^2.2.1" />
<plugin name="mx.ferreyra.callnumber" spec="~0.0.2" /> <plugin name="mx.ferreyra.callnumber" spec="~0.0.2" />
<engine name="android" spec="7.1.0" /> <engine name="android" spec="6.3.0" />
</widget> </widget>
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -39,31 +39,30 @@ ...@@ -39,31 +39,30 @@
"angularfire2": "^5.0.0-rc.10", "angularfire2": "^5.0.0-rc.10",
"call-number": "^1.0.1", "call-number": "^1.0.1",
"cordova": "^8.0.0", "cordova": "^8.0.0",
"cordova-android": "7.1.0", "cordova-android": "6.3.0",
"cordova-plugin-datepicker": "^0.9.3", "cordova-plugin-datepicker": "^0.9.3",
"cordova-plugin-device": "^1.1.4", "cordova-plugin-device": "^1.1.7",
"cordova-plugin-facebook4": "^1.9.1",
"cordova-plugin-geolocation": "^4.0.1", "cordova-plugin-geolocation": "^4.0.1",
"cordova-plugin-googleplus": "^5.3.0", "cordova-plugin-googleplus": "^5.3.2",
"cordova-plugin-network-information": "^2.0.1", "cordova-plugin-network-information": "^2.0.1",
"cordova-plugin-request-location-accuracy": "^2.2.3", "cordova-plugin-request-location-accuracy": "^2.3.0",
"cordova-plugin-splashscreen": "^4.0.3", "cordova-plugin-splashscreen": "^4.1.0",
"cordova-plugin-statusbar": "^2.2.2", "cordova-plugin-statusbar": "^2.4.2",
"cordova-plugin-whitelist": "^1.3.1", "cordova-plugin-whitelist": "^1.3.3",
"cordova-plugin-x-toast": "^2.6.2", "cordova-plugin-x-toast": "^2.7.2",
"firebase": "^5.0.4", "firebase": "^5.0.4",
"ionic-angular": "3.7.0", "ionic-angular": "3.7.0",
"ionic-plugin-keyboard": "^2.2.1", "ionic-plugin-keyboard": "^2.2.1",
"ionic2-rating": "^1.2.2", "ionic2-rating": "^1.2.2",
"ionicons": "3.0.0", "ionicons": "3.0.0",
"mx.ferreyra.callnumber": "~0.0.2", "mx.ferreyra.callnumber": "0.0.2",
"promise-polyfill": "^8.0.0", "promise-polyfill": "^8.0.0",
"rxjs": "^5.5.11", "rxjs": "^5.5.11",
"sw-toolbox": "3.6.0", "sw-toolbox": "3.6.0",
"zone.js": "0.8.17" "zone.js": "0.8.17"
}, },
"devDependencies": { "devDependencies": {
"@ionic/app-scripts": "3.0.0", "@ionic/app-scripts": "^3.2.4",
"typescript": "2.3.4" "typescript": "2.3.4"
}, },
"description": "An Ionic project", "description": "An Ionic project",
...@@ -75,20 +74,20 @@ ...@@ -75,20 +74,20 @@
"cordova-plugin-whitelist": {}, "cordova-plugin-whitelist": {},
"ionic-plugin-keyboard": {}, "ionic-plugin-keyboard": {},
"cordova-plugin-x-toast": {}, "cordova-plugin-x-toast": {},
"cordova-plugin-facebook4": {
"APP_ID": "223991774869277",
"APP_NAME": "CMC"
},
"cordova-plugin-googleplus": { "cordova-plugin-googleplus": {
"REVERSED_CLIENT_ID": "151146703576-dr7il48km7elnm2f8cfj6ru8g0adpgi6.apps.googleusercontent.com" "REVERSED_CLIENT_ID": "151146703576-dr7il48km7elnm2f8cfj6ru8g0adpgi6.apps.googleusercontent.com",
"PLAY_SERVICES_VERSION": "11.8.0"
}, },
"cordova-plugin-geolocation": { "cordova-plugin-geolocation": {
"GEOLOCATION_USAGE_DESCRIPTION": "To locate you" "GEOLOCATION_USAGE_DESCRIPTION": "To locate you"
}, },
"cordova-plugin-datepicker": {}, "cordova-plugin-datepicker": {},
"cordova-plugin-request-location-accuracy": {}, "cordova-plugin-request-location-accuracy": {
"PLAY_SERVICES_LOCATION_VERSION": "16.+"
},
"cordova-plugin-network-information": {}, "cordova-plugin-network-information": {},
"mx.ferreyra.callnumber": {} "mx.ferreyra.callnumber": {},
"call-number": {}
}, },
"platforms": [ "platforms": [
"android" "android"
......
3f1bbdf1aefcb5ce7b60770ce907c68f
\ No newline at end of file
0dcf1df8c92c1ece4382d3357d9f8562
\ No newline at end of file
...@@ -74,6 +74,7 @@ export class HomePage { ...@@ -74,6 +74,7 @@ export class HomePage {
}) })
this.geolocation.getCurrentPosition().then((resp) => { this.geolocation.getCurrentPosition().then((resp) => {
console.log('Geolocation respose' , resp)
this.geocoder = new google.maps.Geocoder(); this.geocoder = new google.maps.Geocoder();
this.loadMap(resp.coords.latitude, resp.coords.longitude); this.loadMap(resp.coords.latitude, resp.coords.longitude);
var latlng = new google.maps.LatLng(resp.coords.latitude, resp.coords.longitude); var latlng = new google.maps.LatLng(resp.coords.latitude, resp.coords.longitude);
......
...@@ -8,8 +8,8 @@ import { AbstractControl, ValidatorFn } from '@angular/forms' ...@@ -8,8 +8,8 @@ import { AbstractControl, ValidatorFn } from '@angular/forms'
@Injectable() @Injectable()
export class Myservice { export class Myservice {
// base_url = 'http://techlabz.in/bmd_new/' base_url = 'http://techlabz.in/client/callmycab/'
base_url = 'http://192.168.140.20/CMC/' //base_url = 'http://192.168.140.20/CMC/'
webservice_url = this.base_url + 'web_service/' webservice_url = this.base_url + 'web_service/'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment